Ver Fonte

到达单-订单数量赋值

jingbb há 5 meses atrás
pai
commit
6c7ac2cbe0

+ 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