From f6539620d1e4cee37e449fae126c6693923e7d70 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Mon, 9 Dec 2024 14:55:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=B4=E4=BF=AE=E5=A4=87=E4=BB=B6=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=BA=93=E4=BD=8D=E7=89=A9=E6=96=99=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=20=E7=BC=96=E8=BE=91=E7=9A=84=E6=97=B6=E5=80=99=E7=A6=81?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../strategySetting/spareitemLocation/index.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/wms/basicDataManage/strategySetting/spareitemLocation/index.vue b/src/views/wms/basicDataManage/strategySetting/spareitemLocation/index.vue index e7ac96dcd..1b2074885 100644 --- a/src/views/wms/basicDataManage/strategySetting/spareitemLocation/index.vue +++ b/src/views/wms/basicDataManage/strategySetting/spareitemLocation/index.vue @@ -174,6 +174,13 @@ const buttonTableClick = async (val, row) => { /** 添加/修改操作 */ const basicFormRef = ref() const openForm = (type: string, row?: any) => { + SpareitemLocation.allSchemas.formSchema.forEach(item=>{ + if(item.field == 'itemCode'){ + item.componentProps.enterSearch = type=='create' + item.componentProps.isSearchList = type=='create' + item.componentProps.disabled = type!='create' + } + }) basicFormRef.value.open(type, row) }