From 4fb4c5abdc8dabda78eb75988a870cd9278755bd Mon Sep 17 00:00:00 2001 From: yejiaxing <591141169@qq.com> Date: Thu, 14 Dec 2023 15:19:13 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierdeliverRequestMain/index.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index 4b1114023..0c850f78d 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -109,9 +109,14 @@ if(formField=='ppNumber'){ // 获取子表数据 getBomDisassemble - PurchasePlanDetailApi.getPurchasePlanDetailList({ number: val[0]['number']}).then(res => { if (res) tableData.value = res; tableData.value.forEach(item=>{ item.batch = item.toBatch - item.qty = 1 - }) }).catch(err => { console.log(err) }) + PurchasePlanDetailApi.getPurchasePlanDetailList({ + number: val[0]['number']}).then(res => { + if (res) tableData.value = res; + tableData.value.forEach(item=>{ + item.batch = item.toBatch + item.qty = 1 + }) + }).catch(err => { console.log(err) }) } formRef.setValues(setV) }