|
@ -654,6 +654,14 @@ const openForm =async (type: string, row?: number) => { |
|
|
itemColumns.componentProps.isSearchList = false |
|
|
itemColumns.componentProps.isSearchList = false |
|
|
itemColumns.componentProps.disabled = true |
|
|
itemColumns.componentProps.disabled = true |
|
|
} |
|
|
} |
|
|
|
|
|
if (itemColumns.field == 'productionLineCode') { |
|
|
|
|
|
itemColumns.componentProps.isSearchList = false |
|
|
|
|
|
itemColumns.componentProps.disabled = true |
|
|
|
|
|
} |
|
|
|
|
|
if (itemColumns.field == 'workStationCode') { |
|
|
|
|
|
itemColumns.componentProps.isSearchList = false |
|
|
|
|
|
itemColumns.componentProps.disabled = true |
|
|
|
|
|
} |
|
|
}) |
|
|
}) |
|
|
} else { |
|
|
} else { |
|
|
// 修改 tableform 属性 |
|
|
// 修改 tableform 属性 |
|
@ -661,6 +669,14 @@ const openForm =async (type: string, row?: number) => { |
|
|
if(itemColumns.field == 'workshopCode') { |
|
|
if(itemColumns.field == 'workshopCode') { |
|
|
itemColumns.componentProps.isSearchList = true |
|
|
itemColumns.componentProps.isSearchList = true |
|
|
itemColumns.componentProps.disabled = false |
|
|
itemColumns.componentProps.disabled = false |
|
|
|
|
|
} |
|
|
|
|
|
if (itemColumns.field == 'productionLineCode') { |
|
|
|
|
|
itemColumns.componentProps.isSearchList = true |
|
|
|
|
|
itemColumns.componentProps.disabled = false |
|
|
|
|
|
} |
|
|
|
|
|
if (itemColumns.field == 'workStationCode') { |
|
|
|
|
|
itemColumns.componentProps.isSearchList = true |
|
|
|
|
|
itemColumns.componentProps.disabled = false |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|