Browse Source

SBBJ-1041库区管理

master
zhaoyiran 3 weeks ago
parent
commit
06cda389f7
  1. 13
      src/views/eam/basic/locationArea/index.vue

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

@ -127,6 +127,19 @@
const basicFormRef = ref()
const openForm = (type : string, row ?: any) => {
console.log('33333', row )
if(type=='create'){
LocationArea.allSchemas.formSchema.forEach(item =>{
if(item.field == "number"){
item.componentProps.disabled = false
}
})
} else if(type=='update'){
LocationArea.allSchemas.formSchema.forEach(item =>{
if(item.field == "number"){
item.componentProps.disabled = true
}
})
}
basicFormRef.value.open(type, row)
}

Loading…
Cancel
Save