Browse Source

修改字段

master
邓宏 2 years ago
parent
commit
5cd9e8c869
  1. 4
      pages/massif/info.vue

4
pages/massif/info.vue

@ -31,7 +31,7 @@ import request from '@/common/request'
data(){ data(){
return{ return{
fields:{ fields:{
plantBaseInfoName:{label:"基地名称",disabled:true}, plantBaseName:{label:"基地名称",disabled:true},
plotName:{label:"地块名称"}, plotName:{label:"地块名称"},
plotNumber:{label:"地块编号",filter:v=>v.replace(/[\u2E80-\u9FFF]/g,'')}, plotNumber:{label:"地块编号",filter:v=>v.replace(/[\u2E80-\u9FFF]/g,'')},
drawArea:{label:"勾画面积(亩)",disabled:true,type:'digit'}, drawArea:{label:"勾画面积(亩)",disabled:true,type:'digit'},
@ -78,7 +78,7 @@ import request from '@/common/request'
this.getDetail(options.id) this.getDetail(options.id)
}else{ }else{
this.formData.plantBaseInfoId=this.$store.state.baseInfo.id this.formData.plantBaseInfoId=this.$store.state.baseInfo.id
this.formData.plantBaseInfoName=this.$store.state.baseInfo.name this.formData.plantBaseName=this.$store.state.baseInfo.name
} }
this.eventChannel=this.getOpenerEventChannel() this.eventChannel=this.getOpenerEventChannel()
}, },

Loading…
Cancel
Save