diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index 2f43f2d..4989973 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -449,7 +449,7 @@ export default { popArr:[/* 弹窗展示的物品 */ {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16}, {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19}, - {name:'预留印签卡',src:require('@/assets/img/seal/paid.png'),id:'预留印签卡'}, + {name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:'预留印鉴卡'}, {name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:'转账支票'}, {name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30}, {name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票'}, @@ -479,11 +479,29 @@ export default { {name:'新定期存单',src:require('@/assets/img/seal/paid.png'),id:192}, {name:'新定期存单凭证联',src:require('@/assets/img/seal/paid.png'),id:193}, {name:'新定期存单回单',src:require('@/assets/img/seal/paid.png'),id:194}, + + // 业务 10 以后的 + {name:'法人身份证',src:require('@/assets/img/goods/idcard.png'),id:'法人身份证'}, + {name:'法人身份证复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:'法人身份证复印件'}, + {name:'开立银行接算账户申请书',src:require('@/assets/img/goods/khsqs.png'),id:'开立银行接算账户申请书'}, + {name:'统一社会信用代码证',src:require('@/assets/img/goods/ywsfpz.png'),id:'统一社会信用代码证'}, + {name:'统一社会信用代码证复印件',src:require('@/assets/img/goods/ywsfpz.png'),id:'统一社会信用代码证复印件'}, + {name:'开户许可证',src:require('@/assets/img/goods/lxqd.png'),id:'开户许可证'}, + {name:'开户许可证复印件',src:require('@/assets/img/goods/lxqd.png'),id:'开户许可证复印件'}, + {name:'开立银行接算账户申请书凭证联',src:require('@/assets/img/goods/khsqs.png'),id:'开立银行接算账户申请书凭证联'}, + {name:'开立银行接算账户申请书回单',src:require('@/assets/img/goods/khsqs.png'),id:'开立银行接算账户申请书回单'}, + {name:'现金存款凭证',src:require('@/assets/img/goods/khsqs.png'),id:'现金存款凭证'}, + {name:'现金存款凭证联',src:require('@/assets/img/goods/khsqs.png'),id:'现金存款凭证联'}, + {name:'现金存款凭证回单',src:require('@/assets/img/goods/khsqs.png'),id:'现金存款凭证回单'}, + {name:'现金支票本联',src:require('@/assets/img/goods/khsqs.png'),id:'现金支票本联'}, + {name:'现金支票存根',src:require('@/assets/img/goods/khsqs.png'),id:'现金支票存根'}, + {name:'转账支票本联',src:require('@/assets/img/goods/khsqs.png'),id:'转账支票本联'}, + {name:'转账支票存根',src:require('@/assets/img/goods/khsqs.png'),id:'转账支票存根'}, ], receptionList:[ ], - sealArr:[/* 印章盒物品 */ + sealArr:[/* 印章盒物品 */ // 不要改动id和name! 要出问题的 {name:'收讫章',src:require('@/assets/img/seal/paid.png'),id:'收讫章'}, {name:'销户章',src:require('@/assets/img/seal/closing.png'),id:'销户章'}, {name:'私章',src:require('@/assets/img/seal/personal.png'),id:'私章'}, @@ -495,7 +513,7 @@ export default { importanceArr:[/* 重要空白凭证 */ {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16}, {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19}, - {name:'预留印签卡',src:require('@/assets/img/seal/paid.png'),id:'预留印签卡'}, + {name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:'预留印鉴卡'}, {name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:'转账支票'}, {name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30}, {name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票'}, @@ -1478,7 +1496,7 @@ export default { }); return } - + // 进去会排序 多的不用管 const sealArr = [...this.sealChecked] this.stampJudge(sealArr) }else{ diff --git a/src/store/modules/system.js b/src/store/modules/system.js index 633f335..2ead747 100644 --- a/src/store/modules/system.js +++ b/src/store/modules/system.js @@ -4,7 +4,7 @@ const allGoods = { 16: {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16}, 19: {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19}, - '预留印签卡': {name:'预留印签卡',src:require('@/assets/img/seal/paid.png'),id:'预留印签卡'}, + '预留印鉴卡': {name:'预留印鉴卡',src:require('@/assets/img/seal/paid.png'),id:'预留印鉴卡'}, '转账支票': {name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:'转账支票'}, 30: {name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30}, '现金支票': {name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票'}, @@ -35,8 +35,30 @@ const allGoods = { 192: {name:'新定期存单',src:require('@/assets/img/seal/paid.png'),id:192}, 193: {name:'新定期存单凭证联',src:require('@/assets/img/seal/paid.png'),id:193}, 194: {name:'新定期存单回单',src:require('@/assets/img/seal/paid.png'),id:194}, + + // 业务 10 以后的 + '法人身份证': {name:'法人身份证',src:require('@/assets/img/goods/idcard.png'),id:'法人身份证'}, + '法人身份证复印件': {name:'法人身份证复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:'法人身份证复印件'}, + '开立银行接算账户申请书': {name:'开立银行接算账户申请书',src:require('@/assets/img/goods/khsqs.png'),id:'开立银行接算账户申请书'}, + '统一社会信用代码证': {name:'统一社会信用代码证',src:require('@/assets/img/goods/ywsfpz.png'),id:'统一社会信用代码证'}, + '统一社会信用代码证复印件': {name:'统一社会信用代码证复印件',src:require('@/assets/img/goods/ywsfpz.png'),id:'统一社会信用代码证复印件'}, + '开户许可证': {name:'开户许可证',src:require('@/assets/img/goods/lxqd.png'),id:'开户许可证'}, + '开户许可证复印件': {name:'开户许可证复印件',src:require('@/assets/img/goods/lxqd.png'),id:'开户许可证复印件'}, + '开立银行接算账户申请书凭证联': {name:'开立银行接算账户申请书凭证联',src:require('@/assets/img/goods/khsqs.png'),id:'开立银行接算账户申请书凭证联'}, + '开立银行接算账户申请书回单': {name:'开立银行接算账户申请书回单',src:require('@/assets/img/goods/khsqs.png'),id:'开立银行接算账户申请书回单'}, + '现金存款凭证': {name:'现金存款凭证',src:require('@/assets/img/goods/khsqs.png'),id:'现金存款凭证'}, + '现金存款凭证联': {name:'现金存款凭证联',src:require('@/assets/img/goods/khsqs.png'),id:'现金存款凭证联'}, + '现金存款凭证回单': {name:'现金存款凭证回单',src:require('@/assets/img/goods/khsqs.png'),id:'现金存款凭证回单'}, + '现金支票本联': {name:'现金支票本联',src:require('@/assets/img/goods/khsqs.png'),id:'现金支票本联'}, + '现金支票存根': {name:'现金支票存根',src:require('@/assets/img/goods/khsqs.png'),id:'现金支票存根'}, + '转账支票本联': {name:'转账支票本联',src:require('@/assets/img/goods/khsqs.png'),id:'转账支票本联'}, + '转账支票存根': {name:'转账支票存根',src:require('@/assets/img/goods/khsqs.png'),id:'转账支票存根'}, } +const sealArray = [/* 印章盒物品默认排序 */ + '收讫章', '销户章','私章','附件章','付讫章','业务专用章', '转讫章' +] + import { Message } from 'element-ui'; export default { @@ -165,6 +187,112 @@ export default { cultureIn: [], // 传票栏 sealBox: [] // 印章盒 }, + '项目八': { + data: [ 13, 23, 16 ], // 身份证原件 复印件 银行卡 + needs: [ '取款凭条', '利息清单' ], // 存款凭条 利息清单 + isStamp: { + '付讫章': [ '取款凭条', '利息清单' ], + '附件章': [ 23 ], + }, + backPeople: [ 13, 16, '取款凭条回单', '利息清单回单', 15 ], + cultureArr: [ 23, '取款凭条凭证联', '利息清单凭证联' ], + // 各种物品信息 + moneyBox: [ 15 ], // 钱箱 + peopleSign: [ ], // 客户签字 + cultureIn: [], // 传票栏 + sealBox: [] // 印章盒 + }, + '项目九': { + data: [ 15, 13, 23, 14 ], // 现金、身份证原件、复印件、开户申请书 + needs: [ 19, 17 ], // 定期存单 存款凭条 + isStamp: { + '附件章': [ 23 ], + '业务专用章': [14, 19 ], + '收讫章': [ 17 ] + }, + backPeople: [ 142, 13, 19, 171 ], // 少了开户申请书回单、身份证、定期存单、存款凭条凭证联 (判分可减) + cultureArr: [ 23, 141, 171 ], // 少了身份证复印件、开户申请书凭证联、存款凭条凭证联 + // 各种物品信息 + moneyBox: [ ], // 钱箱 + peopleSign: [ ], // 客户签字 + cultureIn: [], // 传票栏 + sealBox: [] // 印章盒 + }, + '项目十': { + data: [ 13, 23, 19 ], // 身份证原件、复印件、定期存单 + needs: [ '取款凭条', '利息清单', 15 ], // 多了取款凭条、利息清单 现金 + isStamp: { + '付讫章': [ '取款凭条', '利息清单' ], + '附件章': [ 23 ], + '销户章': [ 191 ], + }, + backPeople: [ 13, '取款凭条回单', '利息清单回单', 15 ], // 少了身份证原件、取款凭条回单、利息清单回单、现金 + cultureArr: [ 23, '取款凭条凭证联', '取款凭条凭证联', 19 ], // 少了复印件、取款凭条凭证联、利息清单凭证联、定期存单 + // 各种物品信息 + moneyBox: [ 15 ], // 钱箱 + peopleSign: [ ], // 客户签字 + cultureIn: [], // 传票栏 + sealBox: [] // 印章盒 + }, + '项目十一': { + data: [ '法人身份证', '法人身份证复印件', '开立银行接算账户申请书', '统一社会信用代码证', '统一社会信用代码证复印件', '开户许可证', '开户许可证复印件' ], + needs: [ '普通空白凭证', '预留印鉴卡' ], // 多了普通空白凭证, 预留印鉴卡 + isStamp: { + '业务专用章': [ '开立银行接算账户申请书', '普通空白凭证' ], + '附件章': [ '统一社会信用代码证复印件', '开户许可证复印件', '法人身份证复印件' ], + '私章': [ '预留印鉴卡' ] + }, + backPeople: [ '法人身份证', '统一社会信用代码证', '开户许可证', '预留印鉴卡', '开立银行接算账户申请书回单' ], // 少了法人身份证原件、统一社会信用代码证、开户许可证、预留印鉴卡一、开立银行结算账户申请书凭证联回单 + cultureArr: [ '法人身份证复印件', '开立银行结算账户申请书凭证联', '统一社会信用代码证复印件', '开户许可证复印件', '普通空白凭证', '预留印鉴卡' ], // 少了法人身份证复印件、开立银行结算账户申请书凭证联、统一社会信用代码证复印件、开户许可证复印件、普通空白凭证、预留印鉴卡二、三 + + moneyBox: [ ], // 钱箱 + peopleSign: [ ], // 客户签字 + cultureIn: [], // 传票栏 + sealBox: [] // 印章盒 + }, + '项目十二': { + data: [ '法人身份证', '法人身份证复印件', '现金存款凭证', 15 ], // 15是现金 + needs: [ '普通空白凭证', '预留印鉴卡' ], // 多了普通空白凭证, 预留印鉴卡 + isStamp: { + '收讫章': [ '现金存款凭证' ], + '附件章': [ '法人身份证复印件' ], + }, + backPeople: [ '法人身份证', '现金存款凭证回单' ], + cultureArr: [ '法人身份证复印件', '现金存款凭证联' ], + moneyBox: [ ], // 钱箱 + peopleSign: [ ], // 客户签字 + cultureIn: [], // 传票栏 + sealBox: [] // 印章盒 + }, + '项目十三': { + data: [ '法人身份证', '现金支票' ], + needs: [ '取款凭条', 15 ], + isStamp: { + '付讫章': [ '取款凭条' ], + '私章业务专用章': [ '现金支票' ] + }, + backPeople: [ '法人身份证', '现金支票存根', '取款凭条回单', 15 ], + cultureArr: [ '现金支票本联', '取款凭条凭证联' ], + moneyBox: [ 15 ], // 钱箱 + peopleSign: [ ], // 客户签字 + cultureIn: [], // 传票栏 + sealBox: [] // 印章盒 + }, + + '项目十四': { + data: [ '法人身份证', '转账支票' ], + needs: [ '转账凭条' ], + isStamp: { + '私章转讫章': [ '转账支票' ], + '业务专用章': [ ' 转账凭条'] + }, + backPeople: [ '法人身份证', '转账支票存根', '转账凭条回单' ], + cultureArr: [ '转账支票本联', '转账凭条凭证联' ], + moneyBox: [ 15 ], // 钱箱 + peopleSign: [ ], // 客户签字 + cultureIn: [], // 传票栏 + sealBox: [] // 印章盒 + }, }, goods:[// 物品栏的物品 { @@ -280,17 +408,24 @@ export default { const needStamp = state.businessSelect[state.businessKey].isStamp const id = state.businessSelect[state.businessKey].sealBox[0] let judgeDelete = true - for(let i=0; i item === sealArr[0]) + const index2 = sealArray.findIndex(item => item === sealArr[1]) + let seal = '' + if(index1