|
|
@@ -80,7 +80,7 @@ import { requestResultLoadingAndInfo } from '@/common/methods/request/resultInfo
|
|
|
import { validateAction } from '@/common/setup/form';
|
|
|
import { _closeModal } from '@/common/setup/modal/modal';
|
|
|
import { getSelectedAccountId } from '@/services/bus/account';
|
|
|
-import { getUserName } from '@/services/bus/user';
|
|
|
+import { getUserInfo, getUserName } from '@/services/bus/user';
|
|
|
import { QueryBankInfo, QueryCusBankSignBank } from '@/services/go/ermcp/qhj';
|
|
|
import { QueryBankAccountSignQsp, QueryBankInfoRsp, QueryCusBankSignBankRsp } from '@/services/go/ermcp/qhj/interface';
|
|
|
import { requestBankSign } from '@/services/socket/bank';
|
|
|
@@ -133,21 +133,26 @@ export default defineComponent({
|
|
|
const selectdBank = accountList.value.find((el) => el.bankid === res.bankId)!;
|
|
|
// 托管说是只有一个,具体因为未知
|
|
|
const managerBank = managerList.value[0]; // 托管银行
|
|
|
+ const userInfo = getUserInfo();
|
|
|
+ console.log('userInfo', userInfo);
|
|
|
+ const extendInfo = {
|
|
|
+ sex: userInfo.sex,
|
|
|
+ };
|
|
|
const param: t2bBankSignReq = {
|
|
|
OperateType: 2, // 变更类型[1-增加; 2-修改; 4-绑卡;
|
|
|
IsForce: 0, // 是否强制[0-否; 1-是]强制
|
|
|
AgentCertType: 0, // 授权代理人证件类型
|
|
|
BankCardType: 0, // 银行卡类型
|
|
|
AccountType: 1, // // 账户类型[1-对私; 2-对公]
|
|
|
- extend_info: '', // 扩展信息(JSON串,参考配置要求进行填充)
|
|
|
+ extend_info: JSON.stringify(extendInfo), // 扩展信息(JSON串,参考配置要求进行填充)
|
|
|
BankAccountNo: res.bankNo, // 银行账户
|
|
|
- BankAccountName: res.name, // 银行账户名称
|
|
|
+ BankAccountName: getUserName(), // 银行账户名称
|
|
|
AccountCode: getSelectedAccountId().toString(), // 账户
|
|
|
AccountName: getUserName(), // 客户名称
|
|
|
OpenBankName: res.subBankName, // 开户支行名称
|
|
|
ExtOperatorID: getTimeValue(), // 外部操作流水号
|
|
|
- CertType: '', // 证件类型
|
|
|
- CertID: '', // 证件号码
|
|
|
+ CertType: userInfo.cardtypeid.toString(), // 证件类型
|
|
|
+ CertID: userInfo.cardnum, // 证件号码
|
|
|
CusBankID: managerBank.cusbankid, // 托管银行编号
|
|
|
Currency: managerBank.currency, // 币种
|
|
|
TradeDate: managerBank.tradedate, // 交易所业务日期
|