From a4ae440dfc1d6bbaffeb6429fc90a22ded1c0684 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Thu, 11 Jul 2024 09:47:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E4=B8=8D=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventoryinitial/inventoryinitRequestMain/index.vue | 4 +++- .../productreceipt/productreceiptRequestMain/index.vue | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue index 391bc45ec..79694b38a 100644 --- a/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue +++ b/src/views/wms/inventoryjobManage/inventoryinitial/inventoryinitRequestMain/index.vue @@ -136,10 +136,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => // 入库存包装规格 row[formField] = val[0][searchField] row['balancePackUnit'] = val[0]['packUnit'] + }else{ + row[formField] = val[0][searchField] } } else { const setV = {} - + setV[formField] = val[0][searchField] //setV['supplierCode'] = val[0]['supplierCode'] formRef.setValues(setV) diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue index c3a97d551..46c2e7a7b 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue @@ -235,6 +235,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => newRow[formField] = item[searchField] tableData.value.push(newRow) }) + }else{ + row[formField] = val[0][searchField] } } else {