From 0c53180fc870dbf85820664b84ac0662d356f58e Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Sat, 12 Oct 2024 14:56:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasereturnRequestSpareMain/index.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue index cbf5aa539..45b1e7f44 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue @@ -368,6 +368,9 @@ const searchTableSuccess1 = (formField, searchField, val, type, row) => { setV['asnNumber'] = '' formRef.value.formRef.setValues(setV) } + if(formRef.value.formRef.formModel['locationCode']){ + getTableData() + } } const clearSearchInput = (formField) => { @@ -398,11 +401,12 @@ const searchTableSuccess = async (formField, searchField, val, formRef, type, ro if(formField=='supplierCode'){ setV['supplierName'] = val[0]['shortName'] tableData.value = [] + } formRef.setValues(setV) - if(formField == 'locationCode' ){ - // 退货库位 获取明细列表 - getTableData() + if(formField == 'locationCode'&&formRef.formModel['supplierCode']){ + // 退货库位 获取明细列表 + getTableData() } }