From eaad89a946779d5fca0737a623415af817b3bbcd Mon Sep 17 00:00:00 2001 From: xuyuanqing <392009588@qq.com> Date: Thu, 9 Nov 2023 14:04:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=85=E5=9F=BA=E5=9C=B0=E8=B0=83=E6=9F=A5?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=9D=83=E4=BA=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/homesteadSurvey/shyqrAdd.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/homesteadSurvey/shyqrAdd.vue b/src/views/homesteadSurvey/shyqrAdd.vue index 7adcc742..16c2e5c0 100644 --- a/src/views/homesteadSurvey/shyqrAdd.vue +++ b/src/views/homesteadSurvey/shyqrAdd.vue @@ -463,7 +463,7 @@ export default { this.$set(this.form, "xb", val.sqrxb); this.$set(this.form, "hklx", val.hklx); this.$set(this.form, "sfbncjtjjzzcy", val.sfbjtjjzzcy); - listNmfw({zjddm:this.zjdzdxx.zjddm,nhdm:val.nhdm}).then(response => { + listNmfw({zjddm:this.zjdzdxx.zjddm}).then(response => { this.nmfwDictionaries = response.rows; }); this.shownhdm = false; @@ -539,8 +539,12 @@ export default { this.shownhdm =false; }, onConfirmnmfwdm(val){ - this.form.nmfwdm = val.nmfwdm; - this.shownmfwdm = false; + if(val.sfytrgy === "0" && val.nhdm){ + this.$toast("不能与其他人共有!"); + }else{ + this.form.nmfwdm = val.nmfwdm; + this.shownmfwdm = false; + } }, guidProduct(){ return 'xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx'.replace(/[xy]/g, function (c) {