Handy_Cao 1 gadu atpakaļ
vecāks
revīzija
c2f4eb63bd

+ 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
         }
     }