From 5435b69f4a37164c21ec31107441c45c83acaff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B7=BB=E7=A0=96-JAVA=5CAdministrator?= <591141169@qq.com> Date: Wed, 31 Jul 2024 15:13:22 +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 --- .../customerreturn/customerreturnRequestMain/index.vue | 3 +++ .../purchasereturn/purchasereturnRequestMain/index.vue | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue index 8d19bc9ea..6a8e0b2da 100644 --- a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue +++ b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue @@ -200,6 +200,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => } } else { const setV = {} + if (formField == 'customerCode') { + setV['q1Number'] = '' + } if(formField == 'deliverRecordNumber') { setV['deliverRecordNumber'] = val[0]['number'] setV['deliverPlanNumber'] = val[0]['deliverPlanNumber'] diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index 1b4de0f24..d7a4c93c3 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -308,6 +308,12 @@ const searchTableSuccess = async (formField, searchField, val, formRef, type, ro } } else { const setV = {} + if (formField == 'supplierCode') { + setV['q2Number'] = '' + } + if (formField == 'q2Number') { + setV['q2Number'] = val[0]['number'] + } if (formField == 'purchaseReceiptRecordNumber') { // isShowButton.value = false setV[formField] = val[0][searchField]