From e879df8d3b82b8d166af8904220d81201583c533 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Tue, 23 Jan 2024 16:13:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchasereturn/purchasereturnRequestMain/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index 56c5b0fba..f0e6a6c53 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -405,7 +405,8 @@ const openForm = async (type: string, row?: number) => { if(type == 'create'){ PurchasereturnRequestMain.allSchemas.formSchema.forEach((item) => { if (item.field == 'supplierCode') { - item.componentProps.disabled = false + item.componentProps.disabled = true + item.componentProps.isSearchList = true } if(item.field == 'purchaseReceiptRecordNumber'){ item.componentProps.disabled = true @@ -416,7 +417,8 @@ const openForm = async (type: string, row?: number) => { if(type == 'update'){ PurchasereturnRequestMain.allSchemas.formSchema.forEach((item) => { if (item.field == 'supplierCode') { - item.componentProps.disabled = false + item.componentProps.disabled = true + item.componentProps.isSearchList = false } if(item.field == 'purchaseReceiptRecordNumber'){ item.componentProps.disabled = true