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