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/authentication/index.vue |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/page/authentication/index.vue b/src/page/authentication/index.vue
index 79cd473..c192bf9 100644
--- a/src/page/authentication/index.vue
+++ b/src/page/authentication/index.vue
@@ -28,6 +28,15 @@
           <input v-if="!showBtn" type="text" v-model="form.idCard" readonly />
         </div>
       </div>
+      <div class="bank_name">
+        <div class="lefts">
+          <span>{{ $t('hj2111') + ':' }}</span>
+        </div>
+        <div class="rights">
+          <input v-if="showBtn" type="text" v-model="form.address" :placeholder="$t('hj2111')" />
+          <input v-if="!showBtn" type="text" v-model="form.address" readonly />
+        </div>
+      </div>
       <div class="uploads">
         <div class="lefts">
           <el-upload :with-credentials="true" class="avatar-uploader" :action="admin + '/user/upload.do'"
@@ -88,6 +97,7 @@
         phone: "",
         name: "",
         idCard: "",
+        address: "",
         img1key: "",
         img2key: "",
         img3key: ""
@@ -170,6 +180,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
@@ -215,6 +226,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) || isNull(this.form.img2key)) {
         Toast(this.$t('hj209'));
       } else {
@@ -226,6 +239,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