20240205
luoJunYong.123 3 years ago
parent ec45f5474f
commit 971bbffbee
  1. 22
      src/pages/manage/list/personal/callDeposits/accountClosed.vue
  2. 22
      src/pages/manage/list/personal/callDeposits/openAccount.vue
  3. 16
      src/pages/manage/list/personal/currentAccount/deposit.vue
  4. 16
      src/pages/manage/list/personal/currentAccount/settle.vue
  5. 14
      src/pages/manage/list/personal/timeDeposit/deposit.vue
  6. 22
      src/pages/manage/list/personal/timeDeposit/openAccount.vue
  7. 39
      src/pages/manage/list/personal/timeDeposit/withdrawal.vue
  8. 22
      src/pages/manage/list/personal/usefulPhrases/accountClosed.vue
  9. 14
      src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue
  10. 23
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue
  11. 22
      src/pages/manage/list/servicesAccount/passwordChange.vue
  12. 22
      src/pages/manage/list/servicesAccount/passwordLost.vue
  13. 22
      src/pages/manage/list/servicesAccount/relieveLost.vue
  14. 136
      src/store/modules/system.js
  15. 115
      test.js

@ -284,17 +284,17 @@ export default{
this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword') this.form.drawPassword = sessionStorage.getItem('nomCallDepositClosedPassword')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('nomCallDepositClosedCard')) { // if(sessionStorage.getItem('nomCallDepositClosedCard')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' // this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
} // }
if(sessionStorage.getItem('nomCallDepositClosedCard2')) { // if(sessionStorage.getItem('nomCallDepositClosedCard2')) {
this.idNumberJudge = true // this.idNumberJudge = true
this.form.idNumber = this.dataFlow.idNumber || '441515199812064569' // this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
} // }
return // return
} // }
if(sessionStorage.getItem('nomCallDepositClosedCard')) { if(sessionStorage.getItem('nomCallDepositClosedCard')) {
this.cardNumberJudge = true this.cardNumberJudge = true
const { noticeType, depositNumber, capital, interest, totalMoney, idNumber, const { noticeType, depositNumber, capital, interest, totalMoney, idNumber,

@ -272,17 +272,17 @@ export default{
this.form.drawPassword = sessionStorage.getItem('nomCallDepositOpenPassword') this.form.drawPassword = sessionStorage.getItem('nomCallDepositOpenPassword')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('nomCallDepositOpen2')) { // if(sessionStorage.getItem('nomCallDepositOpen2')) {
this.idNumberJudge = true // this.idNumberJudge = true
this.form.idNumber = this.dataFlow.idNumber || '441515199812064569' // this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
} // }
if(sessionStorage.getItem('nomCallDepositOpen3')) { // if(sessionStorage.getItem('nomCallDepositOpen3')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' // this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
} // }
return // return
} // }
if(sessionStorage.getItem('nomCallDepositOpen2')) { if(sessionStorage.getItem('nomCallDepositOpen2')) {
this.idNumberJudge = true this.idNumberJudge = true
const { idNumber, peopleNumber, userName, currency, goldLogo, depositType } = this.dataFlow const { idNumber, peopleNumber, userName, currency, goldLogo, depositType } = this.dataFlow

@ -122,14 +122,14 @@ export default{
}, },
created() { created() {
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('nomBusinessDepositCard')) { // if(sessionStorage.getItem('nomBusinessDepositCard')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
const tmpVoucher = this.dataFlow.voucherNumber || '159753' // const tmpVoucher = this.dataFlow.voucherNumber || '159753'
this.form.voucherNumber = tmpVoucher // this.form.voucherNumber = tmpVoucher
} // }
return // return
} // }
if(sessionStorage.getItem('nomBusinessDepositCard')) { if(sessionStorage.getItem('nomBusinessDepositCard')) {
const { userName, goldLogo, currency, voucherNumber } = this.dataFlow const { userName, goldLogo, currency, voucherNumber } = this.dataFlow

@ -180,14 +180,14 @@ export default{
if(sessionStorage.getItem('nomCurrentSettlePassword')) { if(sessionStorage.getItem('nomCurrentSettlePassword')) {
this.form.drawPassword = sessionStorage.getItem('nomCurrentSettlePassword') this.form.drawPassword = sessionStorage.getItem('nomCurrentSettlePassword')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('nomCurrentSettleCard')) { // if(sessionStorage.getItem('nomCurrentSettleCard')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
const tmpCardNumber = this.dataFlow.voucherNumber || '159753' // const tmpCardNumber = this.dataFlow.voucherNumber || '159753'
this.form.cardNumber = tmpCardNumber // this.form.cardNumber = tmpCardNumber
} // }
return // return
} // }
if(sessionStorage.getItem('nomCurrentSettleCard')) { if(sessionStorage.getItem('nomCurrentSettleCard')) {
this.cardNumberJudge = true this.cardNumberJudge = true
const { currency, userName, goldLogo, interest, voucherNumber, balance, totalMoney } = this.dataFlow const { currency, userName, goldLogo, interest, voucherNumber, balance, totalMoney } = this.dataFlow

@ -273,14 +273,14 @@ export default{
if(sessionStorage.getItem('nomtimeDepositlPassword')) { if(sessionStorage.getItem('nomtimeDepositlPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositlPassword') this.form.drawPassword = sessionStorage.getItem('nomtimeDepositlPassword')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('nomtimeDeposit1')) { // if(sessionStorage.getItem('nomtimeDeposit1')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' // this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
} // }
return // return
} // }
if(sessionStorage.getItem('nomtimeDeposit1')) { if(sessionStorage.getItem('nomtimeDeposit1')) {
this.cardNumberJudge = true this.cardNumberJudge = true
const { userName, currency, goldLogo, voucherNumber } = this.dataFlow const { userName, currency, goldLogo, voucherNumber } = this.dataFlow

@ -226,18 +226,18 @@ export default{
this.form.drawPassword = sessionStorage.getItem('nomtimeOpenAccountPassword') this.form.drawPassword = sessionStorage.getItem('nomtimeOpenAccountPassword')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('nomtimeOpenAccount1')) { // if(sessionStorage.getItem('nomtimeOpenAccount1')) {
this.idNumberJudge = true // this.idNumberJudge = true
this.form.idNumber = this.dataFlow.idNumber || '441515199812064569' // this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
} // }
// if(sessionStorage.getItem('nomtimeOpenAccount2')) { // // if(sessionStorage.getItem('nomtimeOpenAccount2')) {
// this.cardNumberJudge = true // // this.cardNumberJudge = true
// this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' // // this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
// } // // }
return // return
} // }
this.form.clientNumber = this.dataFlow.peopleNumber this.form.clientNumber = this.dataFlow.peopleNumber
if(sessionStorage.getItem('nomtimeOpenAccount1')) { if(sessionStorage.getItem('nomtimeOpenAccount1')) {

@ -89,16 +89,18 @@ export default{
if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword2')) { if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword2')) {
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword2') this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword2')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('nomtimeDepositWithdrawal1')) { // if(sessionStorage.getItem('nomtimeDepositWithdrawal1')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' // this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
} // }
return // return
} // }
const { withdrawWay } = this.dataFlow const { withdrawWay } = this.dataFlow
console.log('withdrawWay---')
console.log(withdrawWay)
if(withdrawWay === 126) { if(withdrawWay === 126) {
this.form.interest = 5.75 this.form.interest = 5.75
this.rules.withdrawAmount[0].required = false this.rules.withdrawAmount[0].required = false
@ -360,15 +362,22 @@ export default{
}, },
popUp(text) { popUp(text) {
// this.$store.commit('system/changePop',{show:true,text, id: '144,1'}) // this.$store.commit('system/changePop',{show:true,text, id: '144,1'})
if(this.isNeedBefore) { // if(this.isNeedBefore) {
this.setPopId('144,1') // this.setPopId('144,1')
// }else {
// const { withdrawWay } = this.dataFlow
// if(withdrawWay === 126) {
// this.setPopId('144,2')
// }else {
// this.setPopId('144,1')
// }
// }
const { withdrawWay } = this.dataFlow
if(withdrawWay === 126) {
this.setPopId('144,2')
}else { }else {
const { withdrawWay } = this.dataFlow this.setPopId('144,1')
if(withdrawWay === 126) {
this.setPopId('144,2')
}else {
this.setPopId('144,1')
}
} }
this.setTipsOperate('请刷银行卡'); this.setTipsOperate('请刷银行卡');

@ -120,17 +120,17 @@ export default{
if(sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) { if(sessionStorage.getItem('nomUsefulPhrasesClosedPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword') this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesClosedPassword')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('nomUsefulPhrasesClosed')) { // if(sessionStorage.getItem('nomUsefulPhrasesClosed')) {
this.idNumberJudge = true // this.idNumberJudge = true
this.form.idNumber = this.dataFlow.idNumber || '441515199812064569' // this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
} // }
if(sessionStorage.getItem('nomUsefulPhrasesClosed2')) { // if(sessionStorage.getItem('nomUsefulPhrasesClosed2')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' // this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
} // }
return // return
} // }
if(sessionStorage.getItem('nomUsefulPhrasesClosed')) { if(sessionStorage.getItem('nomUsefulPhrasesClosed')) {
this.idNumberJudge = true this.idNumberJudge = true
const { idNumber } = this.dataFlow const { idNumber } = this.dataFlow

@ -77,13 +77,13 @@ export default{
if(sessionStorage.getItem('nomUsefulPhrasesContinuePassword')) { if(sessionStorage.getItem('nomUsefulPhrasesContinuePassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword') this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesContinuePassword')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('nomUsefulPhrasesContinueCard')) { // if(sessionStorage.getItem('nomUsefulPhrasesContinueCard')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
this.form.voucherNumber = this.dataFlow.voucherNumber // this.form.voucherNumber = this.dataFlow.voucherNumber
} // }
return // return
} // }
if(sessionStorage.getItem('nomUsefulPhrasesContinueCard')) { if(sessionStorage.getItem('nomUsefulPhrasesContinueCard')) {
this.cardNumberJudge = true this.cardNumberJudge = true
const { voucherNumber, userName, depositNumber, currency, goldLogo, depositTerm, monthDeposit } = this.dataFlow const { voucherNumber, userName, depositNumber, currency, goldLogo, depositTerm, monthDeposit } = this.dataFlow

@ -108,17 +108,18 @@ export default{
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword') this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) { // if(sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) {
this.idNumberJudge = true // this.idNumberJudge = true
this.form.idNumber = this.dataFlow.idNumber || '441515199812064569' // this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
} // }
if(sessionStorage.getItem('nomUsefulPhrasesOpenCard')) { // if(sessionStorage.getItem('nomUsefulPhrasesOpenCard')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' // this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
} // }
return // return
} // }
if(sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) { if(sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) {
this.idNumberJudge = true this.idNumberJudge = true
// //

@ -168,18 +168,18 @@ export default{
if(sessionStorage.getItem('servicesPasswordChange4')) { if(sessionStorage.getItem('servicesPasswordChange4')) {
this.form.newPayPassword = sessionStorage.getItem('servicesPasswordChange4') this.form.newPayPassword = sessionStorage.getItem('servicesPasswordChange4')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('servicesPasswordChange')) { // if(sessionStorage.getItem('servicesPasswordChange')) {
this.idNumberJudge = true // this.idNumberJudge = true
this.form.idNumber = this.dataFlow.idNumber || '441515199812064569' // this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
} // }
if(sessionStorage.getItem('servicesPasswordChange2')) { // if(sessionStorage.getItem('servicesPasswordChange2')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' // this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
} // }
return // return
} // }
if(sessionStorage.getItem('servicesPasswordChange')) { if(sessionStorage.getItem('servicesPasswordChange')) {
this.idNumberJudge = true this.idNumberJudge = true
const { idNumber } = this.dataFlow const { idNumber } = this.dataFlow

@ -113,17 +113,17 @@ export default{
} }
}, },
created() { created() {
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('servicesPasswordLost')) { // if(sessionStorage.getItem('servicesPasswordLost')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' // this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
} // }
if(sessionStorage.getItem('servicesPasswordLost2')) { // if(sessionStorage.getItem('servicesPasswordLost2')) {
this.idNumberJudge = true // this.idNumberJudge = true
this.form.idNumber = this.dataFlow.idNumber || '441515199812064569' // this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
} // }
return // return
} // }
if(sessionStorage.getItem('servicesPasswordLost')) { if(sessionStorage.getItem('servicesPasswordLost')) {
this.cardNumberJudge = true this.cardNumberJudge = true
const { voucherNumber, userName } = this.dataFlow const { voucherNumber, userName } = this.dataFlow

@ -209,17 +209,17 @@ export default{
if(sessionStorage.getItem('servicesPasswordRelievePassword')) { if(sessionStorage.getItem('servicesPasswordRelievePassword')) {
this.form.payPassword = sessionStorage.getItem('servicesPasswordRelievePassword') this.form.payPassword = sessionStorage.getItem('servicesPasswordRelievePassword')
} }
if(this.isNeedBefore) { // if(this.isNeedBefore) {
if(sessionStorage.getItem('servicesPasswordRelieveLost')) { // if(sessionStorage.getItem('servicesPasswordRelieveLost')) {
this.idNumberJudge = true // this.idNumberJudge = true
this.form.idNumber = this.dataFlow.idNumber || '441515199812064569' // this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
} // }
if(sessionStorage.getItem('servicesPasswordRelieveLost2')) { // if(sessionStorage.getItem('servicesPasswordRelieveLost2')) {
this.cardNumberJudge = true // this.cardNumberJudge = true
this.form.voucherNumber = this.dataFlow.voucherNumber || '159753' // this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
} // }
return // return
} // }
if(sessionStorage.getItem('servicesPasswordRelieveLost')) { if(sessionStorage.getItem('servicesPasswordRelieveLost')) {
this.idNumberJudge = true this.idNumberJudge = true
const { idNumber, userName } = this.dataFlow const { idNumber, userName } = this.dataFlow

@ -86,6 +86,7 @@ const allGoods = {
// 472: {name:472,src:require('@/assets/img/goods/xjzp.png'),id:472}, // 472: {name:472,src:require('@/assets/img/goods/xjzp.png'),id:472},
} }
const idNumber = '441356199611035698' const idNumber = '441356199611035698'
const birthday = '1996-11-03' const birthday = '1996-11-03'
const userName = '小白' const userName = '小白'
@ -100,8 +101,6 @@ const voucherNumber = (() => {
} }
return '6227' + str; return '6227' + str;
})() })()
// const voucherNumber = '622766985213'
console.log(voucherNumber)
const sex = 1 // 1为男,2为女。 const sex = 1 // 1为男,2为女。
/* /*
@ -109,6 +108,39 @@ const sex = 1 // 1为男,2为女。
通过不同的键值对表示不同的业务其实更优秀的做法是将业务抽离成一个对象class业务选择对象也抽离成一个class当成全局游戏对象因为一开始没这样写后面改着麻烦所以就没改了 通过不同的键值对表示不同的业务其实更优秀的做法是将业务抽离成一个对象class业务选择对象也抽离成一个class当成全局游戏对象因为一开始没这样写后面改着麻烦所以就没改了
*/ */
const allDataFlow = {
peopleNumber,
userName,
idType: 83,
idNumber,//证件号码
sex,//性别 1为男,
birthday,//出生日期
// nationality:'汉',//民族
mailbox:'广东省深圳市阳光村',//通讯地址
voucherNumber,
currency:12,
goldLogo:13,
serviceCharge:'0.00',
drawWay:18,
interest: '0.1',
balance: 666,
depositNumber: '0912',
capital, // 不知道是多少
withdrawType: 124, // 支取类别
withdrawWay: 125, // 支取方式
withdrawType: 124, // 支取类别
withdrawWay: 126, // 支取方式
depositTerm: 86,
monthDeposit: 100,
signDate: '2001-03-01',
depositType: 92,
voucherType: 123,
noticeType: 95,
payType: 13,
payMoney: 102.8,
'corporateClient': false,
}
const myInitState = { const myInitState = {
'': { '': {
data: [], data: [],
@ -147,6 +179,7 @@ const myInitState = {
}, },
// dataFlowGo: 0, // dataFlowGo: 0,
dataFlow: { dataFlow: {
...allDataFlow,
peopleNumber, peopleNumber,
userName,//用户名字 userName,//用户名字
idType: '身份证', idType: '身份证',
@ -195,6 +228,7 @@ const myInitState = {
}, },
// dataFlowGo: 0, // dataFlowGo: 0,
dataFlow: { dataFlow: {
...allDataFlow,
peopleNumber, peopleNumber,
userName,//用户名字 userName,//用户名字
idType: 83, idType: 83,
@ -246,6 +280,7 @@ const myInitState = {
'timeDeposit/deposit': false 'timeDeposit/deposit': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
currency:12, currency:12,
@ -287,6 +322,7 @@ const myInitState = {
'timeDeposit/withdrawal': false 'timeDeposit/withdrawal': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) // 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
voucherNumber, voucherNumber,
userName, userName,
@ -330,6 +366,7 @@ const myInitState = {
'timeDeposit/withdrawal': false 'timeDeposit/withdrawal': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) // 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
userName, userName,
voucherNumber, voucherNumber,
@ -373,6 +410,7 @@ const myInitState = {
'usefulPhrases/openAccount': false 'usefulPhrases/openAccount': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户)
currency:12, currency:12,
goldLogo:13, goldLogo:13,
@ -411,6 +449,7 @@ const myInitState = {
'usefulPhrases/continueDeposit': false 'usefulPhrases/continueDeposit': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额 // 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额
userName, userName,
depositNumber: '0816', depositNumber: '0816',
@ -450,6 +489,7 @@ const myInitState = {
'usefulPhrases/accoumtClosed': false 'usefulPhrases/accoumtClosed': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
depositNumber: '0816', depositNumber: '0816',
@ -494,6 +534,7 @@ const myInitState = {
'callDeposits/openAccount': false 'callDeposits/openAccount': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
idNumber, idNumber,
peopleNumber, peopleNumber,
@ -542,6 +583,7 @@ const myInitState = {
'callDeposits/accountClosed': false 'callDeposits/accountClosed': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证) // 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证)
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
voucherType: 123, voucherType: 123,
@ -599,6 +641,7 @@ const myInitState = {
'business/openAccount': false 'business/openAccount': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
peopleNumber, peopleNumber,
@ -646,6 +689,7 @@ const myInitState = {
'business/deposit': false 'business/deposit': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
peopleNumber peopleNumber
@ -679,6 +723,7 @@ const myInitState = {
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// idNumber, // idNumber,
// userName, // userName,
// peopleNumber, // peopleNumber,
@ -713,6 +758,7 @@ const myInitState = {
'business/transfer': false 'business/transfer': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
voucherNumber voucherNumber
} }
@ -744,6 +790,7 @@ const myInitState = {
'servicesAccount/passwordChange': false 'servicesAccount/passwordChange': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
voucherNumber, voucherNumber,
userName userName
@ -775,6 +822,7 @@ const myInitState = {
'servicesAccount/passwordLost': false 'servicesAccount/passwordLost': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
voucherNumber, voucherNumber,
userName, userName,
idNumber idNumber
@ -808,6 +856,7 @@ const myInitState = {
'servicesAccount/relieveLost': false 'servicesAccount/relieveLost': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
voucherNumber, voucherNumber,
idNumber, idNumber,
userName userName
@ -868,6 +917,9 @@ const myInitState = {
needsModule: { needsModule: {
'controlCash/cashRecipients': false 'controlCash/cashRecipients': false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务十九': { // 现金上缴 '业务十九': { // 现金上缴
id: 509, id: 509,
@ -896,6 +948,9 @@ const myInitState = {
'controlCash/cashTransferInto': false 'controlCash/cashTransferInto': false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十': { // 现金调入 '业务二十': { // 现金调入
id: 548, id: 548,
@ -923,6 +978,9 @@ const myInitState = {
needsModule: { needsModule: {
'controlCash/cashPaid': false 'controlCash/cashPaid': false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十一': { // 现金调出 '业务二十一': { // 现金调出
id: 549, id: 549,
@ -950,6 +1008,9 @@ const myInitState = {
needsModule: { needsModule: {
'controlCash/cashOut': false 'controlCash/cashOut': false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十二': { // 凭证领用 '业务二十二': { // 凭证领用
id: 510, id: 510,
@ -977,6 +1038,9 @@ const myInitState = {
needsModule: { needsModule: {
'controlCash2/cashRecipients' : false 'controlCash2/cashRecipients' : false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十三': { // 凭证上缴 '业务二十三': { // 凭证上缴
id: 514, id: 514,
@ -1003,6 +1067,9 @@ const myInitState = {
needsModule: { needsModule: {
'controlCash2/cashTransferInto' : false 'controlCash2/cashTransferInto' : false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十四': { // 凭证调入 '业务二十四': { // 凭证调入
id: 512, id: 512,
@ -1030,6 +1097,9 @@ const myInitState = {
needsModule: { needsModule: {
'controlCash2/cashPaid' : false 'controlCash2/cashPaid' : false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十五': { // 凭证调出 '业务二十五': { // 凭证调出
id: 513, id: 513,
@ -1056,6 +1126,9 @@ const myInitState = {
needsModule: { needsModule: {
'controlCash2/cashOut' : false 'controlCash2/cashOut' : false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十六': { // 支票出售 '业务二十六': { // 支票出售
id: 507, id: 507,
@ -1084,6 +1157,9 @@ const myInitState = {
needsModule: { needsModule: {
'controlCash3/index': false 'controlCash3/index': false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十七': { // 柜员日终扎帐 '业务二十七': { // 柜员日终扎帐
id: 516, id: 516,
@ -1107,6 +1183,9 @@ const myInitState = {
importanceArr: [], // 重要空白凭证箱 importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
dataFlow: {
...allDataFlow,
}
}, },
'业务二十八': { // 网点日中扎帐 '业务二十八': { // 网点日中扎帐
id: 517, id: 517,
@ -1130,6 +1209,9 @@ const myInitState = {
importanceArr: [], // 重要空白凭证箱 importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
dataFlow: {
...allDataFlow,
}
}, },
} }
@ -1206,6 +1288,7 @@ export default {
}, },
// dataFlowGo: 0, // dataFlowGo: 0,
dataFlow: { dataFlow: {
...allDataFlow,
peopleNumber, peopleNumber,
userName,//用户名字 userName,//用户名字
idType: '身份证', idType: '身份证',
@ -1254,6 +1337,7 @@ export default {
}, },
// dataFlowGo: 0, // dataFlowGo: 0,
dataFlow: { dataFlow: {
...allDataFlow,
peopleNumber, peopleNumber,
userName,//用户名字 userName,//用户名字
idType: 83, idType: 83,
@ -1305,6 +1389,7 @@ export default {
'timeDeposit/deposit': false 'timeDeposit/deposit': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
currency:12, currency:12,
@ -1346,6 +1431,7 @@ export default {
'timeDeposit/withdrawal': false 'timeDeposit/withdrawal': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) // 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
voucherNumber, voucherNumber,
userName, userName,
@ -1389,6 +1475,7 @@ export default {
'timeDeposit/withdrawal': false 'timeDeposit/withdrawal': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) // 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码)
userName, userName,
voucherNumber, voucherNumber,
@ -1432,6 +1519,7 @@ export default {
'usefulPhrases/openAccount': false 'usefulPhrases/openAccount': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户)
currency:12, currency:12,
goldLogo:13, goldLogo:13,
@ -1470,6 +1558,7 @@ export default {
'usefulPhrases/continueDeposit': false 'usefulPhrases/continueDeposit': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额 // 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额
userName, userName,
depositNumber: '0816', depositNumber: '0816',
@ -1509,6 +1598,7 @@ export default {
'usefulPhrases/accoumtClosed': false 'usefulPhrases/accoumtClosed': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
depositNumber: '0816', depositNumber: '0816',
@ -1553,6 +1643,7 @@ export default {
'callDeposits/openAccount': false 'callDeposits/openAccount': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
idNumber, idNumber,
peopleNumber, peopleNumber,
@ -1601,6 +1692,7 @@ export default {
'callDeposits/accountClosed': false 'callDeposits/accountClosed': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证) // 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证)
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户)
voucherType: 123, voucherType: 123,
@ -1658,6 +1750,7 @@ export default {
'business/openAccount': false 'business/openAccount': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
peopleNumber, peopleNumber,
@ -1705,6 +1798,7 @@ export default {
'business/deposit': false 'business/deposit': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
userName, userName,
peopleNumber peopleNumber
@ -1738,6 +1832,7 @@ export default {
}, },
dataFlow: { dataFlow: {
...allDataFlow,
// idNumber, // idNumber,
// userName, // userName,
// peopleNumber, // peopleNumber,
@ -1772,6 +1867,7 @@ export default {
'business/transfer': false 'business/transfer': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
voucherNumber voucherNumber
} }
@ -1803,6 +1899,7 @@ export default {
'servicesAccount/passwordChange': false 'servicesAccount/passwordChange': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
idNumber, idNumber,
voucherNumber, voucherNumber,
userName userName
@ -1834,6 +1931,7 @@ export default {
'servicesAccount/passwordLost': false 'servicesAccount/passwordLost': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
voucherNumber, voucherNumber,
userName, userName,
idNumber idNumber
@ -1867,6 +1965,7 @@ export default {
'servicesAccount/relieveLost': false 'servicesAccount/relieveLost': false
}, },
dataFlow: { dataFlow: {
...allDataFlow,
voucherNumber, voucherNumber,
idNumber, idNumber,
userName userName
@ -1927,6 +2026,9 @@ export default {
needsModule: { needsModule: {
'controlCash/cashRecipients': false 'controlCash/cashRecipients': false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务十九': { // 现金上缴 '业务十九': { // 现金上缴
id: 509, id: 509,
@ -1955,6 +2057,9 @@ export default {
'controlCash/cashTransferInto': false 'controlCash/cashTransferInto': false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十': { // 现金调入 '业务二十': { // 现金调入
id: 548, id: 548,
@ -1982,6 +2087,9 @@ export default {
needsModule: { needsModule: {
'controlCash/cashPaid': false 'controlCash/cashPaid': false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十一': { // 现金调出 '业务二十一': { // 现金调出
id: 549, id: 549,
@ -2009,6 +2117,9 @@ export default {
needsModule: { needsModule: {
'controlCash/cashOut': false 'controlCash/cashOut': false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十二': { // 凭证领用 '业务二十二': { // 凭证领用
id: 510, id: 510,
@ -2036,6 +2147,9 @@ export default {
needsModule: { needsModule: {
'controlCash2/cashRecipients' : false 'controlCash2/cashRecipients' : false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十三': { // 凭证上缴 '业务二十三': { // 凭证上缴
id: 514, id: 514,
@ -2062,6 +2176,9 @@ export default {
needsModule: { needsModule: {
'controlCash2/cashTransferInto' : false 'controlCash2/cashTransferInto' : false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十四': { // 凭证调入 '业务二十四': { // 凭证调入
id: 512, id: 512,
@ -2089,6 +2206,9 @@ export default {
needsModule: { needsModule: {
'controlCash2/cashPaid' : false 'controlCash2/cashPaid' : false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十五': { // 凭证调出 '业务二十五': { // 凭证调出
id: 513, id: 513,
@ -2115,6 +2235,9 @@ export default {
needsModule: { needsModule: {
'controlCash2/cashOut' : false 'controlCash2/cashOut' : false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十六': { // 支票出售 '业务二十六': { // 支票出售
id: 507, id: 507,
@ -2143,6 +2266,9 @@ export default {
needsModule: { needsModule: {
'controlCash3/index': false 'controlCash3/index': false
}, },
dataFlow: {
...allDataFlow,
}
}, },
'业务二十七': { // 柜员日终扎帐 '业务二十七': { // 柜员日终扎帐
id: 516, id: 516,
@ -2166,6 +2292,9 @@ export default {
importanceArr: [], // 重要空白凭证箱 importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
dataFlow: {
...allDataFlow,
}
}, },
'业务二十八': { // 网点日中扎帐 '业务二十八': { // 网点日中扎帐
id: 517, id: 517,
@ -2189,6 +2318,9 @@ export default {
importanceArr: [], // 重要空白凭证箱 importanceArr: [], // 重要空白凭证箱
commonArr: [], // 普通凭证箱 commonArr: [], // 普通凭证箱
dataFlow: {
...allDataFlow,
}
}, },
}, },
goods:[// 物品栏的物品 goods:[// 物品栏的物品

@ -0,0 +1,115 @@
const idNumber = '441356199611035698'
const birthday = '1996-11-03'
const userName = '小白'
const capital = 100
const peopleNumber = '111222'
const voucherNumber = (() => {
const $chars = '1234567890';
const maxPos = $chars.length;
let str = '';
for (let i = 0; i < 8; i++) {
str += $chars.charAt(Math.floor(Math.random() * maxPos));
}
return '6227' + str;
})()
const sex = 1 // 1为男,2为女。
{
peopleNumber,
userName,
idType: 83,
idNumber,//证件号码
sex,//性别 1为男,
birthday,//出生日期
// nationality:'汉',//民族
mailbox:'广东省深圳市阳光村',//通讯地址
voucherNumber
idType: 83,
idNumber,//证件号码
sex,//性别
birthday,//出生日期
// nationality:'汉',//民族
mailbox:'广东省深圳市阳光村',//通讯地址
phone:'13222223122',//联系电话
// cardNumber: '', // 卡号
voucherNumber,
currency:12,
goldLogo:13,
serviceCharge:'0.00',
drawWay:18,
interest: '0.1',
balance: 666,
totalMoney: '',
idNumber,
currency:12,
goldLogo:13,
voucherNumber,
voucherNumber,
currency:12,
goldLogo:13,
interest: '0.00',
depositNumber: '0912',
capital, // 不知道是多少
withdrawType: 124, // 支取类别
withdrawWay: 125, // 支取方式
voucherNumber,
currency:12,
goldLogo:13,
interest: '5.75',
depositNumber: '0912',
capital, // 不知道是多少
withdrawType: 124, // 支取类别
withdrawWay: 126, // 支取方式
currency:12,
goldLogo:13,
idNumber,
voucherNumber,
depositNumber: '0816',
currency:12,
goldLogo:13,
depositTerm: 86,
monthDeposit: 100,
voucherNumber,
idNumber,
depositNumber: '0816',
currency:12,
goldLogo:13,
capital: 100,
interestRate: 1.85,
depositTerm: 86,
interest: 1.6,
totalMoney: 101.6,
signDate: '2001-03-01',
voucherNumber,
idNumber,
currency:12,
goldLogo:13,
voucherNumber,
depositType: 92,
voucherType: 123,
noticeType: 95,
depositNumber: '0816',
capital: 100,
interest: 2.8,
totalMoney: 102.8,
payType: 13,
payMoney: 102.8,
idNumber,
currency:12,
goldLogo:13,
voucherNumber,
idNumber,
'corporateClient': false,
idNumber,
idNumber,
voucherNumber,
idNumber,
voucherNumber,
voucherNumber,
idNumber,
voucherNumber,
idNumber,
}
Loading…
Cancel
Save