|
@@ -122,7 +122,7 @@ export function useDoDeposit(userid?: number) {
|
|
|
|
|
|
|
|
/// 银行签约请求
|
|
/// 银行签约请求
|
|
|
export function useDoBankSign() {
|
|
export function useDoBankSign() {
|
|
|
- const { userInfo } = useUserStore()
|
|
|
|
|
|
|
+ const { userAccount, userInfo } = useUserStore()
|
|
|
const loading = shallowRef(false)
|
|
const loading = shallowRef(false)
|
|
|
const bankInfo = shallowRef<Model.BankAccountSignRsp>()
|
|
const bankInfo = shallowRef<Model.BankAccountSignRsp>()
|
|
|
|
|
|
|
@@ -154,7 +154,6 @@ export function useDoBankSign() {
|
|
|
currency: formData.Currency,
|
|
currency: formData.Currency,
|
|
|
cusbankid: formData.CusBankID,
|
|
cusbankid: formData.CusBankID,
|
|
|
accountcode: formData.AccountCode,
|
|
accountcode: formData.AccountCode,
|
|
|
- accountname: formData.BankAccountName,
|
|
|
|
|
branchbankname: formData.OpenBankName,
|
|
branchbankname: formData.OpenBankName,
|
|
|
bankaccountno: formData.BankAccountNo,
|
|
bankaccountno: formData.BankAccountNo,
|
|
|
bankid: formData.OpenBankAccId,
|
|
bankid: formData.OpenBankAccId,
|
|
@@ -172,9 +171,9 @@ export function useDoBankSign() {
|
|
|
AccountCode: accountStore.currentAccountId.toString(),
|
|
AccountCode: accountStore.currentAccountId.toString(),
|
|
|
CertID: decryptAES(userInfo?.cardnum ?? ''),
|
|
CertID: decryptAES(userInfo?.cardnum ?? ''),
|
|
|
CertType: userInfo?.cardtypeid.toString(),
|
|
CertType: userInfo?.cardtypeid.toString(),
|
|
|
- BankAccountName: userInfo?.customername,
|
|
|
|
|
|
|
+ BankAccountName: userAccount?.accountname,
|
|
|
MobilePhone: userInfo?.mobile2,
|
|
MobilePhone: userInfo?.mobile2,
|
|
|
- AccountName: userInfo?.customername,
|
|
|
|
|
|
|
+ AccountName: userAccount?.accountname,
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
const onSubmit = async () => {
|
|
const onSubmit = async () => {
|