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