瀏覽代碼

到达单-订单数量赋值

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