|
|
|
@ -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<sealArr.length; i++ ) { |
|
|
|
|
const seal = sealArr[i] |
|
|
|
|
if(sealArr.length === 1) { |
|
|
|
|
const seal = sealArr[0] |
|
|
|
|
if(seal in needStamp && needStamp[seal].includes(id)) { |
|
|
|
|
if(seal === '业务专用章') { |
|
|
|
|
if(id === 14) { |
|
|
|
|
state.businessSelect[state.businessKey].data.push(141, 142) |
|
|
|
|
judgeDelete = false // 有些东西改了没变的 所以不能写在最下面
|
|
|
|
|
}else if(id === '192') { |
|
|
|
|
judgeDelete = false |
|
|
|
|
}else if(id === 192) { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
// state.businessSelect[state.businessKey].data.push('193', '194')
|
|
|
|
|
// 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 === '付讫章') { |
|
|
|
|
if(id === '取款凭条') { |
|
|
|
@ -308,19 +443,56 @@ export default { |
|
|
|
|
} |
|
|
|
|
}else if(seal === '附件章') { |
|
|
|
|
if(id === 23) { |
|
|
|
|
console.log('加分了 没变成什么') |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
// state.businessSelect[state.businessKey].data.push(231)
|
|
|
|
|
// judgeDelete = false
|
|
|
|
|
}else if(id === '统一社会信用代码证复印件') { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
}else if(id === '开户许可证复印件') { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
}else if(id === '法人身份证复印件') { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
} |
|
|
|
|
// '统一社会信用代码证复印件', '开户许可证复印件', '法人身份证复印件'
|
|
|
|
|
}else if(seal === '收讫章') { |
|
|
|
|
if(id === 17) { |
|
|
|
|
state.businessSelect[state.businessKey].data.push(171, 172) |
|
|
|
|
judgeDelete = false |
|
|
|
|
}else if(id === '现金存款凭证') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('现金存款凭证联', '现金存款凭证回单') |
|
|
|
|
judgeDelete = false |
|
|
|
|
} |
|
|
|
|
}else if(seal === '销户章') { |
|
|
|
|
if(id === '191') { |
|
|
|
|
if(id === 191) { |
|
|
|
|
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 |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|