diff --git a/src/views/contracted/village/contractor/contractorLandDetail.vue b/src/views/contracted/village/contractor/contractorLandDetail.vue index 88fb0a40..a81402cb 100644 --- a/src/views/contracted/village/contractor/contractorLandDetail.vue +++ b/src/views/contracted/village/contractor/contractorLandDetail.vue @@ -30,6 +30,28 @@ + + + + { + this.syqxzOptions = response.data; + }); this.getDicts("land_use").then(response => { this.tdlylxOptions = response.data; }); @@ -211,6 +239,7 @@ getDetail(){ getCbdkxx(this.$route.params.id).then(response => { this.form = response.data; + this.syqxzText = this.selectDictLabel(this.syqxzOptions, response.data.syqxz); this.tdlylxText = this.selectDictLabel(this.tdlylxOptions, response.data.tdlylx); this.dldjText = this.selectDictLabel(this.dldjOptions, response.data.dldj); this.tdytText = this.selectDictLabel(this.tdytOptions, response.data.tdyt); @@ -230,6 +259,7 @@ cbfbm: null, dkbm: null, dkmc: null, + syqxz: null, tdlylx: null, dldj: null, tdyt: null, @@ -257,6 +287,8 @@ onConfirmLandCodeOptions(value) { this.form.dkbm = value.dkbm; this.form.dkmc = value.dkmc; + this.form.syqxz = value.syqxz; + this.syqxzText = this.selectDictLabel(this.syqxzOptions, value.syqxz); this.form.tdlylx = value.tdlylx; this.tdlylxText = this.selectDictLabel(this.tdlylxOptions, value.tdlylx); this.form.dldj = value.dldj; @@ -279,6 +311,11 @@ } this.showLandCode = false; }, + onConfirmOwnershipOptions(value){ + this.form.syqxz = value.dictValue; + this.syqxzText = value.dictLabel; + this.showOwnership = false; + }, onConfirmLandUseTypeOptions(value) { this.form.tdlylx = value.dictValue; this.tdlylxText = value.dictLabel;