Browse Source

SBBJ-1043库位管理

master
zhaoyiran 3 weeks ago
parent
commit
dbdf32945e
  1. 13
      src/views/eam/basic/location/index.vue

13
src/views/eam/basic/location/index.vue

@ -162,6 +162,19 @@
/** 添加/修改操作 */
const basicFormRef = ref()
const openForm = (type : string, row ?: any) => {
if(type=='create'){
Location.allSchemas.formSchema.forEach(item =>{
if(item.field == "number"){
item.componentProps.disabled = false
}
})
} else if(type=='update'){
Location.allSchemas.formSchema.forEach(item =>{
if(item.field == "number"){
item.componentProps.disabled = true
}
})
}
basicFormRef.value.open(type, row)
}

Loading…
Cancel
Save