Handy_Cao hace 1 año
padre
commit
226692cb5a
Se han modificado 1 ficheros con 4 adiciones y 3 borrados
  1. 4 3
      src/packages/zrwyt/views/account/certification/Index.vue

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

@@ -86,7 +86,7 @@ const person = ref<Model.PersonBankCard4>({})
 const company = ref<Model.CompanyBankCard4>({})
 /// 四要素校验
 const { formData, onBankCard4, loading } = useRequestBankCard4()
-const { customername, mobile2, cardnum } = userStore.userInfo
+const { customername, mobile2, cardnum, legalpersonname } = userStore.userInfo
 const { componentRef, componentId, openComponent, closeComponent } = useComponent(() => {
     router.back()
 })
@@ -295,9 +295,10 @@ onMounted(() => {
     } else {
         // 企业
         company.value.mobile = mobile2
-        company.value.idCardNo = decryptAES(cardnum)
-        realName.value = customername
+        company.value.creditCode = decryptAES(cardnum)
+        realName.value = legalpersonname
         company.value.realName = realName.value
+        company.value.companyName = customername
     }
 })
 </script>