@gidc-pc-base/gidc-pbank-parts-h5-standard-vx-gidc-trade-confirm
'个人网银标准版-动账交易认证标件'
Last updated 2 years ago .
MIT · · Tarball · package.json
$ gnpm install @gidc-pc-base/gidc-pbank-parts-h5-standard-vx-gidc-trade-confirm 
Private package

VxTradeConfirm

转账交易认证

引用

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>

VxTradeConfirm Props

属性 说明 类型 默认值 备注
limit 限额 String,Number - -
payer 付款方信息 Object {} -
sign-str ukey 签名验签 String - -
is-loading loading 加载 Boolean false -
auth-type-group-list 认证方式列表 Array - 必传

VxTradeConfirm Events

@transfer-confirm(password, form, ukeyObj)

转账确认

  • 返回值
参数 说明 类型 默认值 备注
password 交易密码 String - -
form 表单信息 Object:{ukeyValue: String, authenticGroupId: String,authCode: String,index: String,} - -
ukeyObj ukey 信息 Object:{certDN:String, base64Cert: String, signature: String} - -

@undo-trans

关闭弹窗方法

Current Tags

  • 0.0.8                                ...           latest (2 years ago)

1 Versions

  • 0.0.8                                ...           2 years ago
Maintainers
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (9)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |