You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3211 lines
104 KiB
3211 lines
104 KiB
/* 银行系统 */ |
|
|
|
|
|
|
|
/* 所有物品名字 这里能将东西查找出来并渲染上物品栏 */ |
|
const allGoods = { |
|
469: { name: '预留印鉴卡(一)', src: require('@/assets/img/goods/预留印鉴卡.png'), id: 469 }, |
|
470: { name: '预留印鉴卡(二)', src: require('@/assets/img/goods/预留印鉴卡.png'), id: 470 }, |
|
471: { name: '预留印鉴卡(三)', src: require('@/assets/img/goods/预留印鉴卡.png'), id: 471 }, |
|
|
|
563: { name: '二类银行卡', src: require('@/assets/img/goods/bankCard.png'), id: 563 }, |
|
16: { name: '银行卡', src: require('@/assets/img/goods/bankCard.png'), id: 16 }, |
|
428: { name: '定期存单', src: require('@/assets/img/goods/储蓄存单.png'), id: 428 }, |
|
439: { name: '预留印鉴卡', src: require('@/assets/img/goods/预留印鉴卡.png'), id: 439 }, |
|
412: { name: '转账支票', src: require('@/assets/img/goods/sy-zzzp.png'), id: 412 }, |
|
584: { name: '银行承兑汇票', src: require('@/assets/img/goods/银行承兑汇票.png'), id: 584 }, |
|
587: { name: '银行承兑协议', src: require('@/assets/img/goods/银行承兑协议.png'), id: 587 }, |
|
582: { name: '银行承兑汇票一联', src: require('@/assets/img/goods/银行承兑汇票.png'), id: 582 }, |
|
581: { name: '银行承兑汇票二联', src: require('@/assets/img/goods/银行承兑汇票.png'), id: 581 }, |
|
580: { name: '银行承兑汇票三联(解讫通知)', src: require('@/assets/img/goods/银行承兑汇票.png'), id: 580 }, |
|
583: { name: '银行承兑汇票四联', src: require('@/assets/img/goods/银行承兑汇票.png'), id: 583 }, |
|
411: { name: '现金支票', src: require('@/assets/img/goods/xjzp.png'), id: 411 }, |
|
425: { name: '取款凭条', src: require('@/assets/img/goods/qkpt.png'), id: 425 }, |
|
426: { name: '转账凭条', src: require('@/assets/img/goods/zzpt.png'), id: 426 }, |
|
479: { name: '业务收费凭证', src: require('@/assets/img/goods/ywsfpz.png'), id: 479 }, |
|
427: { name: '利息清单', src: require('@/assets/img/goods/lxqd.png'), id: 427 }, |
|
438: { name: '普通空白凭证', src: require('@/assets/img/goods/ptkbpz.png'), id: 438 }, |
|
13: { name: '身份证', src: require('@/assets/img/goods/idCard.png'), id: 13 }, |
|
23: { name: '身份证复印件', src: require('@/assets/img/idCard-copy-sm.png'), id: 23 }, |
|
14: { name: '开户申请书', src: require('@/assets/img/goods/khsqs.png'), id: 14 }, |
|
15: { name: '现金', src: require('@/assets/img/goods/cash-sm.png'), id: 15 }, |
|
17: { name: '存款凭条', src: require('@/assets/img/goods/ckpt.png'), id: 17 }, |
|
|
|
// 以下是我自己加的id 本来没有的 业务需要 |
|
24: { name: '开户申请书凭证联', src: require('@/assets/img/goods/khsqs.png'), id: 24 }, |
|
21: { name: '开户申请书回单', src: require('@/assets/img/goods/khsqs.png'), id: 21 }, |
|
269: { name: '存款凭条凭证联', src: require('@/assets/img/goods/ckpt.png'), id: 269 }, |
|
22: { name: '存款凭条回单', src: require('@/assets/img/goods/ckpt.png'), id: 22 }, |
|
420: { name: '取款凭条凭证联', src: require('@/assets/img/goods/qkpt.png'), id: 420 }, |
|
421: { name: '取款凭条回单', src: require('@/assets/img/goods/qkpt.png'), id: 421 }, |
|
|
|
419: { name: '转账凭条凭证联', src: require('@/assets/img/goods/zzpt.png'), id: 419 }, |
|
418: { name: '转账凭条回单', src: require('@/assets/img/goods/zzpt.png'), id: 418 }, |
|
|
|
422: { name: '利息清单凭证联', src: require('@/assets/img/goods/lxqd.png'), id: 422 }, |
|
424: { name: '利息清单回单', src: require('@/assets/img/goods/lxqd.png'), id: 424 }, |
|
|
|
430: { name: '旧定期存单', src: require('@/assets/img/goods/储蓄存单.png'), id: 430 }, |
|
429: { name: '新定期存单', src: require('@/assets/img/goods/储蓄存单.png'), id: 429 }, |
|
|
|
485: { name: '新定期存单凭证联', src: require('@/assets/img/seal/paid.png'), id: 485 }, |
|
486: { name: '新定期存单回单', src: require('@/assets/img/seal/paid.png'), id: 486 }, |
|
|
|
// 业务 10 以后的 |
|
442: { name: '法人身份证', src: require('@/assets/img/goods/idCard.png'), id: 442 }, |
|
431: { name: '法人身份证复印件', src: require('@/assets/img/idCard-copy-sm.png'), id: 431 }, |
|
|
|
443: { name: '开立银行结算账户申请书', src: require('@/assets/img/goods/ApplicationBankSettlement.png'), id: 443 }, |
|
|
|
434: { name: '统一社会信用代码证', src: require('@/assets/img/goods/营业执照.png'), id: 434 }, |
|
435: { name: '统一社会信用代码证复印件', src: require('@/assets/img/goods/营业执照复印件.png'), id: 435 }, |
|
436: { name: '开户许可证', src: require('@/assets/img/goods/开户许可证.png'), id: 436 }, |
|
437: { name: '开户许可证复印件', src: require('@/assets/img/goods/开户许可证复印件.png'), id: 437 }, |
|
432: { name: '开立银行结算账户申请书凭证联', src: require('@/assets/img/goods/ApplicationBankSettlement.png'), id: 432 }, |
|
433: { name: '开立银行结算账户申请书回单', src: require('@/assets/img/goods/ApplicationBankSettlement.png'), id: 433 }, |
|
|
|
409: { name: '现金存款凭证', src: require('@/assets/img/goods/CashCertificate.png'), id: 409 }, |
|
487: { name: '现金存款凭证联', src: require('@/assets/img/goods/CashCertificate.png'), id: 487 }, |
|
441: { name: '现金存款凭证回单', src: require('@/assets/img/goods/CashCertificate.png'), id: 441 }, |
|
440: { name: '现金存款凭证凭证联', src: require('@/assets/img/goods/CashCertificate.png'), id: 440 }, |
|
|
|
473: { name: '现金支票本联', src: require('@/assets/img/goods/xjzp.png'), id: 473 }, |
|
472: { name: '现金支票存根', src: require('@/assets/img/goods/xjzp.png'), id: 472 }, |
|
476: { name: '转账支票本联', src: require('@/assets/img/goods/sy-zzzp.png'), id: 476 }, |
|
474: { name: '转账支票存根', src: require('@/assets/img/goods/sy-zzzp.png'), id: 474 }, |
|
|
|
407: { name: '特殊业务申请书', src: require('@/assets/img/goods/businessSpecialApplication.png'), id: 407 }, |
|
478: { name: '特殊业务申请书凭证联', src: require('@/assets/img/goods/businessSpecialApplication.png'), id: 478 }, |
|
477: { name: '特殊业务申请书回单', src: require('@/assets/img/goods/businessSpecialApplication.png'), id: 477 }, |
|
406: { name: '密码挂失申请书', src: require('@/assets/img/goods/businessReportMissUser.png'), id: 406 }, |
|
466: { name: '密码挂失申请书凭证联', src: require('@/assets/img/goods/businessReportMissUser.png'), id: 466 }, |
|
468: { name: '客户回单', src: require('@/assets/img/goods/businessReportMissUser2.png'), id: 468 }, |
|
467: { name: '密码挂失申请书银行留存联', src: require('@/assets/img/goods/businessReportMissUser3.png'), id: 467 }, |
|
413: { name: '支票领购单', src: require('@/assets/img/goods/CheckCoupons.png'), id: 413 }, |
|
480: { name: '支票领购单回单', src: require('@/assets/img/goods/CheckCoupons.png'), id: 480 }, |
|
488: { name: '支票领购单凭证联', src: require('@/assets/img/goods/CheckCoupons.png'), id: 488 }, |
|
481: { name: '业务收费凭证回单', src: require('@/assets/img/goods/ywsfpz.png'), id: 481 }, |
|
482: { name: '业务收费凭证凭证联', src: require('@/assets/img/goods/ywsfpz.png'), id: 482 }, |
|
|
|
701: { name: '现金支票回单', src: require('@/assets/img/goods/xjzp.png'), id: 701 }, |
|
596: { name: '银行承兑协议一联', src: require('@/assets/img/goods/银行承兑协议.png'), id: 596 }, |
|
702: { name: '银行承兑协议二联', src: require('@/assets/img/goods/银行承兑协议.png'), id: 702 }, |
|
597: { name: '银行承兑协议三联', src: require('@/assets/img/goods/银行承兑协议.png'), id: 597 } |
|
|
|
// // 有图片的 |
|
// 407: {name:407,src:require('@/assets/img/goods/businessSpecialApplication.png'),id:407}, |
|
// 406: {name:406,src:require('@/assets/img/goods/businessReportMissUser.png'),id:406}, |
|
// 432: {name:432,src:require('@/assets/img/goods/ApplicationBankSettlement.png'),id:432}, |
|
// 409: {name:409,src:require('@/assets/img/goods/CashCertificate.png'),id:409}, |
|
// 413: {name:413,src:require('@/assets/img/goods/CheckCoupons.png'),id:413}, |
|
// 474: {name:474,src:require('@/assets/img/goods/sy-zzzp.png'),id:474}, |
|
// 472: {name:472,src:require('@/assets/img/goods/xjzp.png'),id:472}, |
|
} |
|
|
|
// 这里的参数是全体的 具体要不一样可以在业务的dataFlow中设置进行覆盖 |
|
const idNumber = '220602199202281229' |
|
function getBirthday (idCard) { |
|
var birthday = ""; |
|
if (idCard != null && idCard != "") { |
|
if (idCard.length == 15) { |
|
birthday = "19" + idCard.substr(6, 6); |
|
} else if (idCard.length == 18) { |
|
birthday = idCard.substr(6, 8); |
|
} |
|
|
|
birthday = birthday.replace(/(.{4})(.{2})/, "$1-$2-"); |
|
} |
|
|
|
return birthday; |
|
}; |
|
const birthday = getBirthday(idNumber) |
|
const userName = '丛小凤' |
|
const capital = 100 |
|
const peopleNumber = '111222' |
|
const collectingCompany = '袋鼠互联网科技有限公司' |
|
const transMoney = '81100' |
|
const phone = '15890317718' |
|
const staticPhone = '0755-88281987' |
|
const mailNumber = '518052' |
|
const eMailAddress = '666@qq.com' |
|
const drawerUsername = '12802851701099' // 出票人账号 |
|
const nowDepositNumber = '568812090' |
|
|
|
const voucherNumber = '6227007200580926' |
|
// 业务一的卡二号码 |
|
const voucherNumber2 = '6227007200582345' |
|
const sex = 2 // 1为男,2为女。 |
|
|
|
/* |
|
vuex数据结构:系统中需要实现一个不同业务中同个页面物品栏和箱子中的物品不同、判分不同。所以在vuex中写了一个对象来管理这些状态。对象中通过数组存id的方式存放这些东西。 |
|
通过不同的键值对表示不同的业务。其实更优秀的做法是将业务抽离成一个对象class,业务选择对象也抽离成一个class当成全局游戏对象。因为一开始没这样写后面改着麻烦所以就没改了。 |
|
*/ |
|
|
|
|
|
// 因为要求是在任何业务中,电脑中所有其他业务的信息也要正常显示,所以所有信息都在这里,然后如果业务有区分的则写进dataFlow |
|
const allDataFlow = { |
|
peopleNumber, |
|
userName, |
|
idType: '83', |
|
idNumber,//证件号码 |
|
sex,//性别 1为男, |
|
birthday,//出生日期 |
|
// nationality:'汉',//民族 |
|
mailbox: '广东省深圳市阳光村',//通讯地址 |
|
voucherNumber, |
|
voucherNumber2, |
|
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, |
|
interestRate: 1.85, |
|
totalMoney: 101.6, |
|
collectingCompany, |
|
transMoney, |
|
phone, |
|
staticPhone, |
|
mailNumber, |
|
eMailAddress, |
|
drawerUsername, |
|
// 这个属性确认销户前是否结清 |
|
isSettle: false, |
|
// 票据号码 |
|
ticketNumber: '00242986', |
|
'corporateClient': false, |
|
nowDepositNumber |
|
|
|
} |
|
|
|
// 因为vuex中的数据是缓存在sessionStorage中的,所以重新开始业务需要刷新所有的业务,所以一刷新我们就将这个初始状态替换到vuex中去。 |
|
// 实际上vuex中的数据是做缓存效果,可以有效减少请求服务器的次数,提高性能,容错性也非常好,因为一些地方后端是没缓存的,比如物品栏,资料,印章盒,就算需求变动前端很容易改。 |
|
const myInitState = { |
|
'业务一': { |
|
id: 489, |
|
name: '个人活期开户存款', |
|
data: [15, 13, 23, 14], |
|
needs: [16, 17], |
|
isStamp: { |
|
'业务专用章': [14, 428], |
|
'附件章': [23], |
|
// '收讫章': [ 17 ] |
|
}, |
|
backPeople: [], |
|
// backPeople: [21, 13, 22, 16], // 返还资料 |
|
cultureArr: [23, 24, 269], |
|
// 各种物品信息 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [16], // 重要空白凭证箱 |
|
commonArr: [17], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'consumerClient': false, |
|
'currentAccount/openAccount': false, |
|
'currentAccount/deposit': false, |
|
}, |
|
// dataFlowGo: 0, |
|
dataFlow: { |
|
// peopleNumber, |
|
// userName,//用户名字 |
|
// idType: '身份证', |
|
// idNumber,//证件号码 |
|
// sex,//性别 1为男, |
|
// birthday,//出生日期 |
|
// // nationality:'汉',//民族 |
|
// mailbox:'广东省深圳市阳光村',//通讯地址 |
|
// voucherNumber |
|
} |
|
}, |
|
'业务二': { |
|
id: 490, |
|
name: '个人活期转账取款销户', |
|
data: [16, 13, 23], |
|
needs: [427, 425, 15], |
|
isStamp: { |
|
'付讫章': [425, 427], |
|
'转讫章': [426], |
|
'附件章': [23] |
|
}, |
|
backPeople: [], |
|
// backPeople: [23, 418, 421, 424, 15], |
|
cultureArr: [13, 420, 419, 424], // 入库 |
|
// 各种物品信息 |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [425, 427], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
// 'consumerClient': false, |
|
// 'currentAccount/withdrawal': false, |
|
// 'currentAccount/transferAccounts': false, |
|
'currentAccount/settle': false, |
|
'currentAccount/Cancell': false |
|
}, |
|
// dataFlowGo: 0, |
|
dataFlow: { |
|
// cardNumber: '', // 卡号 |
|
voucherNumber, |
|
currency: 12, |
|
goldLogo: 13, |
|
serviceCharge: '0.00', |
|
drawWay: 18, |
|
interest: '0.1', |
|
balance: 666, |
|
totalMoney: '', |
|
transMoney: 5000 |
|
} |
|
}, |
|
'业务三': { |
|
id: 491, |
|
name: '整存整取开户存款', |
|
data: [15, 13, 23, 14], // 现金、身份证原件、复印件、开户申请书 |
|
needs: [428], |
|
isStamp: { |
|
'业务专用章': [14] |
|
}, |
|
backPeople: [], |
|
// backPeople: [21, 13 ], |
|
cultureArr: [24, 23], // 入库 |
|
// 各种物品信息 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [428], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'timeDeposit/openAccount': false, |
|
'timeDeposit/deposit': false |
|
}, |
|
dataFlow: { |
|
idNumber, |
|
userName, |
|
currency: 12, |
|
goldLogo: 13, |
|
peopleNumber, |
|
voucherNumber |
|
} |
|
}, |
|
'业务四': { |
|
id: 492, |
|
name: '整存整取部分提前支取', |
|
data: [13, 23, 430], // 身份证原件、复印件、 430 |
|
needs: [429, 425, 17, 15], // 新定期存单 取款凭条 存款凭条 现金 |
|
isStamp: { |
|
'业务专用章': [429], |
|
'付讫章': [425, 427], |
|
'收讫章': [17], |
|
'销户章': [430], |
|
'附件章': [23], |
|
// 取款凭条(付讫章)、利息清单(付讫章)、存款凭条(收讫章)、430(销户章)、新定期存单(业务专用章)、身份证复印件(附件章) |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 429, 15, 421, 22, 424 ], // |
|
cultureArr: [23, 430, 420, 269, 422], // |
|
// 各种物品信息 |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [429], // 重要空白凭证箱 |
|
commonArr: [425, 17, 427], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'timeDeposit/withdrawal': false |
|
}, |
|
dataFlow: { |
|
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) |
|
voucherNumber, |
|
userName, |
|
currency: 12, |
|
goldLogo: 13, |
|
interest: '0.00', |
|
depositNumber: '0912', |
|
capital, // 不知道是多少 |
|
withdrawType: 124, // 支取类别 |
|
withdrawWay: 125, // 支取方式 |
|
transMoney: 8000, |
|
oldDepositNumber: '568812090', |
|
newDepositNumber: '568812136', |
|
} |
|
}, |
|
'业务五': { |
|
id: 493, |
|
name: '整存整取全部提前支取', |
|
data: [13, 23, 428], // 身份证原件、复印件、 430 |
|
needs: [429, 425, 17, 15], // 新定期存单 取款凭条 存款凭条 现金 |
|
isStamp: { |
|
'付讫章': [425, 427], |
|
'销户章': [430], |
|
'附件章': [23], |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 429, 15, 421, 22, 424 ], // |
|
cultureArr: [23, 430, 420, 269, 422], // |
|
// 各种物品信息 |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'timeDeposit/withdrawal': false |
|
}, |
|
dataFlow: { |
|
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) |
|
userName, |
|
voucherNumber, |
|
currency: 12, |
|
goldLogo: 13, |
|
interest: '5.75', |
|
depositNumber: '0912', |
|
capital, // 不知道是多少 |
|
withdrawType: 124, // 支取类别 |
|
withdrawWay: 126, // 支取方式 |
|
oldDepositNumber: '568812136', |
|
newDepositNumber: '568812136', |
|
nowDepositNumber: '568812136' |
|
} |
|
}, |
|
'业务六': { |
|
id: 494, |
|
name: '零存整取开户', |
|
data: [13, 23, 14, 15], // 身份证原件、复印件、 开户申请书、 现金 |
|
needs: [16, 17], // 银行卡 存款凭条 |
|
isStamp: { // 还没加逻辑 |
|
'附件章': [23], |
|
'业务专用章': [14], |
|
'收讫章': [17], |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 16, 22, 13, 21 ], |
|
cultureArr: [23, 24, 269], |
|
// 各种物品信息 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'usefulPhrases/openAccount': false |
|
}, |
|
dataFlow: { |
|
// 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户) |
|
currency: 12, |
|
goldLogo: 13, |
|
capital: 1000000, |
|
userName, |
|
peopleNumber, |
|
idNumber, |
|
voucherNumber |
|
} |
|
}, |
|
'业务七': { |
|
id: 495, |
|
name: '零存整取续存', |
|
data: [13, 16, 15, 23], // 银行卡、 现金 |
|
needs: [17], // 存款凭条 |
|
isStamp: { |
|
'收讫章': [17], |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 16, 22 ], |
|
cultureArr: [269], |
|
// 各种物品信息 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'usefulPhrases/continueDeposit': false |
|
}, |
|
dataFlow: { |
|
// 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额 |
|
userName, |
|
depositNumber: '0816', |
|
currency: 12, |
|
goldLogo: 13, |
|
depositTerm: 86, |
|
monthDeposit: 15000, |
|
voucherNumber |
|
} |
|
}, |
|
'业务八': { |
|
id: 496, |
|
name: '零存整取支取销户', |
|
data: [13, 23, 16], // 身份证原件 复印件 银行卡 |
|
needs: [425, 427], // 存款凭条 利息清单 |
|
isStamp: { |
|
'付讫章': [425, 427], |
|
'附件章': [23], |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 16, 421, 424, 15 ], |
|
cultureArr: [23, 420, 422], |
|
// 各种物品信息 |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'usefulPhrases/accoumtClosed': false |
|
}, |
|
dataFlow: { |
|
idNumber, |
|
userName, |
|
depositNumber: '0816', |
|
currency: 12, |
|
goldLogo: 13, |
|
capital: 30000, |
|
interestRate: 1.85, |
|
depositTerm: 86, |
|
interest: 21, |
|
totalMoney: 30021, |
|
signDate: '2001-03-01', |
|
voucherNumber |
|
} |
|
}, |
|
'业务九': { |
|
id: 498, |
|
name: '通知存款开户', |
|
data: [15, 13, 23, 14], // 现金、身份证原件、复印件、开户申请书 |
|
needs: [428, 17], // 定期存单 存款凭条 |
|
isStamp: { |
|
'附件章': [23], |
|
'业务专用章': [14, 428], |
|
'收讫章': [17] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 21, 13, 428, 269 ], // 少了开户申请书回单、身份证、定期存单、存款凭条凭证联 (判分可减) |
|
cultureArr: [23, 24, 269], // 少了身份证复印件、开户申请书凭证联、存款凭条凭证联 |
|
// 各种物品信息 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'callDeposits/openAccount': false |
|
}, |
|
dataFlow: { |
|
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) |
|
idNumber, |
|
peopleNumber, |
|
userName, |
|
currency: 12, |
|
goldLogo: 13, |
|
voucherNumber, |
|
depositType: 92, |
|
// depositNumber: '0816', |
|
|
|
// capital: 100, |
|
// interestRate: 1.85, |
|
// depositTerm: '1年', |
|
// interest: 1.6, |
|
// totalMoney: 101.6, |
|
// signDate: '2001-03-01', |
|
// voucherNumber |
|
} |
|
}, |
|
'业务十': { |
|
id: 499, |
|
name: '通知存款销户', |
|
data: [13, 23, 428], // 身份证原件、复印件、定期存单 |
|
needs: [425, 427, 15], // 多了取款凭条、利息清单 现金 |
|
isStamp: { |
|
'付讫章': [425, 427], |
|
'附件章': [23], |
|
'销户章': [430], |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 421, 424, 15 ], // 少了身份证原件、421、424、现金 |
|
cultureArr: [23, 420, 420, 428], // 少了复印件、420、422、定期存单 |
|
// 各种物品信息 |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'callDeposits/accountClosed': false |
|
}, |
|
dataFlow: { |
|
// 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证) |
|
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) |
|
voucherType: 123, |
|
noticeType: 96, |
|
depositNumber: '0816', |
|
capital: 100, |
|
interest: 2.8, |
|
totalMoney: 800002.8, |
|
payType: 13, |
|
payMoney: 102.8, |
|
idNumber, |
|
peopleNumber, |
|
userName, |
|
currency: 12, |
|
goldLogo: 13, |
|
voucherNumber |
|
// depositNumber: '0816', |
|
|
|
// capital: 100, |
|
// interestRate: 1.85, |
|
// depositTerm: '1年', |
|
// interest: 1.6, |
|
// totalMoney: 101.6, |
|
// signDate: '2001-03-01', |
|
// voucherNumber |
|
} |
|
}, |
|
'业务十一': { |
|
id: 500, |
|
name: '公司基本户开立', |
|
data: [442, 431, 434, 435, 436, 437, 443], |
|
needs: [438, 469], // 多了普通空白凭证, 预留印鉴卡 |
|
isStamp: { |
|
'业务专用章': [432, 438], |
|
'附件章': [435, 437, 431], |
|
'私章': [469] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 442, 434, 436, 439, 433 ], // 少了法人身份证原件、统一社会信用代码证、开户许可证、预留印鉴卡一、开立银行结算账户申请书凭证联回单 |
|
cultureArr: [431, 432, 435, 437, 438, 469], // 少了法人身份证复印件、开立银行结算账户申请书凭证联、统一社会信用代码证复印件、开户许可证复印件、普通空白凭证、预留印鉴卡二、三 |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'corporateClient': false, |
|
'business/openAccount': false |
|
}, |
|
dataFlow: { |
|
idNumber, |
|
userName, |
|
peopleNumber, |
|
collectingCompany, |
|
} |
|
// dataFlow: { |
|
// // 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证) |
|
// // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) |
|
// |
|
// // depositNumber: '0816', |
|
// |
|
// // capital: 100, |
|
// // interestRate: 1.85, |
|
// // depositTerm: '1年', |
|
// // interest: 1.6, |
|
// // totalMoney: 101.6, |
|
// // signDate: '2001-03-01', |
|
// // voucherNumber |
|
// } |
|
}, |
|
'业务十二': { |
|
id: 501, |
|
name: '公司存款', |
|
data: [442, 431, 409, 15], // 15是现金 |
|
needs: [438, 439], // 多了普通空白凭证, 预留印鉴卡 |
|
isStamp: { |
|
'收讫章': [409], |
|
'附件章': [431], |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 442, 441 ], |
|
cultureArr: [431, 487], |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'business/deposit': false |
|
}, |
|
dataFlow: { |
|
transMoney: 800000, |
|
interestRate: 0.00 |
|
} |
|
}, |
|
'业务十三': { // 公司现金支票取款 |
|
id: 502, |
|
name: '公司现金支票取款', |
|
data: [442, 431, 411], |
|
needs: [425, 15], |
|
isStamp: { |
|
'付讫章': [425], |
|
'私章业务专用章': [411] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 442, 472, 421, 15 ], |
|
cultureArr: [473, 420], |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'business/withdrawal': false, |
|
|
|
}, |
|
test: { oo: 'oo' }, |
|
dataFlow: { |
|
transMoney: 60000, |
|
xx: 'xxx' |
|
// voucherNumber: '00242986', |
|
// idNumber, |
|
// userName, |
|
// peopleNumber, |
|
// currency:12, |
|
// goldLogo:13, |
|
} |
|
}, |
|
'业务十四': { // 公司现金支票转账 |
|
id: 503, |
|
name: '公司支票转账', |
|
data: [442, 412, 431], |
|
needs: [426], |
|
isStamp: { |
|
'私章转讫章': [412], |
|
'业务专用章': [426] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 442, 474, 418 ], |
|
cultureArr: [476, 419], |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'business/transfer': false |
|
}, |
|
dataFlow: { |
|
idNumber, |
|
// voucherNumber: '00246862', |
|
transMoney: 20000 |
|
} |
|
}, |
|
'业务十五': { // 密码修改 |
|
id: 504, |
|
name: '密码修改', |
|
data: [13, 23, 16, 407], // 身份证原件、复印件、银行卡、特殊业务申请书 |
|
needs: [], |
|
isStamp: { |
|
'附件章': [13], |
|
'业务专用章': [407] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 16, 477 ], // 少了身份证原件、银行卡、特殊业务申请书回单 |
|
cultureArr: [23, 478], // 少了复印件、特殊业务申请书凭证联 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'servicesAccount/passwordChange': false |
|
}, |
|
dataFlow: { |
|
idNumber, |
|
voucherNumber, |
|
userName |
|
} |
|
}, |
|
'业务十六': { // 密码挂失 |
|
id: 505, |
|
name: '密码挂失', |
|
data: [13, 23, 16, 406], // 身份证原件、复印件、银行卡、密码挂失申请书 |
|
needs: [], |
|
isStamp: { |
|
'附件章': [13], |
|
'业务专用章': [406] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 16, 468 ], // 少了身份证原件、银行卡、特殊业务申请书回单 |
|
cultureArr: [23, 466, 467], // 少了复印件、密码挂失申请书凭证联、密码挂失申请书银行留存联 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
needsModule: { |
|
'servicesAccount/passwordLost': false |
|
}, |
|
dataFlow: { |
|
voucherNumber, |
|
userName, |
|
idNumber |
|
} |
|
}, |
|
'业务十七': { // 挂失解挂 |
|
id: 506, |
|
name: '挂失解挂', |
|
data: [13, 23, 16, 468, 467], // 身份证原件、复印件、银行卡、密码挂失申请书回单、密码挂失申请书银行留存联 |
|
needs: [], |
|
isStamp: { |
|
'附件章': [13, 468], |
|
'业务专用章': [467] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 16, 468 ], // |
|
cultureArr: [23, 467], // |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱, |
|
|
|
needsModule: { |
|
// 这个业务没出 |
|
'servicesAccount/relieveLost': false |
|
}, |
|
dataFlow: { |
|
voucherNumber, |
|
idNumber, |
|
userName |
|
} |
|
|
|
}, |
|
'业务十八': { // 支票出售 |
|
id: 507, |
|
name: '支票出售', |
|
data: [13, 23, 15, 413], // 身份证原件、复印件、现金、支票领购单 |
|
needs: [411, 479], |
|
isStamp: { |
|
'附件章': [23], |
|
'业务专用章': [413, 479] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 480, 411, 481 ], // 少了身份证原件、支票领购单回单、现金支票、业务收费凭证回单 |
|
cultureArr: [23, 488, 488], // 少了复印件、支票领购单凭证联、业务收费凭证凭证联、 |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'controlCash3/index': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务十九': { // 现金领用 |
|
id: 508, |
|
name: '现金领用', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
needsModule: { |
|
'controlCash/cashRecipients': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十': { // 现金上缴 |
|
id: 509, |
|
name: '现金上缴', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'controlCash/cashTransferInto': false |
|
|
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十一': { // 现金调入 |
|
id: 548, |
|
name: '现金调入', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'controlCash/cashPaid': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十二': { // 现金调出 |
|
id: 549, |
|
name: '现金调出', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'controlCash/cashOut': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
|
|
'业务二十三': { // 凭证调入 |
|
id: 512, |
|
name: '凭证调入', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'controlCash2/cashPaid': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十四': { // 凭证调出 |
|
id: 511, |
|
name: '凭证调出', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
needsModule: { |
|
'controlCash2/cashOut': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十五': { // 凭证领用 |
|
id: 510, |
|
name: '凭证领用', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'controlCash2/cashRecipients': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十六': { // 凭证上缴 |
|
id: 514, |
|
name: '凭证上缴', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
needsModule: { |
|
'controlCash2/cashTransferInto': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十七': { // 柜员凭证扎帐 |
|
id: 570, |
|
name: '柜员凭证扎帐', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十八': { // 柜员现金扎帐 |
|
id: 516, |
|
name: '柜员现金扎帐', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十九': { // 网点日中扎帐 |
|
id: 517, |
|
name: '网点日终扎帐', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
} |
|
}, |
|
'业务三十': { // 同城提出 |
|
id: 567, |
|
name: '同城提出', |
|
data: [13, 23, 411], // |
|
needs: [], |
|
isStamp: { |
|
// '业务专用章': [ 411 ] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
collectingCompany: '康恩备集团', |
|
transMoney: 200000, |
|
assignDate: '2022-12-29' |
|
} |
|
}, |
|
'业务三十一': { // 同城提入 |
|
id: 576, |
|
name: '同城提入', |
|
data: [13, 23, 411], // |
|
needs: [], |
|
isStamp: { |
|
// '业务专用章': [ 411 ] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
collectingCompany: '开卷教育有限公司', |
|
transMoney: 200000, |
|
assignDate: '2022-12-29', |
|
ticketNumber: '00242930' |
|
} |
|
}, |
|
'业务三十二': { // 银行承兑汇票签发 |
|
id: 577, |
|
name: '银行承兑汇票签发', |
|
data: [13, 587], // |
|
needs: [], |
|
isStamp: { |
|
// '业务专用章': [ 411 ] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
collectingCompany: '开卷教育有限公司', |
|
transMoney: 200000, |
|
assignDate: '2022-12-29', |
|
ticketNumber: '00242930', |
|
drawDate: '2022-06-30', // 出票日期 |
|
expireDate: '2022-12-29', // 到期日期 |
|
} |
|
}, |
|
'业务三十四': { |
|
id: 704, |
|
name: '网上银行', |
|
data: [13, 16, 407], |
|
needs: [], |
|
isStamp: { |
|
// '业务专用章': [ 411 ] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
collectingCompany: '开卷教育有限公司', |
|
transMoney: 200000, |
|
assignDate: '2022-12-29', |
|
ticketNumber: '00242930', |
|
drawDate: '2022-06-30', // 出票日期 |
|
expireDate: '2022-12-29', // 到期日期 |
|
} |
|
}, |
|
} |
|
|
|
|
|
// 有些地方需要盖两个章,而后端判分是按照顺序判断的,比如 '收讫章','私章'给分,'私章','收讫章'就不给分,然后前端这就只能调整顺序再提交。 |
|
const sealArray = [/* 印章盒物品默认排序 */ |
|
'收讫章', '销户章', '私章', '附件章', '付讫章', '业务专用章', '转讫章' |
|
] |
|
|
|
import { Message } from 'element-ui'; |
|
import { addOperation, getSubjectInfo, reportDetail } from '@/api/http'; |
|
export default { |
|
namespaced: true, |
|
state: {/* 管理柜台状态 */ |
|
popId: '', |
|
tipsOperate: '', // 提示 |
|
id: '', |
|
showPop: false,// 弹框 |
|
popText: '', |
|
fullScreen: false,// 银行系统是否全屏 |
|
showGoods: false, // 物品栏的展开和关闭 |
|
// 当前的业务选择 |
|
businessKey: '', |
|
// 业务选择表是否展示: |
|
showBusiness: false, |
|
|
|
// 下拉框的数据,在电脑中的下拉框有许多相同的,不用每次都请求服务器,可以在这里拿数据: |
|
selectList: { |
|
currencySelectList: [], |
|
goldLogoSelectList: [], |
|
accountQualitySelectList: [], |
|
voucherTypeSelectList: [], |
|
accountTypeSelectList: [], |
|
chargeWayList: [], |
|
billTypeSelect: [], |
|
isTranslate: [], // 是否转让 |
|
idTypeList: [], // 身份证选项 |
|
accountManagementList: [], |
|
outAccountWayList: [], |
|
calculateWayList: [] |
|
}, |
|
|
|
// (要保存的业务数据): |
|
businessSelect: { |
|
'业务一': { |
|
id: 489, |
|
name: '个人活期开户存款', |
|
data: [15, 13, 23, 14], |
|
needs: [16, 17], |
|
isStamp: { |
|
'业务专用章': [14, 428], |
|
'附件章': [23], |
|
// '收讫章': [ 17 ] |
|
}, |
|
backPeople: [], |
|
// backPeople: [21, 13, 22, 16], // 返还资料 |
|
cultureArr: [23, 24, 269], |
|
// 各种物品信息 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [16], // 重要空白凭证箱 |
|
commonArr: [17], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'consumerClient': false, |
|
'currentAccount/openAccount': false, |
|
'currentAccount/deposit': false, |
|
}, |
|
// dataFlowGo: 0, |
|
dataFlow: { |
|
// peopleNumber, |
|
// userName,//用户名字 |
|
// idType: '身份证', |
|
// idNumber,//证件号码 |
|
// sex,//性别 1为男, |
|
// birthday,//出生日期 |
|
// // nationality:'汉',//民族 |
|
// mailbox:'广东省深圳市阳光村',//通讯地址 |
|
// voucherNumber |
|
} |
|
}, |
|
'业务二': { |
|
id: 490, |
|
name: '个人活期转账取款销户', |
|
data: [16, 13, 23], |
|
needs: [427, 425, 15], |
|
isStamp: { |
|
'付讫章': [425, 427], |
|
'转讫章': [426], |
|
'附件章': [23] |
|
}, |
|
backPeople: [], |
|
// backPeople: [23, 418, 421, 424, 15], |
|
cultureArr: [13, 420, 419, 424], // 入库 |
|
// 各种物品信息 |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [425, 427], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
// 'consumerClient': false, |
|
// 'currentAccount/withdrawal': false, |
|
// 'currentAccount/transferAccounts': false, |
|
'currentAccount/settle': false, |
|
'currentAccount/Cancell': false |
|
}, |
|
// dataFlowGo: 0, |
|
dataFlow: { |
|
// cardNumber: '', // 卡号 |
|
voucherNumber, |
|
currency: 12, |
|
goldLogo: 13, |
|
serviceCharge: '0.00', |
|
drawWay: 18, |
|
interest: '0.1', |
|
balance: 666, |
|
totalMoney: '', |
|
transMoney: 5000 |
|
} |
|
}, |
|
'业务三': { |
|
id: 491, |
|
name: '整存整取开户存款', |
|
data: [15, 13, 23, 14], // 现金、身份证原件、复印件、开户申请书 |
|
needs: [428], |
|
isStamp: { |
|
'业务专用章': [14] |
|
}, |
|
backPeople: [], |
|
// backPeople: [21, 13 ], |
|
cultureArr: [24, 23], // 入库 |
|
// 各种物品信息 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [428], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'timeDeposit/openAccount': false, |
|
'timeDeposit/deposit': false |
|
}, |
|
dataFlow: { |
|
idNumber, |
|
userName, |
|
currency: 12, |
|
goldLogo: 13, |
|
peopleNumber, |
|
voucherNumber |
|
} |
|
}, |
|
'业务四': { |
|
id: 492, |
|
name: '整存整取部分提前支取', |
|
data: [13, 23, 430], // 身份证原件、复印件、 430 |
|
needs: [429, 425, 17, 15], // 新定期存单 取款凭条 存款凭条 现金 |
|
isStamp: { |
|
'业务专用章': [429], |
|
'付讫章': [425, 427], |
|
'收讫章': [17], |
|
'销户章': [430], |
|
'附件章': [23], |
|
// 取款凭条(付讫章)、利息清单(付讫章)、存款凭条(收讫章)、430(销户章)、新定期存单(业务专用章)、身份证复印件(附件章) |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 429, 15, 421, 22, 424 ], // |
|
cultureArr: [23, 430, 420, 269, 422], // |
|
// 各种物品信息 |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [429], // 重要空白凭证箱 |
|
commonArr: [425, 17, 427], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'timeDeposit/withdrawal': false |
|
}, |
|
dataFlow: { |
|
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) |
|
voucherNumber, |
|
userName, |
|
currency: 12, |
|
goldLogo: 13, |
|
interest: '0.00', |
|
depositNumber: '0912', |
|
capital, // 不知道是多少 |
|
withdrawType: 124, // 支取类别 |
|
withdrawWay: 125, // 支取方式 |
|
transMoney: 8000, |
|
oldDepositNumber: '568812090', |
|
newDepositNumber: '568812136', |
|
} |
|
}, |
|
'业务五': { |
|
id: 493, |
|
name: '整存整取全部提前支取', |
|
data: [13, 23, 428], // 身份证原件、复印件、 430 |
|
needs: [429, 425, 17, 15], // 新定期存单 取款凭条 存款凭条 现金 |
|
isStamp: { |
|
'付讫章': [425, 427], |
|
'销户章': [430], |
|
'附件章': [23], |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 429, 15, 421, 22, 424 ], // |
|
cultureArr: [23, 430, 420, 269, 422], // |
|
// 各种物品信息 |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'timeDeposit/withdrawal': false |
|
}, |
|
dataFlow: { |
|
// 客户姓名、币种、钞汇标识、定存编号(0912)、本金(开户时存的业务中的金额)、支取类别(现金)、支取方式(密码) |
|
userName, |
|
voucherNumber, |
|
currency: 12, |
|
goldLogo: 13, |
|
interest: '5.75', |
|
depositNumber: '0912', |
|
capital, // 不知道是多少 |
|
withdrawType: 124, // 支取类别 |
|
withdrawWay: 126, // 支取方式 |
|
oldDepositNumber: '568812136', |
|
newDepositNumber: '568812136', |
|
nowDepositNumber: '568812136' |
|
} |
|
}, |
|
'业务六': { |
|
id: 494, |
|
name: '零存整取开户', |
|
data: [13, 23, 14, 15], // 身份证原件、复印件、 开户申请书、 现金 |
|
needs: [16, 17], // 银行卡 存款凭条 |
|
isStamp: { // 还没加逻辑 |
|
'附件章': [23], |
|
'业务专用章': [14], |
|
'收讫章': [17], |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 16, 22, 13, 21 ], |
|
cultureArr: [23, 24, 269], |
|
// 各种物品信息 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'usefulPhrases/openAccount': false |
|
}, |
|
dataFlow: { |
|
// 身份证号码、客户号、客户姓名、币种(人民币)、钞汇标识(钞户) |
|
currency: 12, |
|
goldLogo: 13, |
|
userName, |
|
peopleNumber, |
|
idNumber, |
|
voucherNumber |
|
} |
|
}, |
|
'业务七': { |
|
id: 495, |
|
name: '零存整取续存', |
|
data: [13, 16, 15, 23], // 银行卡、 现金 |
|
needs: [17], // 存款凭条 |
|
isStamp: { |
|
'收讫章': [17], |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 16, 22 ], |
|
cultureArr: [269], |
|
// 各种物品信息 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'usefulPhrases/continueDeposit': false |
|
}, |
|
dataFlow: { |
|
// 客户姓名、定存编号(0816)、币种、钞汇标识、存期(显示上一业务选中的存期)、月存金额 |
|
userName, |
|
depositNumber: '0816', |
|
currency: 12, |
|
goldLogo: 13, |
|
depositTerm: 86, |
|
monthDeposit: 15000, |
|
voucherNumber |
|
} |
|
}, |
|
'业务八': { |
|
id: 496, |
|
name: '零存整取支取销户', |
|
data: [13, 23, 16], // 身份证原件 复印件 银行卡 |
|
needs: [425, 427], // 存款凭条 利息清单 |
|
isStamp: { |
|
'付讫章': [425, 427], |
|
'附件章': [23], |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 16, 421, 424, 15 ], |
|
cultureArr: [23, 420, 422], |
|
// 各种物品信息 |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
|
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'usefulPhrases/accoumtClosed': false |
|
}, |
|
dataFlow: { |
|
idNumber, |
|
userName, |
|
depositNumber: '0816', |
|
currency: 12, |
|
goldLogo: 13, |
|
capital: 30000, |
|
interestRate: 1.85, |
|
depositTerm: 86, |
|
interest: 21, |
|
totalMoney: 30021, |
|
signDate: '2001-03-01', |
|
voucherNumber |
|
} |
|
}, |
|
'业务九': { |
|
id: 498, |
|
name: '通知存款开户', |
|
data: [15, 13, 23, 14], // 现金、身份证原件、复印件、开户申请书 |
|
needs: [428, 17], // 定期存单 存款凭条 |
|
isStamp: { |
|
'附件章': [23], |
|
'业务专用章': [14, 428], |
|
'收讫章': [17] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 21, 13, 428, 269 ], // 少了开户申请书回单、身份证、定期存单、存款凭条凭证联 (判分可减) |
|
cultureArr: [23, 24, 269], // 少了身份证复印件、开户申请书凭证联、存款凭条凭证联 |
|
// 各种物品信息 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
// 以下为数据流: |
|
needsModule: { |
|
'callDeposits/openAccount': false |
|
}, |
|
dataFlow: { |
|
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) |
|
idNumber, |
|
peopleNumber, |
|
userName, |
|
currency: 12, |
|
goldLogo: 13, |
|
voucherNumber, |
|
depositType: 92, |
|
// depositNumber: '0816', |
|
|
|
// capital: 100, |
|
// interestRate: 1.85, |
|
// depositTerm: '1年', |
|
// interest: 1.6, |
|
// totalMoney: 101.6, |
|
// signDate: '2001-03-01', |
|
// voucherNumber |
|
} |
|
}, |
|
'业务十': { |
|
id: 499, |
|
name: '通知存款销户', |
|
data: [13, 23, 428], // 身份证原件、复印件、定期存单 |
|
needs: [425, 427, 15], // 多了取款凭条、利息清单 现金 |
|
isStamp: { |
|
'付讫章': [425, 427], |
|
'附件章': [23], |
|
'销户章': [430], |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 421, 424, 15 ], // 少了身份证原件、421、424、现金 |
|
cultureArr: [23, 420, 420, 428], // 少了复印件、420、422、定期存单 |
|
// 各种物品信息 |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'callDeposits/accountClosed': false |
|
}, |
|
dataFlow: { |
|
// 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证) |
|
// 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) |
|
voucherType: 123, |
|
noticeType: 96, |
|
depositNumber: '0816', |
|
capital: 100, |
|
interest: 2.8, |
|
totalMoney: 800002.8, |
|
payType: 13, |
|
payMoney: 102.8, |
|
idNumber, |
|
peopleNumber, |
|
userName, |
|
currency: 12, |
|
goldLogo: 13, |
|
voucherNumber |
|
// depositNumber: '0816', |
|
|
|
// capital: 100, |
|
// interestRate: 1.85, |
|
// depositTerm: '1年', |
|
// interest: 1.6, |
|
// totalMoney: 101.6, |
|
// signDate: '2001-03-01', |
|
// voucherNumber |
|
} |
|
}, |
|
'业务十一': { |
|
id: 500, |
|
name: '公司基本户开立', |
|
data: [442, 431, 434, 435, 436, 437, 443], |
|
needs: [438, 469], // 多了普通空白凭证, 预留印鉴卡 |
|
isStamp: { |
|
'业务专用章': [432, 438], |
|
'附件章': [435, 437, 431], |
|
'私章': [469] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 442, 434, 436, 439, 433 ], // 少了法人身份证原件、统一社会信用代码证、开户许可证、预留印鉴卡一、开立银行结算账户申请书凭证联回单 |
|
cultureArr: [431, 432, 435, 437, 438, 469], // 少了法人身份证复印件、开立银行结算账户申请书凭证联、统一社会信用代码证复印件、开户许可证复印件、普通空白凭证、预留印鉴卡二、三 |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'corporateClient': false, |
|
'business/openAccount': false |
|
}, |
|
dataFlow: { |
|
idNumber, |
|
userName, |
|
peopleNumber, |
|
collectingCompany, |
|
} |
|
// dataFlow: { |
|
// // 凭证类型(存单)、客户号(根据案例展示)、客户姓名、币种(CNY人民币)、钞汇标识(钞户)、通知类型(根据案例展示)、定存编号(根据开户时的定存编号展示)、本金(开户时存的金额)、利息(2.8)、、总金额(利息+本金)、支取类别(现金)、支取金额(等于总金额)证件类型(身份证) |
|
// // 身份证号码、客户号(根据案例展示)、客户姓名、币种(人民币)、钞汇标识(钞户) |
|
// |
|
// // depositNumber: '0816', |
|
// |
|
// // capital: 100, |
|
// // interestRate: 1.85, |
|
// // depositTerm: '1年', |
|
// // interest: 1.6, |
|
// // totalMoney: 101.6, |
|
// // signDate: '2001-03-01', |
|
// // voucherNumber |
|
// } |
|
}, |
|
'业务十二': { |
|
id: 501, |
|
name: '公司存款', |
|
data: [442, 431, 409, 15], // 15是现金 |
|
needs: [438, 439], // 多了普通空白凭证, 预留印鉴卡 |
|
isStamp: { |
|
'收讫章': [409], |
|
'附件章': [431], |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 442, 441 ], |
|
cultureArr: [431, 487], |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'business/deposit': false |
|
}, |
|
dataFlow: { |
|
transMoney: 800000, |
|
interestRate: '0.00' |
|
} |
|
}, |
|
'业务十三': { // 公司现金支票取款 |
|
id: 502, |
|
name: '公司现金支票取款', |
|
data: [442, 411, 411], |
|
needs: [425, 15], |
|
isStamp: { |
|
'付讫章': [425], |
|
'私章业务专用章': [411] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 442, 472, 421, 15 ], |
|
cultureArr: [473, 420], |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'business/withdrawal': false, |
|
|
|
}, |
|
test: { oo: 'oo' }, |
|
dataFlow: { |
|
transMoney: 60000, |
|
xx: 'xxx' |
|
// voucherNumber: '00242986', |
|
// idNumber, |
|
// userName, |
|
// peopleNumber, |
|
// currency:12, |
|
// goldLogo:13, |
|
} |
|
}, |
|
'业务十四': { // 公司现金支票转账 |
|
id: 503, |
|
name: '公司支票转账', |
|
data: [442, 412, 431], |
|
needs: [426], |
|
isStamp: { |
|
'私章转讫章': [412], |
|
'业务专用章': [426] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 442, 474, 418 ], |
|
cultureArr: [476, 419], |
|
moneyBox: [15], // 钱箱 |
|
needBackMoney: true, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'business/transfer': false |
|
}, |
|
dataFlow: { |
|
idNumber, |
|
// voucherNumber: '00246862', |
|
transMoney: 20000 |
|
} |
|
}, |
|
'业务十五': { // 密码修改 |
|
id: 504, |
|
name: '密码修改', |
|
data: [13, 23, 16, 407], // 身份证原件、复印件、银行卡、特殊业务申请书 |
|
needs: [], |
|
isStamp: { |
|
'附件章': [13], |
|
'业务专用章': [407] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 16, 477 ], // 少了身份证原件、银行卡、特殊业务申请书回单 |
|
cultureArr: [23, 478], // 少了复印件、特殊业务申请书凭证联 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'servicesAccount/passwordChange': false |
|
}, |
|
dataFlow: { |
|
idNumber, |
|
voucherNumber, |
|
userName |
|
} |
|
}, |
|
'业务十六': { // 密码挂失 |
|
id: 505, |
|
name: '密码挂失', |
|
data: [13, 23, 16, 406], // 身份证原件、复印件、银行卡、密码挂失申请书 |
|
needs: [], |
|
isStamp: { |
|
'附件章': [13], |
|
'业务专用章': [406] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 16, 468 ], // 少了身份证原件、银行卡、特殊业务申请书回单 |
|
cultureArr: [23, 466, 467], // 少了复印件、密码挂失申请书凭证联、密码挂失申请书银行留存联 |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
needsModule: { |
|
'servicesAccount/passwordLost': false |
|
}, |
|
dataFlow: { |
|
voucherNumber, |
|
userName, |
|
idNumber |
|
} |
|
}, |
|
'业务十七': { // 挂失解挂 |
|
id: 506, |
|
name: '挂失解挂', |
|
data: [13, 23, 16, 468, 467], // 身份证原件、复印件、银行卡、密码挂失申请书回单、密码挂失申请书银行留存联 |
|
needs: [], |
|
isStamp: { |
|
'附件章': [13, 468], |
|
'业务专用章': [467] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 16, 468 ], // |
|
cultureArr: [23, 467], // |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱, |
|
|
|
needsModule: { |
|
// 这个业务没出 |
|
'servicesAccount/relieveLost': false |
|
}, |
|
dataFlow: { |
|
voucherNumber, |
|
idNumber, |
|
userName |
|
} |
|
|
|
}, |
|
'业务十八': { // 支票出售 |
|
id: 507, |
|
name: '支票出售', |
|
data: [13, 23, 15, 413], // 身份证原件、复印件、现金、支票领购单 |
|
needs: [411, 479], |
|
isStamp: { |
|
'附件章': [23], |
|
'业务专用章': [413, 479] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ 13, 480, 411, 481 ], // 少了身份证原件、支票领购单回单、现金支票、业务收费凭证回单 |
|
cultureArr: [23, 488, 488], // 少了复印件、支票领购单凭证联、业务收费凭证凭证联、 |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'controlCash3/index': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务十九': { // 现金领用 |
|
id: 508, |
|
name: '现金领用', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
needsModule: { |
|
'controlCash/cashRecipients': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十': { // 现金上缴 |
|
id: 509, |
|
name: '现金上缴', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'controlCash/cashTransferInto': false |
|
|
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十一': { // 现金调入 |
|
id: 548, |
|
name: '现金调入', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'controlCash/cashPaid': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十二': { // 现金调出 |
|
id: 549, |
|
name: '现金调出', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'controlCash/cashOut': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
|
|
'业务二十三': { // 凭证调入 |
|
id: 512, |
|
name: '凭证调入', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'controlCash2/cashPaid': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十四': { // 凭证调出 |
|
id: 511, |
|
name: '凭证调出', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
needsModule: { |
|
'controlCash2/cashOut': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十五': { // 凭证领用 |
|
id: 510, |
|
name: '凭证领用', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
|
|
needsModule: { |
|
'controlCash2/cashRecipients': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十六': { // 凭证上缴 |
|
id: 514, |
|
name: '凭证上缴', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
needsModule: { |
|
'controlCash2/cashTransferInto': false |
|
}, |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十七': { // 柜员凭证扎帐 |
|
id: 570, |
|
name: '柜员凭证扎帐', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十八': { // 柜员现金扎帐 |
|
id: 516, |
|
name: '柜员现金扎帐', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
} |
|
}, |
|
'业务二十九': { // 网点日中扎帐 |
|
id: 517, |
|
name: '网点日终扎帐', |
|
data: [], // |
|
needs: [438], |
|
isStamp: { |
|
'业务专用章': [438] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [438], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
} |
|
}, |
|
'业务三十': { // 同城提出 |
|
id: 567, |
|
name: '同城提出', |
|
data: [13, 23, 411], // |
|
needs: [], |
|
isStamp: { |
|
// '业务专用章': [ 411 ] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
collectingCompany: '康恩备集团', |
|
transMoney: 200000, |
|
assignDate: '2022-12-29' |
|
} |
|
}, |
|
'业务三十一': { // 同城提入 |
|
id: 576, |
|
name: '同城提入', |
|
data: [13, 23, 411], // |
|
needs: [], |
|
isStamp: { |
|
// '业务专用章': [ 411 ] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
collectingCompany: '开卷教育有限公司', |
|
transMoney: 200000, |
|
assignDate: '2022-12-29', |
|
ticketNumber: '00242930' |
|
} |
|
}, |
|
'业务三十二': { // 银行承兑汇票签发 |
|
id: 577, |
|
name: '银行承兑汇票签发', |
|
data: [13, 587], // |
|
needs: [], |
|
isStamp: { |
|
// '业务专用章': [ 411 ] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
collectingCompany: '开卷教育有限公司', |
|
transMoney: 200000, |
|
assignDate: '2022-12-29', |
|
ticketNumber: '00242930', |
|
drawDate: '2022-06-30', // 出票日期 |
|
expireDate: '2022-12-29', // 到期日期 |
|
} |
|
}, |
|
'业务三十四': { |
|
id: 704, |
|
name: '网上银行', |
|
data: [13, 16, 407], |
|
needs: [], |
|
isStamp: { |
|
// '业务专用章': [ 411 ] |
|
}, |
|
backPeople: [], |
|
// backPeople: [ ], |
|
cultureArr: [], |
|
|
|
moneyBox: [], // 钱箱 |
|
needBackMoney: false, // 需要钱箱取钱 |
|
peopleSign: [], // 客户签字 |
|
cultureIn: [], // 传票栏 |
|
sealBox: [], // 印章盒 |
|
currencyDetector: [], // 验钞机 |
|
printer: [], // 打印机 |
|
resource: [], // 资料 |
|
|
|
importanceArr: [], // 重要空白凭证箱 |
|
commonArr: [], // 普通凭证箱 |
|
dataFlow: { |
|
collectingCompany: '开卷教育有限公司', |
|
transMoney: 200000, |
|
assignDate: '2022-12-29', |
|
ticketNumber: '00242930', |
|
drawDate: '2022-06-30', // 出票日期 |
|
expireDate: '2022-12-29', // 到期日期 |
|
} |
|
}, |
|
}, |
|
// 初始化公共数据 |
|
allDataFlow: { ...allDataFlow }, |
|
isCredit: false, |
|
}, |
|
mutations: { |
|
// 设置tipDialog组件提示的信息。这个组件是根据UI设计的。 |
|
setTipsOperate (state, tipsOperate) { |
|
state.tipsOperate = tipsOperate |
|
}, |
|
|
|
// 页面开始的时候请求电脑录入的下拉框的数据 以供电脑中的下拉框使用 |
|
startPlay (state) { |
|
// 开始时调用,获取下拉框的东西。 |
|
|
|
// 38 |
|
// accountManagementList |
|
|
|
const mapObj = { |
|
38: 'accountManagementList', |
|
19: 'idTypeList', |
|
8: 'currencySelectList', |
|
9: 'goldLogoSelectList', |
|
10: 'accountQualitySelectList', |
|
11: 'voucherTypeSelectList', |
|
12: 'accountTypeSelectList', |
|
13: 'chargeWayList', |
|
57: 'billTypeSelect', |
|
76: 'isTranslate', |
|
40: 'outAccountWayList', |
|
39: 'calculateWayList', |
|
|
|
} |
|
|
|
for (const key in mapObj) { |
|
getSubjectInfo({ |
|
subject_id: key |
|
}).then((data) => { |
|
const name = mapObj[key] |
|
if (data.status == 200 && state.selectList[name].length === 0) { |
|
state.selectList[name].push(...data.data.items); |
|
} |
|
}).catch((error) => { }) |
|
} |
|
|
|
|
|
}, |
|
setPopId (state, id) { |
|
state.id = id |
|
}, |
|
|
|
// 改变所需模块的状态,完成前面的模块,后面的模块就不会提示。 |
|
setNeedsModule (state, name) { |
|
state.businessSelect[state.businessKey].needsModule[name] = true |
|
}, |
|
// 数据流动,当前面模块的信息被后面的模块需要时,用这个方法可以将前面模块的数据存到后面去,毕竟服务器接口少。比如模块1 -> 模块2 模块1完成的数据可以流到模块2 |
|
setDataFlow (state, obj) { |
|
// for(let key in obj) { |
|
|
|
// state.allDataFlow[key] = obj[key] |
|
// // this.$set() |
|
// } |
|
state.businessSelect[state.businessKey].dataFlow = { ...state.businessSelect[state.businessKey].dataFlow, ...obj } |
|
}, |
|
// 重置业务状态中的数据,用于重新开始。 |
|
initState (state) { |
|
state.businessSelect = JSON.parse(JSON.stringify(myInitState)) |
|
state.allDataFlow = { ...allDataFlow } |
|
// state.businessKey = '' |
|
}, |
|
// 控制选择业务列表的展示状态 |
|
setShowBusiness (state, isShow) { |
|
state.showBusiness = isShow |
|
}, |
|
// 需求是:点击桌面上的物品显示交互状态,但如果点击关闭则回退到一开始的状态。 |
|
replaceThingsGoods (state, idArr) { |
|
state.businessSelect[state.businessKey].data.splice(0, state.businessSelect[state.businessKey].data.length, ...idArr) |
|
}, |
|
// 替换某个业务中的某个箱子中的物品状态 |
|
replaceThings (state, { name, idArr }) { |
|
state.businessSelect[state.businessKey][name].splice(0, state.businessSelect[state.businessKey][name].length, ...idArr) |
|
}, |
|
// 向某个箱子中放入东西 |
|
pushThings (state, { name, idArr }) { |
|
if (name === 'sealBox') { // 印章盒只能放一个东西 |
|
const sealBox = state.businessSelect[state.businessKey][name] |
|
if (sealBox.length === 1) { |
|
this.commit('system/pushThingsGoods', [...sealBox]) |
|
state.businessSelect[state.businessKey][name].splice(0, 1, idArr[0]) |
|
} else { |
|
state.businessSelect[state.businessKey][name].push(idArr[0]) |
|
} |
|
} else { |
|
for (let i = 0; i < idArr.length; i++) { |
|
const index = state.businessSelect[state.businessKey][name].findIndex(item => item == idArr[i]) |
|
if (index === -1) { |
|
state.businessSelect[state.businessKey][name].push(idArr[i]) |
|
} |
|
} |
|
} |
|
}, |
|
// 向物品栏中放入东西 |
|
pushThingsGoods (state, idArr) { |
|
for (let i = 0; i < idArr.length; i++) { |
|
const index = state.businessSelect[state.businessKey].data.findIndex(item => item == idArr[i]) |
|
if (index === -1) { |
|
state.businessSelect[state.businessKey].data.push(idArr[i]) |
|
} |
|
} |
|
}, |
|
// 将某个箱子中的一些物品删掉 |
|
outThings (state, { name, idArr }) { |
|
if (!(idArr instanceof Array)) { |
|
const index = state.businessSelect[state.businessKey][name].findIndex(item => item.id == idArr) |
|
state.businessSelect[state.businessKey][name].splice(index, 1) |
|
} else { |
|
for (let i = 0; i < idArr.length; i++) { |
|
const index = state.businessSelect[state.businessKey][name].findIndex(item => item.id == idArr[i]) |
|
state.businessSelect[state.businessKey][name].splice(index, 1) |
|
} |
|
} |
|
}, |
|
// 将某个箱子中的一些物品删掉的方法2,更好用。 |
|
outThings2 (state, { name, index }) { |
|
if (state.businessSelect[state.businessKey][name].length > index) { |
|
state.businessSelect[state.businessKey][name].splice(index, 1) |
|
} |
|
}, |
|
// 删掉物品栏中的物品,和pushThings一起用,拿掉物品栏中物品的同时向箱子中装入物品。 |
|
outThingsGoods (state, idArr) { |
|
for (let i = 0; i < idArr.length; i++) { |
|
const index = state.businessSelect[state.businessKey].data.findIndex(item => item == idArr[i]) |
|
if (index !== -1) { |
|
state.businessSelect[state.businessKey].data.splice(index, 1) |
|
} |
|
} |
|
}, |
|
// 将物品放入传票栏 |
|
backCulture (state, idArr) { |
|
for (let i = 0; i < idArr.length; i++) { |
|
const index = state.businessSelect[state.businessKey].cultureArr.findIndex(item => item === idArr[i]) |
|
if (index !== -1) { |
|
// const index2 = state.businessSelect[state.businessKey].data.findIndex(item => item === idArr[i]) |
|
state.businessSelect[state.businessKey].cultureArr.splice(index, 1) // 我需要传票的少了相应的那个 |
|
// state.businessSelect[state.businessKey].data.splice(index2, 1) |
|
} |
|
this.commit('system/outThingsGoods', [...idArr]) |
|
} |
|
}, |
|
// 将物品返还给客户 |
|
backPeople (state, idArr) { |
|
for (let i = 0; i < idArr.length; i++) { |
|
const index = state.businessSelect[state.businessKey].backPeople.findIndex(item => item === idArr[i]) |
|
if (index !== -1) { |
|
state.businessSelect[state.businessKey].backPeople.splice(index, 1) |
|
// const index2 = state.businessSelect[state.businessKey].data.findIndex(item => item === idArr[i]) |
|
// state.businessSelect[state.businessKey].data.splice(index2, 1) |
|
} |
|
} |
|
this.commit('system/outThingsGoods', [...idArr]) |
|
}, |
|
// 将现金放入钱箱 |
|
payMoney (state) { |
|
const index = state.businessSelect[state.businessKey].data.findIndex(item => item === 15) |
|
if (index !== -1) { |
|
state.businessSelect[state.businessKey].data.splice(index, 1) |
|
} |
|
}, |
|
// 盖章逻辑(本来想着直接把审核资料、验钞等方法也写在这里的,因为直接物品也在这里。奈何时间不太够。没事) cb是回调函数 |
|
stampJudge (state, { sealArr, cb }) { |
|
// const needStamp = state.businessSelect[state.businessKey].isStamp |
|
const id = state.businessSelect[state.businessKey].sealBox[0] |
|
let judgeDelete = true // 盖完章是否变化 为false的会删掉。。。 |
|
let stampSuccess = '' // 盖章成功 |
|
// 以为要特定的章盖特定的物品,盖完后结果还不一样。有些东西盖了会消失,有些不会。 |
|
// 有些东西还要盖两个章。当时选择了最直接的if-else判断。其实用map结构也不是不行。 |
|
debugger |
|
if (sealArr.length === 1) { |
|
const seal = sealArr[0] |
|
debugger |
|
if (seal === '业务专用章') { |
|
if (id === 14) { |
|
state.businessSelect[state.businessKey].data.push(24, 21) |
|
cb([24, 21]) |
|
judgeDelete = false |
|
stampSuccess = '18' |
|
} else if (id === 429) { |
|
stampSuccess = '449' |
|
} else if (id === 428) { |
|
stampSuccess = '19' |
|
} else if (id === 432) { |
|
state.businessSelect[state.businessKey].data.push(432, 433) |
|
judgeDelete = false |
|
stampSuccess = '452' |
|
} else if (id === 438) { |
|
stampSuccess = '465' |
|
} else if (id === 425) { |
|
state.businessSelect[state.businessKey].data.push(420, 421) |
|
judgeDelete = false |
|
stampSuccess = '444' |
|
cb([420, 421]) |
|
} else if (id === 426) { |
|
state.businessSelect[state.businessKey].data.push(419, 418) |
|
judgeDelete = false |
|
stampSuccess = '458' |
|
} else if (id === 407) { |
|
state.businessSelect[state.businessKey].data.push(478, 477) |
|
judgeDelete = false |
|
stampSuccess = '459' |
|
cb([478, 477]) |
|
} else if (id === 406) { |
|
state.businessSelect[state.businessKey].data.push(466, 468) |
|
judgeDelete = false |
|
stampSuccess = '460' |
|
} else if (id === 467) { |
|
stampSuccess = '461' |
|
} else if (id === 413) { |
|
state.businessSelect[state.businessKey].data.push(488, 480) |
|
judgeDelete = false |
|
stampSuccess = '463' |
|
cb([488, 480]) |
|
} else if (id === 479) { |
|
state.businessSelect[state.businessKey].data.push(482, 481) |
|
judgeDelete = false |
|
stampSuccess = '464' |
|
cb([482, 481]) |
|
} else if (id === 443) { |
|
state.businessSelect[state.businessKey].data.push(432, 433) |
|
judgeDelete = false |
|
cb([432, 433]) |
|
stampSuccess = '452' |
|
|
|
} else if (id === 411) { |
|
// judgeDelete = false |
|
} |
|
} else if (seal === '付讫章') { |
|
if (id === 425) { |
|
state.businessSelect[state.businessKey].data.push(420, 421) |
|
judgeDelete = false |
|
stampSuccess = '444' |
|
cb([420, 421]) |
|
} |
|
else if (id === 427) { |
|
state.businessSelect[state.businessKey].data.push(422, 424) |
|
judgeDelete = false |
|
stampSuccess = '445' |
|
cb([422, 424]) |
|
} |
|
else if (id === 411) { |
|
state.businessSelect[state.businessKey].data.push(473, 472) |
|
judgeDelete = false |
|
stampSuccess = '456' |
|
cb([472, 473]) |
|
} |
|
} else if (seal === '转讫章') { |
|
if (id === 426) { |
|
state.businessSelect[state.businessKey].data.push(419, 418) |
|
judgeDelete = false |
|
stampSuccess = '458' |
|
cb([419, 418]) |
|
} |
|
} else if (seal === '附件章') { |
|
if (id === 23) { |
|
stampSuccess = '20' |
|
} else if (id === 435) { |
|
stampSuccess = '435' |
|
} else if (id === 437) { |
|
stampSuccess = '437' |
|
} else if (id === 431) { |
|
stampSuccess = '484' |
|
} else if (id === 468) { |
|
stampSuccess = '462' |
|
} |
|
} else if (seal === '收讫章') { |
|
if (id === 17) { |
|
state.businessSelect[state.businessKey].data.push(269, 22) |
|
judgeDelete = false |
|
stampSuccess = '447' |
|
} else if (id === 409) { |
|
state.businessSelect[state.businessKey].data.push(440, 441) |
|
judgeDelete = false |
|
stampSuccess = '455' |
|
cb([440, 441]) |
|
} |
|
} else if (seal === '销户章') { |
|
if (id === 430) { |
|
stampSuccess = '448' |
|
} else if (id === 428) { |
|
stampSuccess = '451' |
|
} |
|
} else if (seal === '私章') { |
|
if (id === 439) { |
|
stampSuccess = '454' |
|
} else if (id === 411) { |
|
judgeDelete = false |
|
} else if (id === 469 || id === 470 || id === 471) { |
|
stampSuccess = id |
|
} |
|
} |
|
} else if (sealArr.length === 2) { |
|
// sealArray 按顺序命名 |
|
const index1 = sealArray.findIndex(item => item === sealArr[0]) |
|
const index2 = sealArray.findIndex(item => item === sealArr[1]) |
|
let seal = '' |
|
if (index1 < index2) { |
|
seal = sealArr[0] + sealArr[1] |
|
} else { |
|
seal = sealArr[1] + sealArr[0] |
|
} |
|
console.log('seal =>', seal) |
|
if (seal === '私章业务专用章') { |
|
if (id === 411) { |
|
state.businessSelect[state.businessKey].data.push(473, 472) |
|
judgeDelete = false |
|
stampSuccess = '456' |
|
cb([473, 472]) |
|
} |
|
// 业务十四 给转账支票盖业务专用章和私章,出来“转账支票本联”(盖章状态)和“转账支票存根”(盖章状态) |
|
if (id === 412) { |
|
state.businessSelect[state.businessKey].data.push(476, 474) |
|
judgeDelete = false |
|
stampSuccess = '457' |
|
cb([476, 474]) |
|
} |
|
if (id === 584) { |
|
state.businessSelect[state.businessKey].data.push(582, 581, 580, 583) |
|
judgeDelete = false |
|
stampSuccess = '584' |
|
cb([582, 581, 580, 583]) |
|
} |
|
if (id === 587) { |
|
state.businessSelect[state.businessKey].data.push(596, 702, 597) |
|
judgeDelete = false |
|
stampSuccess = '585' |
|
cb([596, 702, 597]) |
|
} |
|
// 584 |
|
} else if (seal === '私章转讫章') { |
|
if (id === 412) { |
|
state.businessSelect[state.businessKey].data.push(476, 474) |
|
judgeDelete = false |
|
stampSuccess = '457' |
|
} |
|
} else if (seal === '私章付讫章') { |
|
if (id === 411) { |
|
state.businessSelect[state.businessKey].data.push(411, 472) |
|
judgeDelete = false |
|
stampSuccess = '456' |
|
cb([411, 472]) |
|
} |
|
} |
|
} |
|
// if(stampSuccess) { |
|
let projectId = sessionStorage.getItem('projectId') |
|
let startTime = sessionStorage.getItem('startTime') |
|
if (!sessionStorage.getItem('stampList')) { |
|
sessionStorage.setItem('stampList', JSON.stringify([])) |
|
} |
|
const formList = JSON.parse(sessionStorage.getItem('stampList')) |
|
const findIt = formList.findIndex(item => item.answerId === stampSuccess) |
|
debugger |
|
if (findIt === -1) { |
|
formList.push({ "answerId": stampSuccess, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + state.businessSelect[state.businessKey].id + ",287,8," + stampSuccess, "type": "" }) |
|
sessionStorage.setItem('stampList', JSON.stringify(formList)) |
|
// 业务十一下给开立银行结算账户申请书盖完章后要调3次下面接口,因此这里特殊处理,手动添加两个 |
|
if (stampSuccess == 452 && id === 443) { |
|
// formList.push( |
|
// {"answerId":'432', "emptyOne": "", "emptyTwo": "", "operationIds": "285," + state.businessSelect[state.businessKey].id + ",287,8,432","type": ""}, |
|
// {"answerId":'433', "emptyOne": "", "emptyTwo": "", "operationIds": "285," + state.businessSelect[state.businessKey].id + ",287,8,433","type": ""} |
|
// ) |
|
} |
|
} |
|
// let formList = [ {"answerId":stampSuccess, "emptyOne": "", "emptyTwo": "", "operationIds": "285," + state.businessSelect[state.businessKey].id + ",287,8,"+stampSuccess,"type": ""} ] |
|
let params = { |
|
parentId: '285,' + state.businessSelect[state.businessKey].id + ',287,8', |
|
lcJudgmentRuleReq: formList, |
|
projectId: +projectId, |
|
startTime: startTime, |
|
} |
|
debugger |
|
addOperation(params).then((data) => { |
|
// 给存款凭证盖收讫章 要特殊处理:盖完后去掉存款凭证,然后显示盖了章的存款凭条凭证联和存款凭条回单 |
|
if (sealArr[0] === '收讫章' && id === 17) { |
|
cb(22) |
|
cb(269) |
|
} |
|
// 给开立银行结算账户申请书凭证联盖业务专用章 |
|
if (sealArr[0] === '业务专用章' && id === 432) { |
|
// cb(432) |
|
// cb(433) |
|
} |
|
if (judgeDelete) { |
|
this.commit('system/pushThingsGoods', [...state.businessSelect[state.businessKey].sealBox]) |
|
cb(id) |
|
} |
|
// 盖章会消失的删掉 |
|
state.businessSelect[state.businessKey].sealBox.splice(0, 1) |
|
this.commit('system/setTipsOperate', '盖章成功!') |
|
}).catch((error) => { |
|
}) |
|
// }else { |
|
|
|
// this.commit('system/pushThingsGoods', [...state.businessSelect[state.businessKey].sealBox]) |
|
// state.businessSelect[state.businessKey].sealBox.splice(0, 1) |
|
// this.commit('system/setTipsOperate', '盖章成功!') |
|
// } |
|
// Message.success({ |
|
// center: true, |
|
// message: '盖章成功' |
|
// }) |
|
}, |
|
// 设置当前的业务 |
|
setBusinessKey: (state, val) => { |
|
state.businessKey = val |
|
}, |
|
// 刷新的时候会在sessionStorage中保存system中的信息,刷新完成后赋值回来 |
|
setBusinessSelect (state, val) { |
|
state.businessSelect = val |
|
}, |
|
// 将物品添加到物品栏中 |
|
addGoods: (state, goods) => { |
|
if (!(goods instanceof Array)) { |
|
goods = [goods] |
|
} |
|
const needArr = [...state.businessSelect[state.businessKey].needs] |
|
for (let i = 0; i < goods.length; i++) { |
|
const index = state.businessSelect[state.businessKey].data.findIndex(item => item == goods[i]) |
|
if (index !== -1) { |
|
state.businessSelect[state.businessKey].data.push(needArr[j]) |
|
} |
|
} |
|
}, |
|
// 将物品栏中的某个物品删除掉 |
|
deleteGoods: (state, index) => { |
|
// 传个物品对象过来 |
|
state.businessSelect[state.businessKey].data.splice(index, 1) |
|
}, |
|
// 改变电脑屏幕的大小 |
|
changeFullscreen: (state, val) => { |
|
state.fullScreen = val |
|
}, |
|
// 更改弹窗状态(显示、文字) |
|
changePop: (state, val) => { |
|
state.showPop = val.show |
|
state.popText = val.text ? val.text : '' |
|
state.id = val.id ? val.id : state.id |
|
if (!state.popText.includes('密码') && state.showPop && state.popText) { |
|
state.showGoods = true; |
|
} else { |
|
state.showGoods = false; |
|
} |
|
}, |
|
// 物品栏的展开和关闭 |
|
changeShowGoods (state, judge) { |
|
state.showGoods = judge |
|
}, |
|
// 信贷部的标识(综合柜台跟信贷部是同一个页面,通过该标识去区分是否信贷部) |
|
setCredit (state, val) { |
|
state.isCredit = val |
|
}, |
|
}, |
|
actions: { |
|
}, |
|
getters: { |
|
// businessSelect |
|
// 获取业务列表供给业务选择使用 |
|
getBusinessSelectList (state) { |
|
const arr = [] |
|
for (const key in state.businessSelect) { |
|
arr.push({ |
|
myKey: key, |
|
text: ': ' + state.businessSelect[key].name |
|
}) |
|
} |
|
return arr |
|
}, |
|
// 获取页面中的下拉框的选项 |
|
getSelectList (state) { |
|
return state.selectList |
|
}, |
|
popId (state) { |
|
return state.popId |
|
}, |
|
// 获得当前业务的id,用来发送请求/获取缓存 |
|
businessId (state) { |
|
return state.businessSelect[state.businessKey].id + ',' |
|
}, |
|
// 刷卡器卡号 |
|
idCardNumber (state) { |
|
return '213224896' |
|
}, |
|
// 获得流到哪个模块的名字 |
|
needsModule (state) { |
|
return (module) => { |
|
const obj = state.businessSelect[state.businessKey].needsModule |
|
for (let key in obj) { |
|
if (module === key) { |
|
return '' |
|
} |
|
if (!obj[key]) { |
|
return key |
|
} |
|
} |
|
} |
|
}, |
|
// 选择业务后合并信息,有些业务需要配置自己的信息 |
|
dataFlow (state) { |
|
return Object.assign(state.allDataFlow, state.businessSelect[state.businessKey].dataFlow) |
|
}, |
|
// 拿到物品栏中的物品 |
|
goods2 (state) { |
|
// 调试容错采用if-else |
|
const arr = [] |
|
if (state.businessKey !== '') { |
|
for (const item of state.businessSelect[state.businessKey].data) { |
|
if (state.businessKey == '业务七') { |
|
if (item !== 23) { |
|
arr.push(allGoods[item]) |
|
} |
|
} else if (state.businessKey == '业务十一') { |
|
arr.push(allGoods[item]) |
|
} else { |
|
arr.push(allGoods[item]) |
|
} |
|
} |
|
// 找到银行卡item |
|
const item = arr.find(item => item.id === 16) |
|
if (item) { |
|
// 如果是业务一,则物品栏中的银行卡名字为一类银行卡 |
|
if (state.businessKey === '业务一') { |
|
item.name = '一类银行卡' |
|
} else { |
|
item.name = '银行卡' |
|
} |
|
} |
|
} |
|
return arr |
|
}, |
|
|
|
|
|
goodState (state) { |
|
const arr = [] |
|
if (state.popText === '钱箱') { |
|
for (let item of state.businessSelect[state.businessKey].moneyBox) { |
|
arr.push(allGoods[item]) |
|
} |
|
} else if (state.popText === '客户签字') { |
|
for (let item of state.businessSelect[state.businessKey].peopleSign) { |
|
arr.push(allGoods[item]) |
|
} |
|
} else if (state.popText === '返还资料') { |
|
for (let item of state.businessSelect[state.businessKey].backPeople) { |
|
arr.push(allGoods[item]) |
|
} |
|
} |
|
else if (state.popText == '传票栏') { |
|
for (let item of state.businessSelect[state.businessKey].cultureIn) { |
|
arr.push(allGoods[item]) |
|
} |
|
} else if (state.popText == '印章盒') { |
|
for (let item of state.businessSelect[state.businessKey].sealBox) { |
|
arr.push(allGoods[item]) |
|
} |
|
} |
|
else if (state.popText == '验钞机') { |
|
for (let item of state.businessSelect[state.businessKey].currencyDetector) { |
|
arr.push(allGoods[item]) |
|
} |
|
} else if (state.popText == '打印机') { |
|
for (let item of state.businessSelect[state.businessKey].printer) { |
|
arr.push(allGoods[item]) |
|
} |
|
} else if (state.popText == '资料') { |
|
for (let item of state.businessSelect[state.businessKey].resource) { |
|
arr.push(allGoods[item]) |
|
} |
|
} else { |
|
// return |
|
} |
|
return arr |
|
}, |
|
// needBackMoney: false, // 需要钱箱取钱 |
|
needBackMoney (state) { |
|
if (state.businessKey !== '') { |
|
return state.businessSelect[state.businessKey].needBackMoney |
|
} else { |
|
return false |
|
} |
|
}, |
|
inMyWork (state) { |
|
return (moduleName) => { |
|
for (let key in state.businessSelect[state.businessKey].needsModule) { |
|
if (moduleName === key) { |
|
return true |
|
} |
|
} |
|
return false |
|
} |
|
}, |
|
} |
|
} |