|
|
@ -173,7 +173,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 暂时未确定是否公共使用一个弹框 --> |
|
|
|
<!-- 暂时未确定是否公共使用一个弹框 --> |
|
|
|
<div v-else class="list" ref="popUp"><!-- 钱箱 / 传票栏 ... 一系列可存物品弹框 --> |
|
|
|
<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="index" v-if="receptionList.length" > |
|
|
|
<div class="img-wrap" :class="{ checked: commonChecked.includes(item.id),'img-wrap':true }" @click='dislodgeItem(index)' v-for="(item, index) in receptionList" :key="index" > |
|
|
|
<img :src="item.src" class="file" alt="" /> |
|
|
|
<img :src="item.src" class="file" alt="" /> |
|
|
|
<p class="text">{{item.name}}</p> |
|
|
|
<p class="text">{{item.name}}</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -205,7 +205,7 @@ |
|
|
|
<div class="data-title2">请选择系统</div> |
|
|
|
<div class="data-title2">请选择系统</div> |
|
|
|
<div class="close"><img v-lazy="lazyImg[28]" alt="" @click="showBusinessSelect(false)" /></div> |
|
|
|
<div class="close"><img v-lazy="lazyImg[28]" alt="" @click="showBusinessSelect(false)" /></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<p class="tips2">python程序设计 | 请选择您要做的项目实验</p> |
|
|
|
<p class="tips2">请选择您要办理的业务</p> |
|
|
|
<ul class="take-list2"> |
|
|
|
<ul class="take-list2"> |
|
|
|
<li v-for="(item) in businessArr" :class="{checked: takeCheck == item.myKey}" :key="item.myKey" @click="checkTake(item.myKey)"> |
|
|
|
<li v-for="(item) in businessArr" :class="{checked: takeCheck == item.myKey}" :key="item.myKey" @click="checkTake(item.myKey)"> |
|
|
|
<img v-lazy="item.img" alt=""> |
|
|
|
<img v-lazy="item.img" alt=""> |
|
|
@ -261,6 +261,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
return { |
|
|
|
return { |
|
|
|
|
|
|
|
moneyBox: [], |
|
|
|
takeCheck: '', // 选择业务逻辑 myKey用来确定选择哪个项目 |
|
|
|
takeCheck: '', // 选择业务逻辑 myKey用来确定选择哪个项目 |
|
|
|
businessArr: [ |
|
|
|
businessArr: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -461,6 +462,11 @@ export default { |
|
|
|
{name:'开户申请书',src:require('@/assets/img/goods/khsqs.png'),id:14}, |
|
|
|
{name:'开户申请书',src:require('@/assets/img/goods/khsqs.png'),id:14}, |
|
|
|
{name:'现金',src:require('@/assets/img/goods/cash-sm.png'),id:15}, |
|
|
|
{name:'现金',src:require('@/assets/img/goods/cash-sm.png'),id:15}, |
|
|
|
{name:'存款凭条',src:require('@/assets/img/goods/ckpt.png'),id:17}, |
|
|
|
{name:'存款凭条',src:require('@/assets/img/goods/ckpt.png'),id:17}, |
|
|
|
|
|
|
|
// 以下是我自己加的 本来没有,业务需要 |
|
|
|
|
|
|
|
{name:'开户申请书凭证联',src:require('@/assets/img/goods/khsqs.png'),id:141}, |
|
|
|
|
|
|
|
{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}, |
|
|
|
], |
|
|
|
], |
|
|
|
receptionList:[ |
|
|
|
receptionList:[ |
|
|
|
|
|
|
|
|
|
|
@ -911,6 +917,9 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(this.$store.state.system.popText == '钱箱') { |
|
|
|
|
|
|
|
// this.receptionList.push(...this.moneyBox) |
|
|
|
|
|
|
|
} |
|
|
|
if(!this.showGoods) this.checkList = [] |
|
|
|
if(!this.showGoods) this.checkList = [] |
|
|
|
return this.$store.state.system.showPop; |
|
|
|
return this.$store.state.system.showPop; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -1033,8 +1042,8 @@ export default { |
|
|
|
/* oldindex识别是拖拽了哪个文件 */ |
|
|
|
/* oldindex识别是拖拽了哪个文件 */ |
|
|
|
// console.log(that.goodsShelfTotalData[evt.oldIndex].name,'执行拖拽2'); |
|
|
|
// console.log(that.goodsShelfTotalData[evt.oldIndex].name,'执行拖拽2'); |
|
|
|
that.checkList.push(that.goodsShelfTotalData[evt.oldIndex].name) |
|
|
|
that.checkList.push(that.goodsShelfTotalData[evt.oldIndex].name) |
|
|
|
console.log('checkList') |
|
|
|
// 钱箱等的拖拽 |
|
|
|
console.log(that.checkList) |
|
|
|
if(that.$refs.popUp) { |
|
|
|
for(var i=0;i<that.popArr.length;i++){ |
|
|
|
for(var i=0;i<that.popArr.length;i++){ |
|
|
|
if (that.goodsShelfTotalData[evt.oldIndex].name == that.popArr[i].name){ |
|
|
|
if (that.goodsShelfTotalData[evt.oldIndex].name == that.popArr[i].name){ |
|
|
|
if (that.receptionList == null){ |
|
|
|
if (that.receptionList == null){ |
|
|
@ -1052,6 +1061,18 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
console.log('whata') |
|
|
|
|
|
|
|
console.log(that.receptionList) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// 印章的拖拽 |
|
|
|
|
|
|
|
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]) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
@ -1073,10 +1094,6 @@ export default { |
|
|
|
if(evt.originalEvent.pageX<targetDom.right&&evt.originalEvent.pageX>targetDom.left){ |
|
|
|
if(evt.originalEvent.pageX<targetDom.right&&evt.originalEvent.pageX>targetDom.left){ |
|
|
|
if(evt.originalEvent.pageY<targetDom.bottom&&evt.originalEvent.pageY>targetDom.top){ |
|
|
|
if(evt.originalEvent.pageY<targetDom.bottom&&evt.originalEvent.pageY>targetDom.top){ |
|
|
|
/* oldindex识别是拖拽了哪个文件 */ |
|
|
|
/* oldindex识别是拖拽了哪个文件 */ |
|
|
|
console.log(evt) |
|
|
|
|
|
|
|
console.log(that.importanceArr) |
|
|
|
|
|
|
|
console.log(that.goodsShelfTotalData) |
|
|
|
|
|
|
|
console.log(that.importanceArr[evt.oldIndex].name,'执行拖拽2'); |
|
|
|
|
|
|
|
that.checkList.push(that.importanceArr[evt.oldIndex].name) |
|
|
|
that.checkList.push(that.importanceArr[evt.oldIndex].name) |
|
|
|
if(that.goodsShelfTotalData.length > 0){ |
|
|
|
if(that.goodsShelfTotalData.length > 0){ |
|
|
|
for(var i=0;i<that.goodsShelfTotalData.length;i++){ |
|
|
|
for(var i=0;i<that.goodsShelfTotalData.length;i++){ |
|
|
@ -1085,7 +1102,9 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
// that.goodsShelfTotalData.push(that.importanceArr[evt.oldIndex]) |
|
|
|
// that.goodsShelfTotalData.push(that.importanceArr[evt.oldIndex]) |
|
|
|
// that.addGoods(that.importanceArr[evt.oldIndex]) |
|
|
|
console.log(that.importanceArr[evt.oldIndex]) |
|
|
|
|
|
|
|
console.log('---xxxxxxssss') |
|
|
|
|
|
|
|
that.addGoods(that.importanceArr[evt.oldIndex]) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -1113,7 +1132,9 @@ export default { |
|
|
|
addGoodsOpen: 'system/addGoodsOpen', |
|
|
|
addGoodsOpen: 'system/addGoodsOpen', |
|
|
|
setBusinessKey: 'system/setBusinessKey', |
|
|
|
setBusinessKey: 'system/setBusinessKey', |
|
|
|
addGoods: 'system/addGoods', |
|
|
|
addGoods: 'system/addGoods', |
|
|
|
deleteGoods: 'system/deleteGoods' |
|
|
|
deleteGoods: 'system/deleteGoods', |
|
|
|
|
|
|
|
stampJudge: 'system/stampJudge', |
|
|
|
|
|
|
|
payMoney: 'system/payMoney' |
|
|
|
}), |
|
|
|
}), |
|
|
|
checkTake(myKey){ |
|
|
|
checkTake(myKey){ |
|
|
|
if(this.takeCheck === myKey) { |
|
|
|
if(this.takeCheck === myKey) { |
|
|
@ -1124,9 +1145,17 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
selectBusiness(myKey) { |
|
|
|
selectBusiness(myKey) { |
|
|
|
if(!myKey) { |
|
|
|
if(!myKey) { |
|
|
|
this.$message({ |
|
|
|
this.$confirm('由于您未选择一个业务,系统将返回主界面, 是否继续?', '提示', { |
|
|
|
message: '请选择一个业务!', |
|
|
|
confirmButtonText: '确定', |
|
|
|
|
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
type: 'warning' |
|
|
|
|
|
|
|
}).then(() => { |
|
|
|
|
|
|
|
this.$router.push('/index') |
|
|
|
|
|
|
|
}).catch(() => { |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
type: 'info', |
|
|
|
|
|
|
|
message: '请选择一个业务' |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
return |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
@ -1272,8 +1301,6 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
checkSeal(id) {/* 选中印章 */ |
|
|
|
checkSeal(id) {/* 选中印章 */ |
|
|
|
this.sealChecked.includes(id) ? this.sealChecked.splice(this.sealChecked.indexOf(id), 1) : this.sealChecked.push(id); |
|
|
|
this.sealChecked.includes(id) ? this.sealChecked.splice(this.sealChecked.indexOf(id), 1) : this.sealChecked.push(id); |
|
|
|
console.log('---') |
|
|
|
|
|
|
|
console.log(this.sealChecked) |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
checkImportant(id){/* 选中重空凭证 */ |
|
|
|
checkImportant(id){/* 选中重空凭证 */ |
|
|
|
this.importantChecked.includes(id) ? this.importantChecked.splice(this.importantChecked.indexOf(id), 1) : this.importantChecked.push(id); |
|
|
|
this.importantChecked.includes(id) ? this.importantChecked.splice(this.importantChecked.indexOf(id), 1) : this.importantChecked.push(id); |
|
|
@ -1338,6 +1365,21 @@ export default { |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
this.$message.error('请输入密码和确认密码'); |
|
|
|
this.$message.error('请输入密码和确认密码'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
}else if(this.popText == '印章盒') { |
|
|
|
|
|
|
|
const id = this.receptionList[0].id |
|
|
|
|
|
|
|
const sealArr = [...this.sealChecked] |
|
|
|
|
|
|
|
this.stampJudge({ sealArr, id}) |
|
|
|
|
|
|
|
console.log(this.receptionList) |
|
|
|
|
|
|
|
console.log(this.sealChecked) |
|
|
|
|
|
|
|
}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; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
console.log('-刷卡确认') |
|
|
|
console.log('-刷卡确认') |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|