|
|
|
@ -26,45 +26,62 @@ const allGoods = { |
|
|
|
|
172: {name:'存款凭条回单',src:require('@/assets/img/goods/ckpt.png'),id:172}, |
|
|
|
|
'取款凭条凭证联': {name:'取款凭条凭证联',src:require('@/assets/img/goods/qkpt.png'),id:'取款凭条凭证联'}, |
|
|
|
|
'取款凭条回单': {name:'取款凭条回单',src:require('@/assets/img/goods/qkpt.png'),id:'取款凭条回单'}, |
|
|
|
|
|
|
|
|
|
'转账凭条凭证联': {name:'转账凭条凭证联',src:require('@/assets/img/goods/zzpt.png'),id:'转账凭条凭证联'}, |
|
|
|
|
'转账凭条回单': {name:'转账凭条回单',src:require('@/assets/img/goods/zzpt.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}, |
|
|
|
|
|
|
|
|
|
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}, |
|
|
|
|
|
|
|
|
|
// 业务 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/ApplicationBankSettlement.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:'转账支票存根'}, |
|
|
|
|
'特殊业务申请书': {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:'支票领购单回单'}, |
|
|
|
|
'支票领购单凭证联': {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/ApplicationBankSettlement.png'),id:'开立银行结算账户申请书凭证联'}, |
|
|
|
|
'开立银行结算账户申请书回单': {name:'开立银行结算账户申请书回单',src:require('@/assets/img/goods/ApplicationBankSettlement.png'),id:'开立银行结算账户申请书回单'}, |
|
|
|
|
|
|
|
|
|
'现金存款凭证': {name:'现金存款凭证',src:require('@/assets/img/goods/CashCertificate.png'),id:'现金存款凭证'}, |
|
|
|
|
'现金存款凭证联': {name:'现金存款凭证联',src:require('@/assets/img/goods/CashCertificate.png'),id:'现金存款凭证联'}, |
|
|
|
|
'现金存款凭证回单': {name:'现金存款凭证回单',src:require('@/assets/img/goods/CashCertificate.png'),id:'现金存款凭证回单'}, |
|
|
|
|
|
|
|
|
|
'现金支票本联': {name:'现金支票本联',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票本联'}, |
|
|
|
|
'现金支票存根': {name:'现金支票存根',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票存根'}, |
|
|
|
|
'转账支票本联': {name:'转账支票本联',src:require('@/assets/img/goods/sy-zzzp.png'),id:'转账支票本联'}, |
|
|
|
|
'转账支票存根': {name:'转账支票存根',src:require('@/assets/img/goods/sy-zzzp.png'),id:'转账支票存根'}, |
|
|
|
|
|
|
|
|
|
'特殊业务申请书': {name:'特殊业务申请书',src:require('@/assets/img/goods/businessSpecialApplication.png'),id:'特殊业务申请书'}, |
|
|
|
|
'特殊业务申请书凭证联': {name:'特殊业务申请书凭证联',src:require('@/assets/img/goods/businessSpecialApplication.png'),id:'特殊业务申请书凭证联'}, |
|
|
|
|
'特殊业务申请书回单': {name:'特殊业务申请书回单',src:require('@/assets/img/goods/businessSpecialApplication.png'),id:'特殊业务申请书回单'}, |
|
|
|
|
'密码挂失申请书': {name:'密码挂失申请书',src:require('@/assets/img/goods/businessReportMissUser.png'),id:'密码挂失申请书'}, |
|
|
|
|
'密码挂失申请书凭证联': {name:'密码挂失申请书凭证联',src:require('@/assets/img/goods/businessReportMissUser.png'),id:'密码挂失申请书凭证联'}, |
|
|
|
|
'密码挂失申请书回单': {name:'密码挂失申请书回单',src:require('@/assets/img/goods/businessReportMissUser.png'),id:'密码挂失申请书回单'}, |
|
|
|
|
'密码挂失申请书银行留存联': {name:'密码挂失申请书银行留存联',src:require('@/assets/img/goods/businessReportMissUser.png'),id:'密码挂失申请书银行留存联'}, |
|
|
|
|
'支票领购单': {name:'支票领购单',src:require('@/assets/img/goods/businessReportMissUser.png'),id:'支票领购单'}, |
|
|
|
|
'支票领购单回单': {name:'支票领购单回单',src:require('@/assets/img/goods/businessReportMissUser.png'),id:'支票领购单回单'}, |
|
|
|
|
'支票领购单凭证联': {name:'支票领购单凭证联',src:require('@/assets/img/goods/businessReportMissUser.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/businessSpecialApplication.png'),id:'特殊业务申请书'},
|
|
|
|
|
// '密码挂失申请书': {name:'密码挂失申请书',src:require('@/assets/img/goods/businessReportMissUser.png'),id:'密码挂失申请书'},
|
|
|
|
|
// '开立银行结算账户申请书': {name:'开立银行结算账户申请书',src:require('@/assets/img/goods/ApplicationBankSettlement.png'),id:'开立银行结算账户申请书'},
|
|
|
|
|
// '现金存款凭证': {name:'现金存款凭证',src:require('@/assets/img/goods/CashCertificate.png'),id:'现金存款凭证'},
|
|
|
|
|
// '支票领购单': {name:'支票领购单',src:require('@/assets/img/goods/CheckCoupons.png'),id:'支票领购单'},
|
|
|
|
|
// '转账支票存根': {name:'转账支票存根',src:require('@/assets/img/goods/sy-zzzp.png'),id:'转账支票存根'},
|
|
|
|
|
// '现金支票存根': {name:'现金支票存根',src:require('@/assets/img/goods/xjzp.png'),id:'现金支票存根'},
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const myInitState = { |
|
|
|
@ -292,14 +309,14 @@ const myInitState = { |
|
|
|
|
commonArr: [], // 普通凭证箱
|
|
|
|
|
}, |
|
|
|
|
'项目十一': { |
|
|
|
|
data: [ '法人身份证', '法人身份证复印件', '开立银行接算账户申请书', '统一社会信用代码证', '统一社会信用代码证复印件', '开户许可证', '开户许可证复印件' ],
|
|
|
|
|
data: [ '法人身份证', '法人身份证复印件', '开立银行结算账户申请书', '统一社会信用代码证', '统一社会信用代码证复印件', '开户许可证', '开户许可证复印件' ],
|
|
|
|
|
needs: [ '普通空白凭证', '预留印鉴卡' ], // 多了普通空白凭证, 预留印鉴卡
|
|
|
|
|
isStamp: {
|
|
|
|
|
'业务专用章': [ '开立银行接算账户申请书', '普通空白凭证' ], |
|
|
|
|
'业务专用章': [ '开立银行结算账户申请书', '普通空白凭证' ], |
|
|
|
|
'附件章': [ '统一社会信用代码证复印件', '开户许可证复印件', '法人身份证复印件' ], |
|
|
|
|
'私章': [ '预留印鉴卡' ] |
|
|
|
|
}, |
|
|
|
|
backPeople: [ '法人身份证', '统一社会信用代码证', '开户许可证', '预留印鉴卡', '开立银行接算账户申请书回单' ], // 少了法人身份证原件、统一社会信用代码证、开户许可证、预留印鉴卡一、开立银行结算账户申请书凭证联回单
|
|
|
|
|
backPeople: [ '法人身份证', '统一社会信用代码证', '开户许可证', '预留印鉴卡', '开立银行结算账户申请书回单' ], // 少了法人身份证原件、统一社会信用代码证、开户许可证、预留印鉴卡一、开立银行结算账户申请书凭证联回单
|
|
|
|
|
cultureArr: [ '法人身份证复印件', '开立银行结算账户申请书凭证联', '统一社会信用代码证复印件', '开户许可证复印件', '普通空白凭证', '预留印鉴卡' ], // 少了法人身份证复印件、开立银行结算账户申请书凭证联、统一社会信用代码证复印件、开户许可证复印件、普通空白凭证、预留印鉴卡二、三
|
|
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
@ -642,7 +659,7 @@ const sealArray = [/* 印章盒物品默认排序 */ |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
import { Message } from 'element-ui'; |
|
|
|
|
|
|
|
|
|
import { addOperation } from '@/api/http'; |
|
|
|
|
export default { |
|
|
|
|
namespaced: true, |
|
|
|
|
state: {/* 管理柜台状态 */ |
|
|
|
@ -650,11 +667,12 @@ export default { |
|
|
|
|
popText:'', |
|
|
|
|
fullScreen:false,// 银行系统是否全屏
|
|
|
|
|
showGoods: false, // 物品栏的展开和关闭
|
|
|
|
|
// 业务选择表:
|
|
|
|
|
// 业务选择表: (要保存的)
|
|
|
|
|
businessKey: '', |
|
|
|
|
// 业务选择表是否展示:
|
|
|
|
|
showBusiness: false, |
|
|
|
|
|
|
|
|
|
// (要保存的)
|
|
|
|
|
businessSelect: { |
|
|
|
|
'': { |
|
|
|
|
data: [], |
|
|
|
@ -880,14 +898,14 @@ export default { |
|
|
|
|
commonArr: [], // 普通凭证箱
|
|
|
|
|
}, |
|
|
|
|
'项目十一': { |
|
|
|
|
data: [ '法人身份证', '法人身份证复印件', '开立银行接算账户申请书', '统一社会信用代码证', '统一社会信用代码证复印件', '开户许可证', '开户许可证复印件' ],
|
|
|
|
|
data: [ '法人身份证', '法人身份证复印件', '开立银行结算账户申请书', '统一社会信用代码证', '统一社会信用代码证复印件', '开户许可证', '开户许可证复印件' ],
|
|
|
|
|
needs: [ '普通空白凭证', '预留印鉴卡' ], // 多了普通空白凭证, 预留印鉴卡
|
|
|
|
|
isStamp: {
|
|
|
|
|
'业务专用章': [ '开立银行接算账户申请书', '普通空白凭证' ], |
|
|
|
|
'业务专用章': [ '开立银行结算账户申请书', '普通空白凭证' ], |
|
|
|
|
'附件章': [ '统一社会信用代码证复印件', '开户许可证复印件', '法人身份证复印件' ], |
|
|
|
|
'私章': [ '预留印鉴卡' ] |
|
|
|
|
}, |
|
|
|
|
backPeople: [ '法人身份证', '统一社会信用代码证', '开户许可证', '预留印鉴卡', '开立银行接算账户申请书回单' ], // 少了法人身份证原件、统一社会信用代码证、开户许可证、预留印鉴卡一、开立银行结算账户申请书凭证联回单
|
|
|
|
|
backPeople: [ '法人身份证', '统一社会信用代码证', '开户许可证', '预留印鉴卡', '开立银行结算账户申请书回单' ], // 少了法人身份证原件、统一社会信用代码证、开户许可证、预留印鉴卡一、开立银行结算账户申请书凭证联回单
|
|
|
|
|
cultureArr: [ '法人身份证复印件', '开立银行结算账户申请书凭证联', '统一社会信用代码证复印件', '开户许可证复印件', '普通空白凭证', '预留印鉴卡' ], // 少了法人身份证复印件、开立银行结算账户申请书凭证联、统一社会信用代码证复印件、开户许可证复印件、普通空白凭证、预留印鉴卡二、三
|
|
|
|
|
|
|
|
|
|
moneyBox: [ ], // 钱箱
|
|
|
|
@ -1265,28 +1283,36 @@ export default { |
|
|
|
|
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 }) { |
|
|
|
|
console.log(idArr) |
|
|
|
|
state.businessSelect[state.businessKey][name].splice(0, state.businessSelect[state.businessKey][name].length, ...idArr) |
|
|
|
|
console.log('替换后') |
|
|
|
|
console.log(state.businessSelect[state.businessKey][name]) |
|
|
|
|
}, |
|
|
|
|
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) |
|
|
|
|
state.businessSelect[state.businessKey][name].splice(0, 1, idArr[0]) |
|
|
|
|
}else { |
|
|
|
|
state.businessSelect[state.businessKey][name].push(idArr) |
|
|
|
|
state.businessSelect[state.businessKey][name].push(idArr[0]) |
|
|
|
|
} |
|
|
|
|
}else { |
|
|
|
|
if(!(idArr instanceof Array)) { |
|
|
|
|
state.businessSelect[state.businessKey][name].push(idArr) |
|
|
|
|
}else { |
|
|
|
|
state.businessSelect[state.businessKey][name].push(...idArr) |
|
|
|
|
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) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
pushThingsGoods(state, idArr) { |
|
|
|
|
for(let i=0; i<idArr.length; i++) { |
|
|
|
|
const index = state.businessSelect[state.businessKey].data.findIndex(item => item === idArr[i]) |
|
|
|
|
console.log(index) |
|
|
|
|
if(index === -1) { |
|
|
|
|
state.businessSelect[state.businessKey].data.push(idArr[i]) |
|
|
|
|
} |
|
|
|
@ -1345,9 +1371,11 @@ export default { |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
stampJudge(state, sealArr) { |
|
|
|
|
|
|
|
|
|
const needStamp = state.businessSelect[state.businessKey].isStamp |
|
|
|
|
const id = state.businessSelect[state.businessKey].sealBox[0] |
|
|
|
|
let judgeDelete = true |
|
|
|
|
let judgeDelete = true // 盖完章是否变化
|
|
|
|
|
let stampSuccess = '' // 盖章成功
|
|
|
|
|
if(sealArr.length === 1) { |
|
|
|
|
const seal = sealArr[0] |
|
|
|
|
if((seal in needStamp) && (needStamp[seal].findIndex(item => item === id) >= 0)) { |
|
|
|
@ -1355,78 +1383,86 @@ export default { |
|
|
|
|
if(id === 14) { |
|
|
|
|
state.businessSelect[state.businessKey].data.push(141, 142) |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '18' |
|
|
|
|
}else if(id === 192) { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
stampSuccess = '449' |
|
|
|
|
}else if(id === 19) { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
}else if(id === '开立银行接算账户申请书') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('开立银行接算账户申请书凭证联', '开立银行接算账户申请书回单') |
|
|
|
|
stampSuccess = '19' |
|
|
|
|
}else if(id === '开立银行结算账户申请书') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('开立银行结算账户申请书凭证联', '开立银行结算账户申请书回单') |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '452' |
|
|
|
|
}else if (id === '普通空白凭证') { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
stampSuccess = '465' |
|
|
|
|
}else if(id === '转账凭条') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('转账凭条凭证联', '转账凭条回单') |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '458' |
|
|
|
|
}else if(id === '特殊业务申请书') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('特殊业务申请书凭证联', '特殊业务申请书回单') |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '459' |
|
|
|
|
}else if(id === '密码挂失申请书') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('密码挂失申请书凭证联', '密码挂失申请书回单', '密码挂失申请书银行留存联') |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '460' |
|
|
|
|
}else if(id === '密码挂失申请书银行留存联') { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
stampSuccess = '461' |
|
|
|
|
}else if(id === '支票领购单') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('支票领购单凭证联', '支票领购单回单') |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '463' |
|
|
|
|
}else if(id === '业务收费凭证') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('业务收费凭证凭证联', '业务收费凭证回单') |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '464' |
|
|
|
|
} |
|
|
|
|
// [ '支票领购单', '业务收费凭证' ]
|
|
|
|
|
}else if(seal === '付讫章') { |
|
|
|
|
if(id === '取款凭条') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('取款凭条凭证联', '取款凭条回单') |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '444' |
|
|
|
|
} |
|
|
|
|
else if(id === '利息清单') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('利息清单凭证联', '利息清单回单') |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '445' |
|
|
|
|
} |
|
|
|
|
}else if(seal === '转讫章') { |
|
|
|
|
if(id === '转账凭条') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('转账凭条凭证联', '转账凭条回单') |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '446' |
|
|
|
|
} |
|
|
|
|
}else if(seal === '附件章') { |
|
|
|
|
if(id === 23) { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
// state.businessSelect[state.businessKey].data.push(231)
|
|
|
|
|
// judgeDelete = false
|
|
|
|
|
stampSuccess = '20' |
|
|
|
|
}else if(id === '统一社会信用代码证复印件') { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
stampSuccess = '435' |
|
|
|
|
}else if(id === '开户许可证复印件') { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
stampSuccess = '437' |
|
|
|
|
}else if(id === '法人身份证复印件') { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
stampSuccess = '484' |
|
|
|
|
}else if(id === '密码挂失申请书回单') { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
stampSuccess = '462' |
|
|
|
|
} |
|
|
|
|
// '统一社会信用代码证复印件', '开户许可证复印件', '法人身份证复印件'
|
|
|
|
|
}else if(seal === '收讫章') { |
|
|
|
|
if(id === 17) { |
|
|
|
|
state.businessSelect[state.businessKey].data.push(171, 172) |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '447' |
|
|
|
|
}else if(id === '现金存款凭证') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('现金存款凭证联', '现金存款凭证回单') |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '455' |
|
|
|
|
} |
|
|
|
|
}else if(seal === '销户章') { |
|
|
|
|
if(id === 191) { |
|
|
|
|
console.log('加分了 没变成什么') |
|
|
|
|
stampSuccess = '448' |
|
|
|
|
} |
|
|
|
|
}else if(seal === '私章') { |
|
|
|
|
if(id === '预留印鉴卡') { |
|
|
|
|
console.log('加分 没变成什么') |
|
|
|
|
stampSuccess = '454' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -1445,19 +1481,45 @@ export default { |
|
|
|
|
if(id === '现金支票') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('现金支票本联', '现金支票存根') |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '456' |
|
|
|
|
} |
|
|
|
|
}else if(seal === '私章转讫章') { |
|
|
|
|
if(id === '转账支票') { |
|
|
|
|
state.businessSelect[state.businessKey].data.push('转账支票本联', '转账支票存根') |
|
|
|
|
judgeDelete = false |
|
|
|
|
stampSuccess = '457' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if(judgeDelete) { |
|
|
|
|
this.commit('system/pushThingsGoods', [...state.businessSelect[state.businessKey].sealBox]) |
|
|
|
|
if(stampSuccess) { |
|
|
|
|
let projectId = sessionStorage.getItem('projectId') |
|
|
|
|
let startTime = sessionStorage.getItem('startTime') |
|
|
|
|
let formList = [ {"answerId":stampSuccess, "emptyOne": "", "emptyTwo": "", "operationIds": "285,287,8,"+stampSuccess,"type": ""} ] |
|
|
|
|
let params= { |
|
|
|
|
parentId:'285,287,8', |
|
|
|
|
lcJudgmentRuleReq:formList, |
|
|
|
|
projectId:+projectId, |
|
|
|
|
startTime:startTime, |
|
|
|
|
} |
|
|
|
|
addOperation(params).then((data)=>{ |
|
|
|
|
Message.success({ |
|
|
|
|
center: true, |
|
|
|
|
message: '盖章成功' |
|
|
|
|
}) |
|
|
|
|
if(judgeDelete) { |
|
|
|
|
this.commit('system/pushThingsGoods', [...state.businessSelect[state.businessKey].sealBox]) |
|
|
|
|
} |
|
|
|
|
state.businessSelect[state.businessKey].sealBox.splice(0, 1) |
|
|
|
|
}).catch((error)=>{ |
|
|
|
|
}) |
|
|
|
|
}else { |
|
|
|
|
Message.info({ |
|
|
|
|
center: true, |
|
|
|
|
message: '盖章失败,请检查印章或证件是否正确' |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
state.businessSelect[state.businessKey].sealBox.splice(0, 1) |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
setBusinessKey: (state, val) => { |
|
|
|
|
// 这个是容错的 后面可以删掉
|
|
|
|
@ -1467,6 +1529,10 @@ export default { |
|
|
|
|
} |
|
|
|
|
state.businessKey = val |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
setBusinessSelect(state, val) { |
|
|
|
|
state.businessSelect = val |
|
|
|
|
}, |
|
|
|
|
addGoods: (state, goods) => { |
|
|
|
|
if(!(goods instanceof Array)) { |
|
|
|
|
goods = [ goods ] |
|
|
|
|