From 4a3767ebef6ea37acaa755b555000f9c1860398a Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Mon, 4 Nov 2024 13:39:35 +0800 Subject: [PATCH] =?UTF-8?q?YT-659=E9=80=89=E6=8B=A9=E4=BB=93=E5=BA=93?= =?UTF-8?q?=EF=BC=8C=E5=BA=94=E4=B8=8D=E7=AD=9B=E9=80=89=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=E7=9A=84=E6=9C=88=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplieDeliveryStrategy/AddForm.vue | 54 +++++++++---------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue index 6977ecc14..db660328b 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/supplieDeliveryStrategy/AddForm.vue @@ -509,13 +509,13 @@ const searchDockCode = () => { // return; // } let filters = [] - if (warehouseCodeObj.value?.Value) { - filters = [{ - action: warehouseCodeObj.value.ScreenOperator, - column: 'warehouseCode', - value: warehouseCodeObj.value.Value - }] - } + // if (warehouseCodeObj.value?.Value) { + // filters = [{ + // action: warehouseCodeObj.value.ScreenOperator, + // column: 'warehouseCode', + // value: warehouseCodeObj.value.Value + // }] + // } searchTableRef.value.open( '请选择月台', @@ -538,7 +538,7 @@ const searchTableSuccess = (formField, searchField, val, type, row) => { warehouseCodeObj.value = formData.value.condition.find(item => item['ParamCode'] == 'WarehouseCode') if(warehouseCodeObj.value){ warehouseCodeObj.value.Value = val.map(item => (item['code'])).join(',') - formData.value.configuration['DockCode']='' + // formData.value.configuration['DockCode']='' } }else if (formField=='Area') { let Area = formData.value.condition.find(item => item['ParamCode'] == 'Area') @@ -574,23 +574,23 @@ const blurWarehouseByCodes = async ()=>{ ].join(',') message.alert('代码' + str + '没有找到对应数据') WarehouseCode.Value = '' - formData.value.configuration.DockCode='' - formData.value.configuration.Receiver='' - formData.value.configuration.PhoneNumber='' + // formData.value.configuration.DockCode='' + // formData.value.configuration.Receiver='' + // formData.value.configuration.PhoneNumber='' return } } else { WarehouseCode.Value = '' - formData.value.configuration.DockCode='' - formData.value.configuration.Receiver='' - formData.value.configuration.PhoneNumber='' + // formData.value.configuration.DockCode='' + // formData.value.configuration.Receiver='' + // formData.value.configuration.PhoneNumber='' message.alert('暂无数据') } }else{ WarehouseCode.Value = '' - formData.value.configuration.DockCode='' - formData.value.configuration.Receiver='' - formData.value.configuration.PhoneNumber='' + // formData.value.configuration.DockCode='' + // formData.value.configuration.Receiver='' + // formData.value.configuration.PhoneNumber='' } } // 供应商失去焦点 @@ -625,13 +625,13 @@ const blurSupplierCode = async ()=>{ const blurDockCode = async () => { if (formData.value.configuration.DockCode) { let filters = [] - if (warehouseCodeObj.value?.Value) { - filters.push({ - action: warehouseCodeObj.value.ScreenOperator, - column: 'warehouseCode', - value: warehouseCodeObj.value.Value - }) - } + // if (warehouseCodeObj.value?.Value) { + // filters.push({ + // action: warehouseCodeObj.value.ScreenOperator, + // column: 'warehouseCode', + // value: warehouseCodeObj.value.Value + // }) + // } if (formData.value.configuration.DockCode) { filters.push({ action: '==', @@ -661,9 +661,9 @@ const changeWarehouseArea = (e) => { formData.value.condition[0].Value = '' WarehouseCodeOrArea.value = e if (e == 'WarehouseCode') { - formData.value.configuration.DockCode='' - formData.value.configuration.Receiver='' - formData.value.configuration.PhoneNumber='' + // formData.value.configuration.DockCode='' + // formData.value.configuration.Receiver='' + // formData.value.configuration.PhoneNumber='' } else if (e == 'Area') { // getFormSupplierList() }