diff --git a/src/views/wms/basicDataManage/itemManage/itemarea/index.vue b/src/views/wms/basicDataManage/itemManage/itemarea/index.vue index f15b4ed74..b4bd4fd9d 100644 --- a/src/views/wms/basicDataManage/itemManage/itemarea/index.vue +++ b/src/views/wms/basicDataManage/itemManage/itemarea/index.vue @@ -130,6 +130,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => }else{ newRow[formField] = item[searchField] } + newRow['id'] = item['id'] tableData.value.push(newRow) }) diff --git a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue index df44730fd..56519fa52 100644 --- a/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue +++ b/src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue @@ -154,6 +154,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) = if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode'])) return const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item})) newRow['uom'] = item['customerUom'] + newRow['id'] = item['id'] tableData.value.push(newRow) }) }else{ diff --git a/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue b/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue index 83b901650..5602c5b13 100644 --- a/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue +++ b/src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue @@ -161,6 +161,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode'])) return const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item})) newRow['uom'] = item['customerUom'] + newRow['id'] = item['id'] tableData.value.push(newRow) }) } diff --git a/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue b/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue index 77554c490..4a5b06a11 100644 --- a/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue +++ b/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue @@ -133,6 +133,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item})) newRow['uom'] = item['uom'] newRow['itemCode'] = item['code'] + newRow['id'] = item['id'] tableData.value.push(newRow) }) } diff --git a/src/views/wms/productionManage/productionplan/productionMain/index.vue b/src/views/wms/productionManage/productionplan/productionMain/index.vue index a093ced2a..25e53a661 100644 --- a/src/views/wms/productionManage/productionplan/productionMain/index.vue +++ b/src/views/wms/productionManage/productionplan/productionMain/index.vue @@ -122,6 +122,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => val.forEach(item=>{ if(tableData.value.find(item1=>item1['id'] == item['id'])) return const newRow = JSON.parse(JSON.stringify({...tableFormKeys,...item})) + newRow['id'] = item['id'] tableData.value.push(newRow) }) } else { diff --git a/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue b/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue index 43d105679..00cc330b8 100644 --- a/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue +++ b/src/views/wms/productionManage/productputaway/productputawayRequestMain/index.vue @@ -122,6 +122,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => newRow['qty'] = item['qty'] newRow['inventoryStatus'] = item['inventoryStatus'] newRow['fromLocationCode'] = item['locationCode'] + newRow['id'] = item['id'] tableData.value.push(newRow) }) } else { diff --git a/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue b/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue index 01f9d762d..a6fe9dc21 100644 --- a/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue +++ b/src/views/wms/productionManage/productredress/productredressRequestMain/index.vue @@ -142,6 +142,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => newRow['packUnit'] = item['packUnit'] newRow['inventoryStatus'] = item['inventoryStatus'] newRow['toLocationCode'] = item['locationCode'] + newRow['id'] = item['id'] tableData.value.push(newRow) }) } diff --git a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue index e880e074d..096077b6b 100644 --- a/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue @@ -176,6 +176,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => newRow['uom'] = item['uom'] newRow['poNumber'] = item['number'] newRow['poLineType'] = item['poLineType'] + newRow['id'] = item['id'] let supplierCode = formRef.formModel.supplierCode; let queryData = { supplierCode:supplierCode, diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue index 4bbc39b34..ca9434450 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue @@ -171,6 +171,7 @@ console.log('PurchaseMain.allSchemas.searchSchema',PurchaseMain.allSchemas.searc } newRow['lineNumber'] = lineNumber newRow['uom'] = item['supplierUom'] + newRow['id'] = item['id'] tableData.value.push(newRow) }) // const itemCodes = val.map(valItem=>valItem['itemCode']) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue index c061fa810..51b649f5c 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue @@ -121,6 +121,7 @@ newRow['itemCode'] = item['code'] newRow['poNumber'] = item['number'] newRow['poLine'] = item['lineNumber'] + newRow['id'] = item['id'] if (formField == 'poLine') { //添加费用明细--点击确定 newRow['itemCode'] = item['itemCode'] diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue index 5e6427097..deb5889d4 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverBasicForm.vue @@ -190,6 +190,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => newRow['poLine'] = item['poLine'] newRow['orderQty'] = item['orderQty'] newRow['uom'] = item['uom'] + newRow['id'] = item['id'] if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode']&&item1['poLine'] == item['poLine']&&item1['poNumber'] == item['poNumber'])) return itemCodes.push(item['itemCode']) diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index 7d368e710..3eb368a79 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -269,6 +269,7 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea newRow['itemCode'] = item['itemCode'] newRow['deliveryDate'] = item['prhRcpDate'] newRow['arrivalQty'] = item['prhRcvd'] + newRow['id'] = item['id'] } tableData.value.push(newRow) })