|
|
@ -360,7 +360,12 @@ const openForm =async (type: string, row?: number) => { |
|
|
|
itemColumns.componentProps.isSearchList = false |
|
|
|
itemColumns.componentProps.disabled = true |
|
|
|
} |
|
|
|
if(itemColumns.field == 'workStationCode') { |
|
|
|
itemColumns.componentProps.isSearchList = false |
|
|
|
itemColumns.componentProps.disabled = true |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
} else { |
|
|
|
// 修改 tableform 属性 |
|
|
|
ProductredressRequestMain.allSchemas.formSchema.map(itemColumns => { |
|
|
@ -368,6 +373,10 @@ const openForm =async (type: string, row?: number) => { |
|
|
|
itemColumns.componentProps.isSearchList = true |
|
|
|
itemColumns.componentProps.disabled = false |
|
|
|
} |
|
|
|
if(itemColumns.field == 'workStationCode') { |
|
|
|
itemColumns.componentProps.isSearchList = true |
|
|
|
itemColumns.componentProps.disabled = false |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
formRef.value.open(type, row) |
|
|
|