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