From 45c7091641d77a918b468980a93be15897ab7620 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Thu, 9 Nov 2023 17:13:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E6=94=B6=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasereceiptRequestMain/index.vue | 4 ++- .../purchasereceiptRequestMain.data.ts | 27 ++++++++++++++----- 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue index 5bd2b4680..1bdbee7e7 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue @@ -106,8 +106,10 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => //row[formField] = val[0][searchField] if(formField == 'itemCode') { row['itemCode'] = val[0]['code'] - } else { + } else if(formField == 'poNumber') { row['poNumber'] = val[0]['number'] + } else { + // row['poNumber'] = val[0]['number'] row['poLine'] = val[0]['lineNumber'] } } else { diff --git a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts index 366dd7c27..af3eec0fd 100644 --- a/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts @@ -515,6 +515,11 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive