diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue index 60bdc7428..3944df0be 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/index.vue @@ -633,7 +633,7 @@ const openForm = async (type: string, row?: number) => { if (type == 'update') { // 修改 tableform 属性 ProductreceiptRequestMain.allSchemas.formSchema.map((itemColumns) => { - if (itemColumns.field == 'workshopCode') { + if (itemColumns.field == 'workshopCode' || itemColumns.field == 'productionLineCode') { itemColumns.componentProps.isSearchList = false itemColumns.componentProps.disabled = true } @@ -641,7 +641,7 @@ const openForm = async (type: string, row?: number) => { } else { // 修改 tableform 属性 ProductreceiptRequestMain.allSchemas.formSchema.map((itemColumns) => { - if (itemColumns.field == 'workshopCode') { + if (itemColumns.field == 'workshopCode' || itemColumns.field == 'productionLineCode') { itemColumns.componentProps.isSearchList = true itemColumns.componentProps.disabled = false }