diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue index 7b8c16871..e84101374 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue +++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue @@ -81,6 +81,8 @@ @tableFormButton="tableFormButton" :detailValidate="detailValidate" :detailButtonIsShowAdd="false" + :detailButtonIsShowEdit="false" + :detailButtonIsShowDelete="false" /> @@ -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)