$ gnpm install @gidc-pc-base/gidc-pbank-parts-h5-standard-vx-gidc-trade-confirm
转账交易认证
import VxTradeConfirm from '@/components/vx-trade-confirm'
export default {
components: {
VxTradeConfirm,
},
}
<template>
<vx-trade-confirm
:limit="payer.runtimeLimit"
:payer="payer"
:is-loading="isLoading"
:sign-str="signStr"
:auth-type-group-list="authTypeGroupList"
@transfer-confirm="transferConfirm"
@undo-trans="$router.go(-1)"
></vx-trade-confirm>
</template>
<script>
import VxTradeConfirm from '@/components/vx-trade-confirm'
export default {
components: {
VxTradeConfirm,
},
data() {
return {
payer: {
payeeAcNo: '65555555555555555',
payerAcNo: '6666222288881010',
payerAcName: '挡板测试账号',
acctLevel: '1',
amount: '2',
limitDayAmount: '',
openMobilephone: '',
balance: '5000000',
payerBankName: '科蓝数字银行',
remitModel: '0',
remark: '',
feeAmount: '',
currency: 'CNY',
innercardflag: '1',
singleLimit: '99999999',
dayLimit: '999999999',
runtimeLimit: '300000',
payeeBankNo: '313132900164',
payeeAcName: '李四',
payeeBankName: '中国农业银行',
payeeBankProvinceNo: '1',
payeeBankCityNo: '1',
clearBankNo: '1',
unionCode: '1',
transferType: '1',
noticeFlag: '0',
grpSeq: '1',
purpose: '',
payeeBankDeptId: null,
payeeBankDeptName: '科蓝银行股份有限公司宁晋支行',
bkctgrycd: '',
bankCode: '',
acType: 'PSAV',
},
authTypeGroupList: ['TK', 'TS'],
signStr: '',
isLoading: false,
}
},
methods: {
/**
* 转账确认
* @param {String} password 组件抛出的密码
* @param {Object} form 组件抛出的表单信息
* @param {Object} ukeyObj 组件抛出的ukey信息
*/
transferConfirm(password, form, ukeyObj) {
console.log(password, form, ukeyObj)
},
},
}
</script>
属性 | 说明 | 类型 | 默认值 | 备注 |
---|---|---|---|---|
limit |
限额 | String,Number |
- | - |
payer |
付款方信息 | Object |
{} | - |
sign-str |
ukey 签名验签 | String |
- | - |
is-loading |
loading 加载 | Boolean |
false | - |
auth-type-group-list |
认证方式列表 | Array |
- | 必传 |
转账确认
参数 | 说明 | 类型 | 默认值 | 备注 |
---|---|---|---|---|
password | 交易密码 | String | - | - |
form | 表单信息 | Object:{ukeyValue: String, authenticGroupId: String,authCode: String,index: String,} | - | - |
ukeyObj | ukey 信息 | Object:{certDN:String, base64Cert: String, signature: String} | - | - |
关闭弹窗方法
Copyright 2013 - present © cnpmjs.org | Home |