Browse Source

HL-5785制品子件报废字段调整

hella_online_20240906
yufei_wang 2 months ago
parent
commit
09e88801e8
  1. 16
      src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue

16
src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue

@ -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)

Loading…
Cancel
Save