Handy_Cao пре 3 година
родитељ
комит
d0c4e6df5d
1 измењених фајлова са 6 додато и 2 уклоњено
  1. 6 2
      src/business/bank/index.ts

+ 6 - 2
src/business/bank/index.ts

@@ -4,6 +4,7 @@ import { useLoginStore, useUserStore } from '@/stores'
 import { queryHisAmountLog, t2bBankWithdraw, queryBankAccountSign, t2bBankDeposit, queryAccountInOutApply, queryCusBankSignBank, t2bBankSign, t2bBankCancelSign } from '@/services/api/bank'
 import { formatDate } from '@/filters'
 import { Model } from 'echarts'
+import { decryptAES } from '@/utils/websocket/crypto'
 
 // 历史资金流水列表
 export function useBankStatementList() {
@@ -257,7 +258,8 @@ export function doBankSign() {
         ExtOperatorID: new Date().getTime(),
         AccountCode: getFirstAccountId().toString(),
         CertID: getUserInfo()?.cardnum,
-        CertType: getUserInfo()?.cardtypeid.toString()
+        CertType: getUserInfo()?.cardtypeid.toString(),
+        
     })
 
     /// 托管银行信息
@@ -282,7 +284,9 @@ export function doBankSign() {
         console.log(cusSignBank)
         return t2bBankSign({
             data: {
-                ...formData
+                ...formData,
+                AccountName: formData.BankAccountName,
+                ExBankName: cusSignBank.value?.Banklst.find(obj=> obj.bankid===formData.OpenBankAccId )?.bankname
             },
             complete: () => {
                 loading.value = false