|
|
@ -31,6 +31,10 @@ const allGoods = { |
|
|
|
'利息清单凭证联': {name:'利息清单凭证联',src:require('@/assets/img/goods/lxqd.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/lxqd.png'),id:'利息清单回单'}, |
|
|
|
231: {name:'盖过章的复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:231}, |
|
|
|
231: {name:'盖过章的复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:231}, |
|
|
|
|
|
|
|
191: {name:'旧定期存单',src:require('@/assets/img/seal/paid.png'),id:191}, |
|
|
|
|
|
|
|
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}, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
import { Message } from 'element-ui'; |
|
|
|
import { Message } from 'element-ui'; |
|
|
@ -54,8 +58,9 @@ export default { |
|
|
|
data: [15, 13, 23, 14], |
|
|
|
data: [15, 13, 23, 14], |
|
|
|
needs: [16, 17], |
|
|
|
needs: [16, 17], |
|
|
|
isStamp: { |
|
|
|
isStamp: { |
|
|
|
'业务专用章': [14, 17], |
|
|
|
'业务专用章': [14], |
|
|
|
'附件章': [23] |
|
|
|
'附件章': [23], |
|
|
|
|
|
|
|
'收讫章': [ 17 ] |
|
|
|
}, |
|
|
|
}, |
|
|
|
backPeople: [142, 13, 172, 16], |
|
|
|
backPeople: [142, 13, 172, 16], |
|
|
|
cultureArr: [23, 141, 171], |
|
|
|
cultureArr: [23, 141, 171], |
|
|
@ -95,6 +100,71 @@ export default { |
|
|
|
cultureIn: [], // 传票栏传票栏
|
|
|
|
cultureIn: [], // 传票栏传票栏
|
|
|
|
sealBox: [] // 印章盒
|
|
|
|
sealBox: [] // 印章盒
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
'项目四': { |
|
|
|
|
|
|
|
data: [13, 23, 191], // 身份证原件、复印件、 旧定期存单
|
|
|
|
|
|
|
|
needs: [192, '取款凭条', 17, 15 ], // 新定期存单 取款凭条 存款凭条 现金
|
|
|
|
|
|
|
|
isStamp: { |
|
|
|
|
|
|
|
'业务专用章': [192], |
|
|
|
|
|
|
|
'付讫章': [ '取款凭条', '利息清单' ], |
|
|
|
|
|
|
|
'收讫章': [ 17 ], |
|
|
|
|
|
|
|
'销户章': [ 191 ], |
|
|
|
|
|
|
|
'附件章': [ 23 ], |
|
|
|
|
|
|
|
// 取款凭条(付讫章)、利息清单(付讫章)、存款凭条(收讫章)、旧定期存单(销户章)、新定期存单(业务专用章)、身份证复印件(附件章)
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
backPeople: [ 13, 192, 15, '取款凭条回单', 172, '利息清单回单' ], //
|
|
|
|
|
|
|
|
cultureArr: [ 23, 191, '取款凭条凭证联', 171, '利息清单凭证联' ], //
|
|
|
|
|
|
|
|
// 各种物品信息
|
|
|
|
|
|
|
|
moneyBox: [ 15 ], // 钱箱
|
|
|
|
|
|
|
|
peopleSign: [], // 客户签字
|
|
|
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
|
|
|
sealBox: [] // 印章盒
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
'项目五': { |
|
|
|
|
|
|
|
data: [13, 23, 191], // 身份证原件、复印件、 旧定期存单
|
|
|
|
|
|
|
|
needs: [192, '取款凭条', 17, 15 ], // 新定期存单 取款凭条 存款凭条 现金
|
|
|
|
|
|
|
|
isStamp: {
|
|
|
|
|
|
|
|
'付讫章': [ '取款凭条', '利息清单' ], |
|
|
|
|
|
|
|
'销户章': [ 191 ], |
|
|
|
|
|
|
|
'附件章': [ 23 ], |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
backPeople: [ 13, 192, 15, '取款凭条回单', 172, '利息清单回单' ], //
|
|
|
|
|
|
|
|
cultureArr: [ 23, 191, '取款凭条凭证联', 171, '利息清单凭证联' ], //
|
|
|
|
|
|
|
|
// 各种物品信息
|
|
|
|
|
|
|
|
moneyBox: [ 15 ], // 钱箱
|
|
|
|
|
|
|
|
peopleSign: [], // 客户签字
|
|
|
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
|
|
|
sealBox: [] // 印章盒
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
'项目六': { |
|
|
|
|
|
|
|
data: [13, 23, 14, 15], // 身份证原件、复印件、 开户申请书、 现金
|
|
|
|
|
|
|
|
needs: [ 16, 17 ], // 银行卡 存款凭条
|
|
|
|
|
|
|
|
isStamp: { // 还没加逻辑
|
|
|
|
|
|
|
|
'附件章': [ 23 ], |
|
|
|
|
|
|
|
'业务专用章': [14], |
|
|
|
|
|
|
|
'收讫章': [ 17 ], |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
backPeople: [ 16, 172, 13, 142 ],
|
|
|
|
|
|
|
|
cultureArr: [ 23, 141, 171 ],
|
|
|
|
|
|
|
|
// 各种物品信息
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
|
|
|
peopleSign: [], // 客户签字
|
|
|
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
|
|
|
sealBox: [] // 印章盒
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
'项目七': { |
|
|
|
|
|
|
|
data: [ 16, 15 ], // 银行卡、 现金
|
|
|
|
|
|
|
|
needs: [ 17 ], // 存款凭条
|
|
|
|
|
|
|
|
isStamp: {
|
|
|
|
|
|
|
|
'收讫章': [ 17 ], |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
backPeople: [ 16, 172 ],
|
|
|
|
|
|
|
|
cultureArr: [ 171 ],
|
|
|
|
|
|
|
|
// 各种物品信息
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
|
|
|
|
peopleSign: [ ], // 客户签字
|
|
|
|
|
|
|
|
cultureIn: [], // 传票栏
|
|
|
|
|
|
|
|
sealBox: [] // 印章盒
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
goods:[// 物品栏的物品
|
|
|
|
goods:[// 物品栏的物品
|
|
|
|
{ |
|
|
|
{ |
|
|
@ -209,45 +279,52 @@ export default { |
|
|
|
stampJudge(state, sealArr) { |
|
|
|
stampJudge(state, sealArr) { |
|
|
|
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 judge = true |
|
|
|
let judgeDelete = true |
|
|
|
for(let i=0; i<sealArr.length; i++ ) { |
|
|
|
for(let i=0; i<sealArr.length; i++ ) { |
|
|
|
const seal = sealArr[i] |
|
|
|
const seal = sealArr[i] |
|
|
|
if(seal in needStamp && needStamp[seal].includes(id)) { |
|
|
|
if(seal in needStamp && needStamp[seal].includes(id)) { |
|
|
|
|
|
|
|
|
|
|
|
const index = state.businessSelect[state.businessKey].data.findIndex(item => item === 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 // 有些东西改了没变的 所以不能写在最下面
|
|
|
|
else if(id === 17) { |
|
|
|
}else if(id === '192') { |
|
|
|
state.businessSelect[state.businessKey].data.push(171, 172) |
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
|
|
|
// state.businessSelect[state.businessKey].data.push('193', '194')
|
|
|
|
|
|
|
|
// judgeDelete = false
|
|
|
|
} |
|
|
|
} |
|
|
|
}else if(seal === '付讫章') { |
|
|
|
}else if(seal === '付讫章') { |
|
|
|
if(id === '取款凭条') { |
|
|
|
if(id === '取款凭条') { |
|
|
|
// state.businessSelect[state.businessKey].data.splice(index, 1, '取款凭条凭证联', '取款凭条回单')
|
|
|
|
|
|
|
|
state.businessSelect[state.businessKey].data.push('取款凭条凭证联', '取款凭条回单') |
|
|
|
state.businessSelect[state.businessKey].data.push('取款凭条凭证联', '取款凭条回单') |
|
|
|
|
|
|
|
judgeDelete = false |
|
|
|
} |
|
|
|
} |
|
|
|
else if(id === '利息清单') { |
|
|
|
else if(id === '利息清单') { |
|
|
|
// state.businessSelect[state.businessKey].data.splice(index, 1, '利息清单凭证联', '利息清单回单')
|
|
|
|
|
|
|
|
state.businessSelect[state.businessKey].data.push('利息清单凭证联', '利息清单回单') |
|
|
|
state.businessSelect[state.businessKey].data.push('利息清单凭证联', '利息清单回单') |
|
|
|
|
|
|
|
judgeDelete = false |
|
|
|
} |
|
|
|
} |
|
|
|
}else if(seal === '转讫章') { |
|
|
|
}else if(seal === '转讫章') { |
|
|
|
if(id === '转账凭条') { |
|
|
|
if(id === '转账凭条') { |
|
|
|
// state.businessSelect[state.businessKey].data.splice(index, 1, '转账凭条凭证联', '转账凭条回单')
|
|
|
|
|
|
|
|
state.businessSelect[state.businessKey].data.push('转账凭条凭证联', '转账凭条回单') |
|
|
|
state.businessSelect[state.businessKey].data.push('转账凭条凭证联', '转账凭条回单') |
|
|
|
|
|
|
|
judgeDelete = false |
|
|
|
} |
|
|
|
} |
|
|
|
}else if(seal === '附件章') { |
|
|
|
}else if(seal === '附件章') { |
|
|
|
if(id === 23) { |
|
|
|
if(id === 23) { |
|
|
|
// state.businessSelect[state.businessKey].data.splice(index, 1, 231)
|
|
|
|
console.log('加分了 没变成什么') |
|
|
|
state.businessSelect[state.businessKey].data.push(231) |
|
|
|
// state.businessSelect[state.businessKey].data.push(231)
|
|
|
|
|
|
|
|
// judgeDelete = false
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}else if(seal === '收讫章') { |
|
|
|
|
|
|
|
if(id === 17) { |
|
|
|
|
|
|
|
state.businessSelect[state.businessKey].data.push(171, 172) |
|
|
|
|
|
|
|
judgeDelete = false |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}else if(seal === '销户章') { |
|
|
|
|
|
|
|
if(id === '191') { |
|
|
|
|
|
|
|
console.log('加分了 没变成什么') |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
judge = false |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if(judge) { |
|
|
|
if(judgeDelete) { |
|
|
|
console.log('xsws') |
|
|
|
|
|
|
|
console.log(sealArr) |
|
|
|
|
|
|
|
this.commit('system/pushThingsGoods', [...state.businessSelect[state.businessKey].sealBox]) |
|
|
|
this.commit('system/pushThingsGoods', [...state.businessSelect[state.businessKey].sealBox]) |
|
|
|
} |
|
|
|
} |
|
|
|
state.businessSelect[state.businessKey].sealBox.splice(0, 1) |
|
|
|
state.businessSelect[state.businessKey].sealBox.splice(0, 1) |
|
|
|