From 4aee31a3b9ea14d1a9b483b2472c1afda7e01b0c Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Thu, 30 May 2024 09:00:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E7=B3=8A=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../strategySetting/strategy/upShelfStrategy/AddForm.vue | 2 +- .../unplannedissueRequestMain.data.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue b/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue index 48fa418c5..25caa4ea5 100644 --- a/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue +++ b/src/views/wms/basicDataManage/strategySetting/strategy/upShelfStrategy/AddForm.vue @@ -686,7 +686,7 @@ const getFormCustomerList = async () => { const filterMethod = (query: string) => { if (query) { options.supplierList = options.originSupplierList.filter((item) => { - if(item.name==''){ + if(!item.name||item.name==''){ return item.code.includes(query) }else{ return item.name.includes(query) diff --git a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts index 73bda1c1a..9c8261214 100644 --- a/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts +++ b/src/views/wms/inventoryjobManage/unplannedissue/unplannedissueRequestMain/unplannedissueRequestMain.data.ts @@ -457,7 +457,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive }, tableForm:{ isInpuFocusShow: true, // 开启查询弹窗 - searchListPlaceholder: '请选择包装号', + searchListPlaceholder: '请输入包装号', searchField: 'packingNumber', searchTitle: '库存余额信息', searchAllSchemas: Balance.allSchemas, @@ -467,7 +467,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive // labelMessage: '信息提示说明!!!', componentProps: { isSearchList: true, // 开启查询弹窗 - searchListPlaceholder: '请选择包装号', + searchListPlaceholder: '请输入包装号', searchField: 'packingNumber', searchTitle: '库存余额信息', searchAllSchemas: Balance.allSchemas, @@ -793,7 +793,7 @@ export const UnplannedissueRequestDetail = useCrudSchemas(reactive //表单校验 export const UnplannedissueRequestDetailRules = reactive({ packingNumber: [ - { required: true, message: '请选择包装号', trigger: 'change' }, + { required: true, message: '请输入包装号', trigger: 'change' }, { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], batch: [