Browse Source

HL-5175 隔离退料申请编辑页面截止时间保存不上,且没意义;修改生产线代码改动保存不成功

hella_online_20240821
wangyufei 3 months ago
parent
commit
ddad6d78ec
  1. 10
      src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue

10
src/views/wms/issueManage/productionreturn/productionreturnRequestMainNo/index.vue

@ -505,6 +505,11 @@ const openForm =async (type: string, row?: number) => {
if (type == 'update') { if (type == 'update') {
// tableform // tableform
ProductionreturnRequestMain.allSchemas.formSchema.map(itemColumns => { ProductionreturnRequestMain.allSchemas.formSchema.map(itemColumns => {
//线
if(itemColumns.field == 'productionLineCode') {
itemColumns.componentProps.isSearchList = false
itemColumns.componentProps.disabled = true
}
if(itemColumns.field == 'workshopCode') { if(itemColumns.field == 'workshopCode') {
itemColumns.componentProps.isSearchList = false itemColumns.componentProps.isSearchList = false
itemColumns.componentProps.disabled = true itemColumns.componentProps.disabled = true
@ -513,6 +518,11 @@ const openForm =async (type: string, row?: number) => {
} else { } else {
// tableform // tableform
ProductionreturnRequestMain.allSchemas.formSchema.map(itemColumns => { ProductionreturnRequestMain.allSchemas.formSchema.map(itemColumns => {
//线
if(itemColumns.field == 'productionLineCode') {
itemColumns.componentProps.isSearchList = true
itemColumns.componentProps.disabled = false
}
if(itemColumns.field == 'workshopCode') { if(itemColumns.field == 'workshopCode') {
itemColumns.componentProps.isSearchList = true itemColumns.componentProps.isSearchList = true
itemColumns.componentProps.disabled = false itemColumns.componentProps.disabled = false

Loading…
Cancel
Save