|
|
@ -81,6 +81,8 @@ |
|
|
|
@tableFormButton="tableFormButton" |
|
|
|
:detailValidate="detailValidate" |
|
|
|
:detailButtonIsShowAdd="false" |
|
|
|
:detailButtonIsShowEdit="false" |
|
|
|
:detailButtonIsShowDelete="false" |
|
|
|
/> |
|
|
|
|
|
|
|
<!-- BOM弹窗列表 --> |
|
|
@ -689,6 +691,11 @@ const openForm =async (type: string, row?: number) => { |
|
|
|
if (item.field == 'scrappingReason'){ |
|
|
|
item.value = '' |
|
|
|
} |
|
|
|
if(item.field == 'productionLineCode'){ |
|
|
|
item.componentProps.disabled = false |
|
|
|
item.componentProps.enterSearch = true |
|
|
|
item.componentProps.isSearchList = true |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
if(type == 'update'){ |
|
|
@ -697,6 +704,15 @@ const openForm =async (type: string, row?: number) => { |
|
|
|
item.componentProps.disabled = true |
|
|
|
item.componentProps.isSearchList = false |
|
|
|
} |
|
|
|
if(item.field == 'productionLineCode'){ |
|
|
|
item.componentProps.enterSearch = true |
|
|
|
item.componentProps.isSearchList = true |
|
|
|
} |
|
|
|
if(item.field == 'productionLineCode'){ |
|
|
|
item.componentProps.disabled = true |
|
|
|
item.componentProps.enterSearch = false |
|
|
|
item.componentProps.isSearchList = false |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
formRef.value.open(type, row) |
|
|
|