diff --git a/src/views/yinnong/homestead/circulation/circulationAdd.vue b/src/views/yinnong/homestead/circulation/circulationAdd.vue index 5dac0e13..f0c94249 100644 --- a/src/views/yinnong/homestead/circulation/circulationAdd.vue +++ b/src/views/yinnong/homestead/circulation/circulationAdd.vue @@ -116,6 +116,17 @@ {{item.sqrxm}} + + + @@ -271,6 +282,10 @@ + + + +
@@ -338,6 +353,7 @@ currentDate: new Date(), circulation: {jzmj:0.00,zcfsfbjtjjzzcy:"Y",zrfsfbjtjjzzcy:"Y",lzfs:"01",houseOwnership:"2",phlyms:"10"}, mapShow: false, + hhMapShow:false, }; }, created() { @@ -423,6 +439,12 @@ this.$refs.zjdProductResh.drawingLyPaceCountryDarw(); },1000); }, + hhMapLook(){ + this.hhMapShow = true; + setTimeout(() => { + this.$refs.zjdZrfProductResh.drawingLyPaceCountryDarw(); + },1000); + }, onConfirmXb(data){ this.xb = data.text; this.circulation.xb = data.value; diff --git a/src/views/yinnong/homestead/circulation/circulationDetail.vue b/src/views/yinnong/homestead/circulation/circulationDetail.vue index 789df8b7..22c6befa 100644 --- a/src/views/yinnong/homestead/circulation/circulationDetail.vue +++ b/src/views/yinnong/homestead/circulation/circulationDetail.vue @@ -127,7 +127,17 @@ - + + +
- - + + + + + + + +
@@ -341,6 +357,7 @@ currentDate: new Date(), circulation: {jzmj:0.00,zcfsfbjtjjzzcy:"Y",zrfsfbjtjjzzcy:"Y",lzfs:"01",houseOwnership:"2",phlyms:"10"}, mapShow: false, + hhMapShow:false, }; }, created() { @@ -365,7 +382,7 @@ }, getDetail(){ getLz(this.$route.query.id).then(response => { - this.landStatus = "4"; + if(response.data.houseOwnership === "1"){ this.shyqxmShow = true; this.sfjtjjzzShow=true; @@ -409,6 +426,11 @@ }); this.circulation = response.data; + if(response.data.lzfs === "04" || response.data.lzfs === "05"){ + this.landStatus = "4"; + }else { + this.landStatus = "1"; + } }); }, onConfirmLzfs(value) { @@ -446,6 +468,12 @@ this.$refs.zjdProductResh.drawingLyPaceCountryDarw(); },1000); }, + hhMapLook(){ + this.hhMapShow = true; + setTimeout(() => { + this.$refs.zjdZrfProductResh.drawingLyPaceCountryDarw(); + },1000); + }, onConfirmXb(data){ this.xb = data.text; this.circulation.xb = data.value; @@ -624,6 +652,15 @@ this.circulation.lzjsrq = this.getNowFormatDate(value).substr(0,10); this.showlzjsrq = false; }, //流转结束时间 + goAdd(){ + homeLzAdd(this.circulation).then(response => { + if(response.code = 200){ + this.$toast.success('保存成功'); + this.back(); + + } + }); + }, back() { setTimeout(() => this.$router.back(-1), 1000) }, diff --git a/src/views/yinnong/homestead/circulation/circulationModify.vue b/src/views/yinnong/homestead/circulation/circulationModify.vue index 8e8e65d7..6bb30a16 100644 --- a/src/views/yinnong/homestead/circulation/circulationModify.vue +++ b/src/views/yinnong/homestead/circulation/circulationModify.vue @@ -127,7 +127,17 @@ - + + +
- - + + + + + + + +
@@ -341,6 +357,7 @@ currentDate: new Date(), circulation: {jzmj:0.00,zcfsfbjtjjzzcy:"Y",zrfsfbjtjjzzcy:"Y",lzfs:"01",houseOwnership:"2",phlyms:"10"}, mapShow: false, + hhMapShow:false, }; }, created() { @@ -365,7 +382,7 @@ }, getDetail(){ getLz(this.$route.query.id).then(response => { - this.landStatus = "4"; + if(response.data.houseOwnership === "1"){ this.shyqxmShow = true; this.sfjtjjzzShow=true; @@ -409,6 +426,11 @@ }); this.circulation = response.data; + if(response.data.lzfs === "04" || response.data.lzfs === "05"){ + this.landStatus = "4"; + }else { + this.landStatus = "1"; + } }); }, onConfirmLzfs(value) { @@ -446,6 +468,12 @@ this.$refs.zjdProductResh.drawingLyPaceCountryDarw(); },1000); }, + hhMapLook(){ + this.hhMapShow = true; + setTimeout(() => { + this.$refs.zjdZrfProductResh.drawingLyPaceCountryDarw(); + },1000); + }, onConfirmXb(data){ this.xb = data.text; this.circulation.xb = data.value;