Browse Source

YT-1147生产退料申请编辑中不应该可以修改生产线和工位字段,目前可以修改

intex
zhang_li 6 days ago
parent
commit
7b61668c29
  1. 16
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

16
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

@ -654,6 +654,14 @@ const openForm =async (type: string, row?: number) => {
itemColumns.componentProps.isSearchList = false
itemColumns.componentProps.disabled = true
}
if (itemColumns.field == 'productionLineCode') {
itemColumns.componentProps.isSearchList = false
itemColumns.componentProps.disabled = true
}
if (itemColumns.field == 'workStationCode') {
itemColumns.componentProps.isSearchList = false
itemColumns.componentProps.disabled = true
}
})
} else {
// tableform
@ -661,6 +669,14 @@ const openForm =async (type: string, row?: number) => {
if(itemColumns.field == 'workshopCode') {
itemColumns.componentProps.isSearchList = true
itemColumns.componentProps.disabled = false
}
if (itemColumns.field == 'productionLineCode') {
itemColumns.componentProps.isSearchList = true
itemColumns.componentProps.disabled = false
}
if (itemColumns.field == 'workStationCode') {
itemColumns.componentProps.isSearchList = true
itemColumns.componentProps.disabled = false
}
})
}

Loading…
Cancel
Save