소스 검색

到达单-订单数量赋值

jingbb 5 달 전
부모
커밋
6c7ac2cbe0
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/views/purchase/arrivedGoods/components/ArriveGoodsFormForm.vue

+ 2 - 1
src/views/purchase/arrivedGoods/components/ArriveGoodsFormForm.vue

@@ -391,9 +391,10 @@
         }        
       }
       function addAddiveGoods(data){
-        debugger
         data.map(item=>{
           item.model = item.childModel
+          item.sourceId = item.childId
+          item.orderQuantity=item.quantity
         })
         var arr = data.concat(arriveDetailsFormProductTable.dataSource)
         arriveDetailsFormProductTable.dataSource=arr