From 5d8873b6c1acd260445ecdd2665adc5ef70466a7 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Tue, 10 Dec 2024 14:21:47 +0800 Subject: [PATCH] =?UTF-8?q?FWHL-106WMS=20=E5=BA=93=E5=AD=98=E8=BD=AC?= =?UTF-8?q?=E7=A7=BB=E8=AE=B0=E5=BD=95=20=E6=96=B0=E5=A2=9E=E6=97=B6=20?= =?UTF-8?q?=E6=B8=85=E7=A9=BA=E4=BB=8E=E5=BA=93=E4=BD=8D=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E6=98=8E=E7=BB=86=E4=B9=9F=E5=BA=94=E8=AF=A5=E6=B8=85=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventorymoveRecordMainNew/index.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue index ccc5db4e6..38e2281b2 100644 --- a/src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue +++ b/src/views/wms/moveManage/inventorymove/inventorymoveRecordMainNew/index.vue @@ -61,7 +61,8 @@ @tableSelectionDelete="tableSelectionDelete" @searchTableSuccess="searchTableSuccess" @submitForm="submitForm" - /> + @clearSearchInput="clearSearchInput" + /> @@ -373,6 +374,13 @@ const submitForm = async (formType, submitData) => { formRef.value.formLoading = false } } +const clearSearchInput = (field)=>{ + console.log('field',field) + if('fromLocationCode' == field){ + //从库位代码 + tableData.value = [] + } +} // 查询页面返回 const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => { console.log('searchTableSuccess',formField, searchField, val, formRef, type, row) @@ -415,6 +423,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => if(formField=='fromLocationCode'){ //从库位代码 setV['fromWarehouseCode'] = val[0]['warehouseCode'] + tableData.value = [] + }else if(formField=='toLocationCode'){ //到库位代码 setV['toWarehouseCode'] = val[0]['warehouseCode']