业务十三

20240205
luoJunYong.123 3 years ago
parent e06f6973ea
commit 958faf5aaf
  1. 26
      src/pages/counter/list/index.vue
  2. 186
      src/store/modules/system.js

@ -449,7 +449,7 @@ export default {
popArr:[/* 弹窗展示的物品 */ popArr:[/* 弹窗展示的物品 */
{name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16}, {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: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/goods/xd-zzzp.png'),id:'转账支票'},
{name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30}, {name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30},
{name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票'}, {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:192},
{name:'新定期存单凭证联',src:require('@/assets/img/seal/paid.png'),id:193}, {name:'新定期存单凭证联',src:require('@/assets/img/seal/paid.png'),id:193},
{name:'新定期存单回单',src:require('@/assets/img/seal/paid.png'),id: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:'转账支票存根'},
], ],
receptionList:[ receptionList:[
], ],
sealArr:[/* 印章盒物品 */ sealArr:[/* 印章盒物品 */ // idname!
{name:'收讫章',src:require('@/assets/img/seal/paid.png'),id:'收讫章'}, {name:'收讫章',src:require('@/assets/img/seal/paid.png'),id:'收讫章'},
{name:'销户章',src:require('@/assets/img/seal/closing.png'),id:'销户章'}, {name:'销户章',src:require('@/assets/img/seal/closing.png'),id:'销户章'},
{name:'私章',src:require('@/assets/img/seal/personal.png'),id:'私章'}, {name:'私章',src:require('@/assets/img/seal/personal.png'),id:'私章'},
@ -495,7 +513,7 @@ export default {
importanceArr:[/* 重要空白凭证 */ importanceArr:[/* 重要空白凭证 */
{name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16}, {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: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/goods/xd-zzzp.png'),id:'转账支票'},
{name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30}, {name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30},
{name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票'}, {name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票'},
@ -1478,7 +1496,7 @@ export default {
}); });
return return
} }
//
const sealArr = [...this.sealChecked] const sealArr = [...this.sealChecked]
this.stampJudge(sealArr) this.stampJudge(sealArr)
}else{ }else{

@ -4,7 +4,7 @@
const allGoods = { const allGoods = {
16: {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16}, 16: {name:'银行卡',src:require('@/assets/img/goods/bankCard.png'),id:16},
19: {name:'定期存单',src:require('@/assets/img/seal/paid.png'),id:19}, 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:'转账支票'}, '转账支票': {name:'转账支票',src:require('@/assets/img/goods/xd-zzzp.png'),id:'转账支票'},
30: {name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30}, 30: {name:'银行承兑汇票',src:require('@/assets/img/seal/paid.png'),id:30},
'现金支票': {name:'现金支票',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票'}, '现金支票': {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}, 192: {name:'新定期存单',src:require('@/assets/img/seal/paid.png'),id:192},
193: {name:'新定期存单凭证联',src:require('@/assets/img/seal/paid.png'),id:193}, 193: {name:'新定期存单凭证联',src:require('@/assets/img/seal/paid.png'),id:193},
194: {name:'新定期存单回单',src:require('@/assets/img/seal/paid.png'),id:194}, 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'; import { Message } from 'element-ui';
export default { export default {
@ -165,6 +187,112 @@ export default {
cultureIn: [], // 传票栏 cultureIn: [], // 传票栏
sealBox: [] // 印章盒 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:[// 物品栏的物品 goods:[// 物品栏的物品
{ {
@ -280,17 +408,24 @@ export default {
const needStamp = state.businessSelect[state.businessKey].isStamp const needStamp = state.businessSelect[state.businessKey].isStamp
const id = state.businessSelect[state.businessKey].sealBox[0] const id = state.businessSelect[state.businessKey].sealBox[0]
let judgeDelete = true let judgeDelete = true
for(let i=0; i<sealArr.length; i++ ) { if(sealArr.length === 1) {
const seal = sealArr[i] const seal = sealArr[0]
if(seal in needStamp && needStamp[seal].includes(id)) { if(seal in needStamp && needStamp[seal].includes(id)) {
if(seal === '业务专用章') { if(seal === '业务专用章') {
if(id === 14) { if(id === 14) {
state.businessSelect[state.businessKey].data.push(141, 142) state.businessSelect[state.businessKey].data.push(141, 142)
judgeDelete = false // 有些东西改了没变的 所以不能写在最下面 judgeDelete = false
}else if(id === '192') { }else if(id === 192) {
console.log('加分 没变成什么') console.log('加分 没变成什么')
// state.businessSelect[state.businessKey].data.push('193', '194') // state.businessSelect[state.businessKey].data.push('193', '194')
// judgeDelete = false // judgeDelete = false
}else if(id === 19) {
console.log('加分 没变成什么')
}else if(id === '开立银行接算账户申请书') {
state.businessSelect[state.businessKey].data.push('开立银行接算账户申请书凭证联', '开立银行接算账户申请书回单')
judgeDelete = false
}else if (id === '普通空白凭证') {
console.log('加分 没变成什么')
} }
}else if(seal === '付讫章') { }else if(seal === '付讫章') {
if(id === '取款凭条') { if(id === '取款凭条') {
@ -308,19 +443,56 @@ export default {
} }
}else if(seal === '附件章') { }else if(seal === '附件章') {
if(id === 23) { if(id === 23) {
console.log('加分 没变成什么') console.log('加分 没变成什么')
// state.businessSelect[state.businessKey].data.push(231) // state.businessSelect[state.businessKey].data.push(231)
// judgeDelete = false // judgeDelete = false
}else if(id === '统一社会信用代码证复印件') {
console.log('加分 没变成什么')
}else if(id === '开户许可证复印件') {
console.log('加分 没变成什么')
}else if(id === '法人身份证复印件') {
console.log('加分 没变成什么')
} }
// '统一社会信用代码证复印件', '开户许可证复印件', '法人身份证复印件'
}else if(seal === '收讫章') { }else if(seal === '收讫章') {
if(id === 17) { if(id === 17) {
state.businessSelect[state.businessKey].data.push(171, 172) state.businessSelect[state.businessKey].data.push(171, 172)
judgeDelete = false judgeDelete = false
}else if(id === '现金存款凭证') {
state.businessSelect[state.businessKey].data.push('现金存款凭证联', '现金存款凭证回单')
judgeDelete = false
} }
}else if(seal === '销户章') { }else if(seal === '销户章') {
if(id === '191') { if(id === 191) {
console.log('加分了 没变成什么') console.log('加分了 没变成什么')
} }
}else if(seal === '私章') {
if(id === '预留印鉴卡') {
console.log('加分 没变成什么')
}
}
}
}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]
}
if((seal in needStamp && needStamp[seal].includes(id))) {
if(seal === '私章业务专用章') {
if(id === '现金支票') {
state.businessSelect[state.businessKey].data.push('现金支票本联', '现金支票存根')
judgeDelete = false
}
}else if(seal === '私章转讫章') {
if(id === '转账支票') {
state.businessSelect[state.businessKey].data.push('转账支票本联', '转账支票存根')
judgeDelete = false
}
} }
} }
} }

Loading…
Cancel
Save