Handy_Cao 1 年之前
父節點
當前提交
c2f4eb63bd
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/packages/zrwyt/views/account/certification/Index.vue

+ 4 - 1
src/packages/zrwyt/views/account/certification/Index.vue

@@ -108,7 +108,10 @@ useRequest(queryBankAccountSign, {
             person.value.bankId = res.data[0].bankid
             bankaccount.value = res.data[0].bankaccountno2
             const { bankaccountname } = res.data[0]
-            realName.value = bankaccountname != '' ? bankaccountname : customername
+            realName.value = bankaccountname
+            person.value.realName = realName.value
+        } else {
+            realName.value = customername
             person.value.realName = realName.value
         }
     }