Browse Source

YT-785制品回收申请编辑问题:1.工位代码不应该可以编辑 2.备注值保存不住

intex
zhang_li 1 week ago
parent
commit
52ebe60fb2
  1. 9
      src/views/wms/productionManage/productredress/productredressRequestMain/index.vue

9
src/views/wms/productionManage/productredress/productredressRequestMain/index.vue

@ -360,7 +360,12 @@ const openForm =async (type: string, row?: number) => {
itemColumns.componentProps.isSearchList = false
itemColumns.componentProps.disabled = true
}
if(itemColumns.field == 'workStationCode') {
itemColumns.componentProps.isSearchList = false
itemColumns.componentProps.disabled = true
}
})
} else {
// tableform
ProductredressRequestMain.allSchemas.formSchema.map(itemColumns => {
@ -368,6 +373,10 @@ const openForm =async (type: string, row?: number) => {
itemColumns.componentProps.isSearchList = true
itemColumns.componentProps.disabled = false
}
if(itemColumns.field == 'workStationCode') {
itemColumns.componentProps.isSearchList = true
itemColumns.componentProps.disabled = false
}
})
}
formRef.value.open(type, row)

Loading…
Cancel
Save