소스 검색

fix(行号):行号

sufan 2 달 전
부모
커밋
cf117a48e7
1개의 변경된 파일34개의 추가작업 그리고 5개의 파일을 삭제
  1. 34 5
      src/views/myFinancing/applyFinancing/index.vue

+ 34 - 5
src/views/myFinancing/applyFinancing/index.vue

@@ -127,6 +127,31 @@
       <el-form-item label="保理申请人指定账户开户行" prop="applicantDesignatedBank">
         <el-input v-model="ruleForm.applicantDesignatedBank" :disabled="disabled" placeholder="请输入保理申请人指定账户开户行" />
       </el-form-item>
+      <el-form-item
+        label="保理申请人指定收款银行行号"
+        prop="applicantDesignatedBankNumber"
+        :rules="[
+          { required: ruleForm.smb === false, message: '请输入保理申请人指定收款银行行号', trigger: 'blur' }
+        ]"
+      >
+        <el-input v-model="ruleForm.applicantDesignatedBankNumber" :disabled="disabled" placeholder="请输入保理申请人指定收款银行行号">
+          <template slot="append">
+            <el-popover
+              placement="top"
+              width="450"
+              trigger="click"
+            >
+              <div>
+                <div>银行开户行号:</div>
+                <div>是指为银行分支机构分配的唯一识别号码,由12位数字组成。</div>
+                <div>查询方法:</div>
+                <div>使用银行卡的卡号段查询开户行信息。您可以访问银行的官方网站或使用银行的手机应用程序进行查询。例如,您可以访问中国工商银行的官网,在首页点击“查询服务” - “银行卡信息查询”,输入卡号段(622280)后点击查询。</div>
+              </div>
+              <i slot="reference" class="el-icon-warning-outline" style="font-size: 20px;" />
+            </el-popover>
+          </template>
+        </el-input>
+      </el-form-item>
     </el-form>
     <div v-if="!disabled" class="submit-btn">
       <el-button @click="$router.go(-1)">关闭</el-button>
@@ -193,7 +218,8 @@ export default {
         applicantDesignatedAccount: '',
         applicantDesignatedBank: '',
         smb: '',
-        applicantDesignatedBankName: ''
+        applicantDesignatedBankName: '',
+        applicantDesignatedBankNumber: ''
       },
       rules: {
         businessNumber: [
@@ -494,7 +520,8 @@ export default {
         applicantDesignatedAccount,
         applicantDesignatedBank,
         applicantDesignatedBankName,
-        smb
+        smb,
+        applicantDesignatedBankNumber
       } = financingApplicantInfo
       this.ruleForm = {
         ...financingBasicInfo,
@@ -505,7 +532,8 @@ export default {
         applicantDesignatedAccount,
         applicantDesignatedBank,
         applicantDesignatedBankName,
-        smb
+        smb,
+        applicantDesignatedBankNumber
       }
       this.fileStorageList = fileStorageDOList
       this.oldTableDataInfo = financingAccountsReceivableInfoList
@@ -651,7 +679,7 @@ export default {
       })
     },
     submit(type) {
-      const { applicantContact, applicantContactNumber, applicantContactEmail, applicantDesignatedAccountName, applicantDesignatedAccount, applicantDesignatedBank, smb, applicantDesignatedBankName } = this.ruleForm
+      const { applicantContact, applicantContactNumber, applicantContactEmail, applicantDesignatedAccountName, applicantDesignatedAccount, applicantDesignatedBank, smb, applicantDesignatedBankName, applicantDesignatedBankNumber } = this.ruleForm
       const fileStorageList = this.$refs.fileStorage.getFileLists
       const params = {
         financingBasicInfo: {
@@ -667,7 +695,8 @@ export default {
           applicantDesignatedAccount,
           applicantDesignatedBank,
           smb,
-          applicantDesignatedBankName
+          applicantDesignatedBankName,
+          applicantDesignatedBankNumber
         },
         fileIds: fileStorageList.map(item => item.id),
         visible: type !== 'temp'