diff --git a/src/views/wms/basicDataManage/factoryModeling/workstation/index.vue b/src/views/wms/basicDataManage/factoryModeling/workstation/index.vue index 0be18cf35..2059b78a5 100644 --- a/src/views/wms/basicDataManage/factoryModeling/workstation/index.vue +++ b/src/views/wms/basicDataManage/factoryModeling/workstation/index.vue @@ -170,13 +170,13 @@ const openForm = (type: string, row?: any) => { item.componentProps.disabled = false } if (item.field == 'workshopCode') { - item.componentProps.disabled = false - item.componentProps.isSearchList = true - } - if (item.field == 'productionLineCode') { - item.componentProps.disabled = true - item.componentProps.isSearchList = false - } + item.componentProps.disabled = false + item.componentProps.isSearchList = true + } + if (item.field == 'productionLineCode') { + item.componentProps.disabled = false + item.componentProps.isSearchList = true + } }) } basicFormRef.value.open(type, row)