|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
<div class="wrap"> |
|
|
|
|
<!-- <img class="sth bg" src="" alt="" />--> |
|
|
|
|
<!-- <img class="sth guide" src="@/assets/img/guide.png" alt="" /> --> |
|
|
|
|
<img class="sth man" src="@/assets/img/man.png" alt="" /> |
|
|
|
|
<img class="sth man cp" src="@/assets/img/man.png" alt="" @click="showData('客户签字',0)"/> |
|
|
|
|
<img class="sth counter" src="@/assets/img/counter.png" alt="" /> |
|
|
|
|
<img class="sth glass" src="@/assets/img/glass.png" alt="" /> |
|
|
|
|
|
|
|
|
@ -225,14 +225,14 @@ export default { |
|
|
|
|
manageVisible: false, // 显示系统录入 |
|
|
|
|
checkList: [],// 物品栏选中 |
|
|
|
|
elseBoxCheck:[],/* 所有其他可从物品栏拖拽物品进入的弹框 */ |
|
|
|
|
//身份证扫描仪//审核资料//验钞机 |
|
|
|
|
//身份证扫描仪//审核资料//验钞机//选择重要空白凭证 |
|
|
|
|
auditGoodsShelf:[ |
|
|
|
|
{name:'身份证', src:require('@/assets/img/goods/idcard.png'), id:13}, |
|
|
|
|
{name:'身份证复印件', src:require('@/assets/img/idCard-copy-sm.png'), id:23}, |
|
|
|
|
{name:'开户申请书', src:require('@/assets/img/goods/khsqs.png'), id:14}, |
|
|
|
|
{name:'现金', src:require('@/assets/img/goods/cash-sm.png'), id:15}, |
|
|
|
|
], |
|
|
|
|
//系统录入//选择重要空白凭证 |
|
|
|
|
//系统录入 //选择普通空白凭证 |
|
|
|
|
systemInputGoodsShelf:[ |
|
|
|
|
{name:'身份证', src:require('@/assets/img/goods/idcard.png'), id:13}, |
|
|
|
|
{name:'身份证复印件', src:require('@/assets/img/idCard-copy-sm.png'), id:23}, |
|
|
|
@ -240,7 +240,7 @@ export default { |
|
|
|
|
{name:'现金', src:require('@/assets/img/goods/cash-sm.png'), id:15}, |
|
|
|
|
{name:'银行卡', src:require('@/assets/img/goods/bankCard.png'), id:16}, |
|
|
|
|
], |
|
|
|
|
//打印资料 //选择普通空白凭证 //客户签字 |
|
|
|
|
//打印资料 //客户签字 //印章盒 |
|
|
|
|
printoutGoodsShelf:[ |
|
|
|
|
{name:'身份证', src:require('@/assets/img/goods/idcard.png'), id:13}, |
|
|
|
|
{name:'身份证复印件', src:require('@/assets/img/idCard-copy-sm.png'), id:23}, |
|
|
|
@ -249,6 +249,12 @@ export default { |
|
|
|
|
{name:'银行卡', src:require('@/assets/img/goods/bankCard.png'), id:16}, |
|
|
|
|
{name:'存款凭条', src:require('@/assets/img/goods/ckpt.png'), id:17}, |
|
|
|
|
], |
|
|
|
|
//钱箱 |
|
|
|
|
cashboxGoodsShelf:[ |
|
|
|
|
{name:'现金', src:require('@/assets/img/goods/cash-sm.png'), id:15}, |
|
|
|
|
{name:'身份证', src:require('@/assets/img/goods/idcard.png'), id:13}, |
|
|
|
|
{name:'身份证复印件', src:require('@/assets/img/idCard-copy-sm.png'), id:23}, |
|
|
|
|
], |
|
|
|
|
// 总盒子里面的东西 |
|
|
|
|
goodsShelfTotalData:[], |
|
|
|
|
// goods:[/* 物品栏物品 */ |
|
|
|
@ -445,30 +451,30 @@ export default { |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
getQueryVariable(name) { |
|
|
|
|
var reg = new RegExp('(^|&)'+name+'=([^&]*)(&|$)') |
|
|
|
|
if( window.location.href.split('?')[1]){ |
|
|
|
|
var r = window.location.href.split('?')[1].match(reg) |
|
|
|
|
if (r != null){ |
|
|
|
|
return (r[2]) |
|
|
|
|
}else{ |
|
|
|
|
return null |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
// getQueryVariable(name) { |
|
|
|
|
// var reg = new RegExp('(^|&)'+name+'=([^&]*)(&|$)') |
|
|
|
|
// if( window.location.href.split('?')[1]){ |
|
|
|
|
// var r = window.location.href.split('?')[1].match(reg) |
|
|
|
|
// if (r != null){ |
|
|
|
|
// return (r[2]) |
|
|
|
|
// }else{ |
|
|
|
|
// return null |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
// }, |
|
|
|
|
toggleGoods() { |
|
|
|
|
this.showGoods = !this.showGoods; |
|
|
|
|
}, |
|
|
|
|
showData(type,nbm) {/* 展示弹窗-type为弹窗标题文字 */ |
|
|
|
|
this.nbm = nbm |
|
|
|
|
if(type == '重要空白凭证箱'){ |
|
|
|
|
this.goodsShelfTotalData = this.systemInputGoodsShelf |
|
|
|
|
}else if(type == '身份证扫描仪' || type == '验钞机' || type == '资料'){ |
|
|
|
|
if(type == '普通凭证箱' || type == '系统'){ |
|
|
|
|
this.goodsShelfTotalData = this.systemInputGoodsShelf |
|
|
|
|
}else if(type == '身份证扫描仪' || type == '验钞机' || type == '资料' || type == '重要空白凭证箱'){ |
|
|
|
|
this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
}else if(type == '普通凭证箱' || type == '打印机'){ |
|
|
|
|
this.goodsShelfTotalData = this.printoutGoodsShelf |
|
|
|
|
}else if(type == '普通凭证箱'){ |
|
|
|
|
}else if(type == '打印机' || type == '客户签字' || type == '印章盒'){ |
|
|
|
|
this.goodsShelfTotalData = this.printoutGoodsShelf |
|
|
|
|
}else if(type == '钱箱'){ |
|
|
|
|
this.goodsShelfTotalData = this.cashboxGoodsShelf |
|
|
|
|
} |
|
|
|
|
this.$store.commit('system/changePop',{show:true,text:type}) |
|
|
|
|
}, |
|
|
|
@ -580,8 +586,6 @@ export default { |
|
|
|
|
formDataAccountPassword = this.passwordForm.passwordAgain |
|
|
|
|
sessionStorage.setItem('formDataAccountPassword', formDataAccountPassword) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.toggleGoods() |
|
|
|
@ -606,71 +610,77 @@ export default { |
|
|
|
|
}else{ |
|
|
|
|
if (this.receptionList.length >0){ |
|
|
|
|
this.$message.success(`${this.popText}操作成功!`) |
|
|
|
|
if (this.nbm == 1){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,4,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 2){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,3,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 3){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,2,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 4){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,1,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 5){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,8,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 6){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,9,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 7){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,10,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 9){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,11,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 10){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,6,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 11){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,7,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else{ |
|
|
|
|
if (this.nbm == 0){ |
|
|
|
|
// let formList = [] |
|
|
|
|
// let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
// if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
// for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,4,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
// sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 1){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,4,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 2){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,3,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 3){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,2,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 4){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,1,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 5){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,8,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 6){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,9,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 7){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,10,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 9){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,11,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 10){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,6,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else if (this.nbm == 11){ |
|
|
|
|
let formList = [] |
|
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
if (ruleReqs){formList = JSON.parse(ruleReqs);}else{formList = []} |
|
|
|
|
for (var i=0;i<this.receptionList.length;i++){formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,7,"+this.receptionList[i].id,"type": ""})} |
|
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
}else{ |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
this.$store.commit('system/changePop',{show:false,text:''}) |
|
|
|
|
this.receptionList = []; |
|
|
|
|
} |
|
|
|
|
this.$store.commit('system/changePop',{show:false,text:''}) |
|
|
|
|
this.receptionList = []; |
|
|
|
|
}else{ |
|
|
|
|
this.$message.error('请从物品栏中拖拽所需资料'); |
|
|
|
|
} |
|
|
|
|