From fa821ce7a7755dd0e13897cefc57071d4596431b Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Wed, 14 Jan 2026 17:51:42 +0800
Subject: [PATCH] 1

---
 src/page/newUser/smrz.vue |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/src/page/newUser/smrz.vue b/src/page/newUser/smrz.vue
index 34f4d01..5aaaf71 100644
--- a/src/page/newUser/smrz.vue
+++ b/src/page/newUser/smrz.vue
@@ -29,12 +29,24 @@
       </li>
       <li class="verli">
         <input
-          :placeholder="$t('jy520')"
+          :placeholder="$t('jy561')"
           v-model="form.idCard"
           v-if="showBtn"
         /><input
-          :placeholder="$t('jy520')"
+          :placeholder="$t('jy561')"
           v-model="form.idCard"
+          v-if="!showBtn"
+          readonly
+        />
+      </li>
+      <li class="verli">
+        <input
+          :placeholder="$t('hj2111')"
+          v-model="form.address"
+          v-if="showBtn"
+        /><input
+          :placeholder="$t('hj2111')"
+          v-model="form.address"
           v-if="!showBtn"
           readonly
         />
@@ -127,6 +139,7 @@
         phone: "",
         name: "",
         idCard: "",
+        address: "",
         img1key: "",
         img2key: "",
         img3key: ""
@@ -220,6 +233,7 @@
         ) {
           this.form.idCard = this.$store.state.userInfo.idCard;
           this.form.name = this.$store.state.userInfo.realName;
+          this.form.address = this.$store.state.userInfo.regAddress || "";
           this.form.img1key = this.$store.state.userInfo.img1Key;
           this.form.img2key = this.$store.state.userInfo.img2Key;
           //   this.form.img3key = this.$store.state.userInfo.img3Key
@@ -265,6 +279,8 @@
         Toast(this.$t("hj207"));
       } else if (isNull(this.form.idCard) || !idCardReg(this.form.idCard)) {
         Toast(this.$t("hj208"));
+      } else if (isNull(this.form.address)) {
+        Toast('请输入' + this.$t('hj2111'));
       } else if (isNull(this.form.img1key)) {
         Toast(this.$t("jy516"));
       } else if (isNull(this.form.img2key)) {
@@ -278,6 +294,7 @@
       let opts = {
         realName: this.form.name,
         idCard: this.form.idCard,
+        address: this.form.address,
         img1key: this.form.img1key,
         img2key: this.form.img2key,
         img3key: this.form.img3key

--
Gitblit v1.9.3