|
|
|
@ -131,7 +131,7 @@ |
|
|
|
|
<el-form-item label="确认密码" prop="passwordAgain"> |
|
|
|
|
<el-input show-password v-model="passwordForm.passwordAgain" maxlength="6" onkeyup="this.value=this.value.replace(/\D/g,'')" autocomplete="off"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
</el-form>@ |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div v-else-if="popText==='印章盒'" class="seal" style="width:1200px;"> |
|
|
|
@ -143,7 +143,8 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="box right" ref="popUpSeal"> |
|
|
|
|
<div class="img-wrap" :class="{ checked: commonChecked.includes(item.id),'img-wrap':true }" @click='dislodgeItem(index)' v-for="(item, index) in receptionList" :key="index" > |
|
|
|
|
<!-- receptionList --> |
|
|
|
|
<div class="img-wrap" :class="{ checked: commonChecked.includes(item.id),'img-wrap':true }" @click='dislodgeItem(item.id)' v-for="(item, index) in goodState" :key="index" > |
|
|
|
|
<img :src="item.src" class="fileSeal" alt="" /> |
|
|
|
|
<p class="text">{{item.name}}</p> |
|
|
|
|
</div> |
|
|
|
@ -171,14 +172,16 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<!-- 暂时未确定是否公共使用一个弹框 --> |
|
|
|
|
<div v-else class="list" ref="popUp"><!-- 钱箱 / 传票栏 ... 一系列可存物品弹框 --> |
|
|
|
|
<div class="img-wrap" :class="{ checked: commonChecked.includes(item.id),'img-wrap':true }" @click='dislodgeItem(index)' v-for="(item, index) in receptionList" :key="item.id"> |
|
|
|
|
<!-- 暂时未确定是否公共使用一个弹框 receptionList--> |
|
|
|
|
<div v-else class="list" ref="popUp"><!-- 钱箱 / 传票栏 ... 一系列可存物品弹框 --> |
|
|
|
|
<div class="img-wrap" :class="{ checked: commonChecked.includes(item.id),'img-wrap':true }" @click='dislodgeItem(item.id)' v-for="(item) in goodState" :key="item.id"> |
|
|
|
|
<img :src="item.src" class="file" alt="" /> |
|
|
|
|
<p class="text">{{item.name}}</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="dia-footer"> |
|
|
|
|
<button v-throttle @click="popSure" type="button">确定</button> |
|
|
|
|
</div> |
|
|
|
@ -261,9 +264,9 @@ export default { |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
return { |
|
|
|
|
cultureArr: [], // 传票栏 |
|
|
|
|
peopleSign: [], |
|
|
|
|
moneyBox: [], |
|
|
|
|
// cultureIn: [], // 传票栏 |
|
|
|
|
// peopleSign: [], |
|
|
|
|
// moneyBox: [], |
|
|
|
|
takeCheck: '', // 选择业务逻辑 myKey用来确定选择哪个项目 |
|
|
|
|
businessArr: [ |
|
|
|
|
{ |
|
|
|
@ -405,6 +408,7 @@ export default { |
|
|
|
|
showBusiness: false, |
|
|
|
|
manageVisible: false, // 显示系统录入 |
|
|
|
|
checkList: [],// 物品栏选中 |
|
|
|
|
// tmpBox: [], // 存储暂未保存的证件 |
|
|
|
|
elseBoxCheck:[],/* 所有其他可从物品栏拖拽物品进入的弹框 */ |
|
|
|
|
//身份证扫描仪//审核资料//验钞机//选择重要空白凭证 |
|
|
|
|
// 拿业务的东西替换掉 |
|
|
|
@ -469,6 +473,13 @@ export default { |
|
|
|
|
{name:'开户申请书回单',src:require('@/assets/img/goods/khsqs.png'),id:142}, |
|
|
|
|
{name:'存款凭条凭证联',src:require('@/assets/img/goods/ckpt.png'),id:171}, |
|
|
|
|
{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:'利息清单回单'}, |
|
|
|
|
{name:'盖过章的复印件',src:require('@/assets/img/idCard-copy-sm.png'),id:231}, |
|
|
|
|
], |
|
|
|
|
receptionList:[ |
|
|
|
|
|
|
|
|
@ -755,7 +766,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if(this.$store.state.system.popText == '密码器'){ |
|
|
|
|
else if(this.$store.state.system.popText == '密码器'){ |
|
|
|
|
if(this.$store.state.system.id == '62,1'){ |
|
|
|
|
|
|
|
|
|
}else if(this.$store.state.system.id == '64'){ |
|
|
|
@ -791,7 +802,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if(this.$store.state.system.popText == '身份证扫描仪' || this.$store.state.system.popText.includes('身份证扫描') || this.$store.state.system.popText.includes('银行')){ |
|
|
|
|
else if(this.$store.state.system.popText == '身份证扫描仪' || this.$store.state.system.popText.includes('身份证扫描') || this.$store.state.system.popText.includes('银行')){ |
|
|
|
|
if (this.$store.state.system.id == '33'){ |
|
|
|
|
this.nbm = 33 |
|
|
|
|
let param= { |
|
|
|
@ -919,15 +930,15 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if(this.$store.state.system.popText == '钱箱') { |
|
|
|
|
this.receptionList.splice(0, this.receptionList.length, ...this.moneyBox) |
|
|
|
|
} |
|
|
|
|
if(this.$store.state.system.popText == '客户签字') { |
|
|
|
|
this.receptionList.splice(0, this.receptionList.length, ...this.peopleSign) |
|
|
|
|
} |
|
|
|
|
if(this.$store.state.system.popText == '传票栏') { |
|
|
|
|
this.receptionList.splice(0, this.receptionList.length, ...this.cultureArr) |
|
|
|
|
} |
|
|
|
|
// else if(this.$store.state.system.popText == '钱箱') { |
|
|
|
|
// this.receptionList.splice(0, this.receptionList.length, ...this.moneyBox) |
|
|
|
|
// } |
|
|
|
|
// else if(this.$store.state.system.popText == '客户签字') { |
|
|
|
|
// this.receptionList.splice(0, this.receptionList.length, ...this.peopleSign) |
|
|
|
|
// } |
|
|
|
|
// else if(this.$store.state.system.popText == '传票栏') { |
|
|
|
|
// this.receptionList.splice(0, this.receptionList.length, ...this.cultureArr) |
|
|
|
|
// } |
|
|
|
|
if(!this.showGoods) this.checkList = [] |
|
|
|
|
return this.$store.state.system.showPop; |
|
|
|
|
}, |
|
|
|
@ -937,18 +948,27 @@ export default { |
|
|
|
|
id:function(){/* 文字 */ |
|
|
|
|
return this.$store.state.system.id; |
|
|
|
|
}, |
|
|
|
|
goods:function () {/* 物品栏的物品 */ |
|
|
|
|
return this.$store.state.system.goods |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
showGoods:function() { |
|
|
|
|
return this.$store.state.system.showGoods |
|
|
|
|
}, |
|
|
|
|
goodsOpen:function () {/* 物品栏的物品 */ |
|
|
|
|
return this.$store.state.system.goodsOpen |
|
|
|
|
myMap() { // 用做对照表 相应的popText对应相应的数组名字 |
|
|
|
|
if(this.popText === '钱箱') { |
|
|
|
|
return 'moneyBox' |
|
|
|
|
}else if(this.popText === '客户签字'){ |
|
|
|
|
return 'peopleSign' |
|
|
|
|
}else if(this.popText == '传票栏') { |
|
|
|
|
return 'cultureArr' |
|
|
|
|
}else if(this.popText == '印章盒') { |
|
|
|
|
return 'sealBox' |
|
|
|
|
}else { |
|
|
|
|
return '' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
...mapGetters({ |
|
|
|
|
goodsShelfTotalData: 'system/goods2', |
|
|
|
|
cultureIn: 'system/cultureIn', // 传票栏 |
|
|
|
|
peopleSign: 'system/peopleSign', |
|
|
|
|
goodState: 'system/goodState', |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
watch: { |
|
|
|
@ -1002,6 +1022,9 @@ export default { |
|
|
|
|
}; |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}else { |
|
|
|
|
// 去掉临时存储的证件 |
|
|
|
|
// this.tmpBox.splice(0, this.tmpBox.length) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -1049,44 +1072,45 @@ export default { |
|
|
|
|
if(evt.originalEvent.pageY<targetDom.bottom&&evt.originalEvent.pageY>targetDom.top){ |
|
|
|
|
/* oldindex识别是拖拽了哪个文件 */ |
|
|
|
|
// console.log(that.goodsShelfTotalData[evt.oldIndex].name,'执行拖拽2'); |
|
|
|
|
that.checkList.push(that.goodsShelfTotalData[evt.oldIndex].name) |
|
|
|
|
// 钱箱等的拖拽 |
|
|
|
|
// that.clickList.push(that.goodsShelfTotalData[evt.oldIndex].name) |
|
|
|
|
|
|
|
|
|
if(that.$refs.popUp) { |
|
|
|
|
for(var i=0;i<that.popArr.length;i++){ |
|
|
|
|
if (that.goodsShelfTotalData[evt.oldIndex].name == that.popArr[i].name){ |
|
|
|
|
if (that.receptionList == null){ |
|
|
|
|
that.receptionList = [] |
|
|
|
|
} |
|
|
|
|
if (that.receptionList.length){ |
|
|
|
|
for(var j=0;j< that.receptionList.length;j++){ |
|
|
|
|
if (that.receptionList[j].name == that.goodsShelfTotalData[evt.oldIndex].name){ |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
that.receptionList.push(that.popArr[i]) |
|
|
|
|
}else{ |
|
|
|
|
that.receptionList.push(that.popArr[i]) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if(that.popText == '钱箱') { |
|
|
|
|
// that.moneyBox.splice(0, that.moneyBox.length, ...that.receptionList) |
|
|
|
|
that.moneyBox = that.receptionList |
|
|
|
|
} |
|
|
|
|
if(that.popText == '客户签字') { |
|
|
|
|
that.peopleSign = that.receptionList |
|
|
|
|
} |
|
|
|
|
if(that.popText == '传票栏') { |
|
|
|
|
that.cultureArr = that.receptionList |
|
|
|
|
const index = that.goodState.findIndex(item => item.id === that.goodsShelfTotalData[evt.oldIndex].id) |
|
|
|
|
if(index !== -1) { |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
that.pushThings({ idArr: that.goodsShelfTotalData[evt.oldIndex].id, name: that.myMap}) |
|
|
|
|
// that.tmpBox.push(that.goodsShelfTotalData[evt.oldIndex].id) |
|
|
|
|
that.outThingsGoods([that.goodsShelfTotalData[evt.oldIndex].id]) |
|
|
|
|
// for(var i=0;i<that.popArr.length;i++){ |
|
|
|
|
// if (that.goodsShelfTotalData[evt.oldIndex].name == that.popArr[i].name){ |
|
|
|
|
// if (that.receptionList == null){ |
|
|
|
|
// that.receptionList = [] |
|
|
|
|
// } |
|
|
|
|
// if (that.receptionList.length){ |
|
|
|
|
// for(var j=0;j< that.receptionList.length;j++){ |
|
|
|
|
// if (that.receptionList[j].name == that.goodsShelfTotalData[evt.oldIndex].name){ |
|
|
|
|
// return; |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
// that.receptionList.push(that.popArr[i]) |
|
|
|
|
// }else{ |
|
|
|
|
// that.receptionList.push(that.popArr[i]) |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 印章的拖拽 |
|
|
|
|
else if(that.$refs.popUpSeal) { |
|
|
|
|
for(var i=0;i<that.popArr.length;i++){ |
|
|
|
|
if (that.goodsShelfTotalData[evt.oldIndex].name == that.popArr[i].name){ |
|
|
|
|
that.receptionList.splice(0, that.receptionList.length, that.popArr[i]) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// for(var i=0;i<that.popArr.length;i++){ |
|
|
|
|
// if (that.goodsShelfTotalData[evt.oldIndex].name == that.popArr[i].name){ |
|
|
|
|
// that.receptionList.splice(0, that.receptionList.length, that.popArr[i]) |
|
|
|
|
// } |
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
that.pushThings({ idArr: that.goodsShelfTotalData[evt.oldIndex].id, name: that.myMap}) |
|
|
|
|
that.outThingsGoods([that.goodsShelfTotalData[evt.oldIndex].id]) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
@ -1152,7 +1176,11 @@ export default { |
|
|
|
|
stampJudge: 'system/stampJudge', |
|
|
|
|
payMoney: 'system/payMoney', |
|
|
|
|
backPeople: 'system/backPeople', |
|
|
|
|
backCulture: 'system/backCulture' |
|
|
|
|
backCulture: 'system/backCulture', |
|
|
|
|
pushThings: 'system/pushThings', |
|
|
|
|
pushThingsGoods: 'system/pushThingsGoods', |
|
|
|
|
outThings: 'system/outThings', |
|
|
|
|
outThingsGoods: 'system/outThingsGoods', |
|
|
|
|
}), |
|
|
|
|
checkTake(myKey){ |
|
|
|
|
if(this.takeCheck === myKey) { |
|
|
|
@ -1200,8 +1228,19 @@ export default { |
|
|
|
|
} |
|
|
|
|
this.showBusiness = judge; |
|
|
|
|
}, |
|
|
|
|
dislodgeItem(index){ |
|
|
|
|
this.receptionList.splice(index,1); |
|
|
|
|
dislodgeItem(id){ |
|
|
|
|
// 点一下飞回来 |
|
|
|
|
if(this.myMap) { |
|
|
|
|
this.pushThingsGoods([id]) |
|
|
|
|
this.outThings({ name: this.myMap, idArr: [id]}) |
|
|
|
|
// const index = this.tmpBox.findIndex(item => item === id) |
|
|
|
|
// if( index!== -1 ) { |
|
|
|
|
// this.tmpBox.splice(index, 1) |
|
|
|
|
// } |
|
|
|
|
}else { |
|
|
|
|
// |
|
|
|
|
} |
|
|
|
|
// this.receptionList.splice(index,1); |
|
|
|
|
}, |
|
|
|
|
toggleGoods() { |
|
|
|
|
this.changeShowGoods(!this.showGoods) |
|
|
|
@ -1337,6 +1376,12 @@ export default { |
|
|
|
|
this.commonChecked.includes(id) ? this.commonChecked.splice(this.commonChecked.indexOf(id), 1) : this.commonChecked.push(id); |
|
|
|
|
}, |
|
|
|
|
closePop() {// 关闭弹窗 |
|
|
|
|
// if(this.myMap) { |
|
|
|
|
// // const index = this[this.myMap].length-this.tmpBox.length // 计算原来的减去临时的长度后从哪个位置开始删 |
|
|
|
|
// this.pushThingsGoods([...this.tmpBox]) |
|
|
|
|
// this.outThings({ name: this.myMap, idArr: [...this.tmpBox]}) |
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
this.receptionList = []; |
|
|
|
|
this.changeShowGoods(false) |
|
|
|
|
this.$store.commit('system/changePop',{show:false,text:''}) |
|
|
|
@ -1371,7 +1416,7 @@ export default { |
|
|
|
|
// this.$store.commit('system/changeGoods',{push:arr}) |
|
|
|
|
// // 加东西 |
|
|
|
|
// this.auditGoodsShelf.push({name:'银行卡', src:require('@/assets/img/goods/bankCard.png'), id:16}) // |
|
|
|
|
this.closePop() |
|
|
|
|
// this.closePop() |
|
|
|
|
// this.changeShowGoods(false) |
|
|
|
|
clickList = [] |
|
|
|
|
this.importantChecked = [] |
|
|
|
@ -1394,28 +1439,34 @@ export default { |
|
|
|
|
this.$message.error('请输入密码和确认密码'); |
|
|
|
|
} |
|
|
|
|
}else if(this.popText == '印章盒') { |
|
|
|
|
const id = this.receptionList[0].id |
|
|
|
|
const sealArr = [...this.sealChecked] |
|
|
|
|
this.stampJudge({ sealArr, id}) |
|
|
|
|
}else if(this.popText == '钱箱') { |
|
|
|
|
console.log(this.receptionList) |
|
|
|
|
for(let i=0; i<this.receptionList.length; i++) { |
|
|
|
|
if(this.receptionList[i].id === 15) { |
|
|
|
|
this.payMoney() |
|
|
|
|
this.moneyBox.push(...this.receptionList) |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
if(this.goodState.length === 0) { |
|
|
|
|
this.$message({ |
|
|
|
|
message: '请放入证件进行盖章!', |
|
|
|
|
type: 'warning' |
|
|
|
|
}); |
|
|
|
|
return |
|
|
|
|
}else { |
|
|
|
|
const sealArr = [...this.sealChecked] |
|
|
|
|
this.stampJudge(sealArr) |
|
|
|
|
} |
|
|
|
|
}else if(this.popText == '客户签字') { |
|
|
|
|
const idArr = this.receptionList.map(item => item.id) |
|
|
|
|
this.backPeople(idArr) |
|
|
|
|
// this.stampJudge() |
|
|
|
|
}else if(this.popText == '传票栏') { |
|
|
|
|
const idArr = this.receptionList.map(item => item.id) |
|
|
|
|
this.backCulture(idArr) |
|
|
|
|
// this.stampJudge() |
|
|
|
|
}else{ |
|
|
|
|
console.log('-刷卡确认') |
|
|
|
|
} |
|
|
|
|
// else if(this.popText == '钱箱') { |
|
|
|
|
// for(let i=0; i<this.receptionList.length; i++) { |
|
|
|
|
// if(this.receptionList[i].id === 15) { |
|
|
|
|
// this.payMoney() |
|
|
|
|
// break; |
|
|
|
|
// } |
|
|
|
|
// // this.moneyBox.splice(0, this.moneyBox.length, ...this.receptionList) |
|
|
|
|
// } |
|
|
|
|
// }else if(this.popText == '客户签字') { |
|
|
|
|
// const idArr = this.receptionList.map(item => item.id) |
|
|
|
|
// this.backPeople(idArr) |
|
|
|
|
// // this.stampJudge() |
|
|
|
|
// }else if(this.popText == '传票栏') { |
|
|
|
|
// const idArr = this.receptionList.map(item => item.id) |
|
|
|
|
// this.backCulture(idArr) |
|
|
|
|
// } |
|
|
|
|
else{ |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
|
if (this.$store.state.system.id == '33'){ |
|
|
|
|
this.nbm = 33 |
|
|
|
@ -1760,12 +1811,8 @@ export default { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.closePop() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.$store.commit('system/changePop', {show: false, text: ''}) |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|