|
|
@ -455,9 +455,9 @@ |
|
|
|
:visible.sync="tipsDialog" |
|
|
|
:visible.sync="tipsDialog" |
|
|
|
custom-class="bgNone" |
|
|
|
custom-class="bgNone" |
|
|
|
center> |
|
|
|
center> |
|
|
|
<div class="data-dia tipsDialog" ref="dataDia2" v-drag> |
|
|
|
<div class="data-dia tipsDialog" ref="dataDia2"> |
|
|
|
<div class="dia-header h-1/6"> |
|
|
|
<div class="dia-header h-2/6" > |
|
|
|
<div class="data-title">提示</div> |
|
|
|
<div class="data-title2">提示</div> |
|
|
|
<img class="close" v-lazy="lazyImg[28]" alt="" @click="changeTipsDialog(false)" /> |
|
|
|
<img class="close" v-lazy="lazyImg[28]" alt="" @click="changeTipsDialog(false)" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<h3>您已选择:</h3> |
|
|
|
<h3>您已选择:</h3> |
|
|
@ -602,7 +602,7 @@ export default { |
|
|
|
{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/idCard-copy-sm.png'), id:23}, |
|
|
|
{name:'身份证复印件', src:require('@/assets/img/idCard-copy-sm.png'), id:23}, |
|
|
|
], |
|
|
|
], |
|
|
|
// id乱配 |
|
|
|
// 这里id只是起到v-key避免重复的作用 因为后台只需要判断值的和是否等于判分点 |
|
|
|
cashboxGoodsShelf2: [ |
|
|
|
cashboxGoodsShelf2: [ |
|
|
|
{name:'100元', src:require('@/assets/img/cash/100元.png'), id:15, num: ''}, |
|
|
|
{name:'100元', src:require('@/assets/img/cash/100元.png'), id:15, num: ''}, |
|
|
|
{name:'50元', src:require('@/assets/img/cash/50元.png'), id:4399, num: ''}, |
|
|
|
{name:'50元', src:require('@/assets/img/cash/50元.png'), id:4399, num: ''}, |
|
|
@ -683,6 +683,7 @@ export default { |
|
|
|
{name:'业务收费凭证回单',src:require('@/assets/img/goods/ywsfpz.png'),id:481}, |
|
|
|
{name:'业务收费凭证回单',src:require('@/assets/img/goods/ywsfpz.png'),id:481}, |
|
|
|
{name:'业务收费凭证凭证联',src:require('@/assets/img/goods/ywsfpz.png'),id:482}, |
|
|
|
{name:'业务收费凭证凭证联',src:require('@/assets/img/goods/ywsfpz.png'),id:482}, |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
// 这个是临时展示的 |
|
|
|
receptionList:[ |
|
|
|
receptionList:[ |
|
|
|
|
|
|
|
|
|
|
|
], |
|
|
|
], |
|
|
@ -725,6 +726,8 @@ export default { |
|
|
|
// { src: require('@/assets/img/logos/账户服务.svg') }, |
|
|
|
// { src: require('@/assets/img/logos/账户服务.svg') }, |
|
|
|
// { src: require('@/assets/img/logos/重空现金.svg') } |
|
|
|
// { src: require('@/assets/img/logos/重空现金.svg') } |
|
|
|
// ], |
|
|
|
// ], |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 用来展示完成Logo,后来说不需要 |
|
|
|
finishPng: require('@/assets/img/finish.png'), |
|
|
|
finishPng: require('@/assets/img/finish.png'), |
|
|
|
finishGoods: { |
|
|
|
finishGoods: { |
|
|
|
moneyBox: false, |
|
|
|
moneyBox: false, |
|
|
@ -802,6 +805,7 @@ export default { |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
|
|
|
|
// 印章盒的印章id与名字对应,其他地方有用,易于操作 |
|
|
|
isSeal() { |
|
|
|
isSeal() { |
|
|
|
const stampMap2 = { |
|
|
|
const stampMap2 = { |
|
|
|
429: '业务专用章', |
|
|
|
429: '业务专用章', |
|
|
@ -849,9 +853,13 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 将拿了多少钱渲染上页面,依赖于cashboxGoodsShelf2 |
|
|
|
backMoneyArr() { |
|
|
|
backMoneyArr() { |
|
|
|
return this.cashboxGoodsShelf2.filter(item => item.num>0) |
|
|
|
return this.cashboxGoodsShelf2.filter(item => item.num>0) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 计算一共拿了多少钱 |
|
|
|
backMoneyTotal() { |
|
|
|
backMoneyTotal() { |
|
|
|
return this.cashboxGoodsShelf2.reduce((total, item) => { |
|
|
|
return this.cashboxGoodsShelf2.reduce((total, item) => { |
|
|
|
if(item.name.includes('元')) { |
|
|
|
if(item.name.includes('元')) { |
|
|
@ -863,6 +871,8 @@ export default { |
|
|
|
}, 0) |
|
|
|
}, 0) |
|
|
|
// return 666 |
|
|
|
// return 666 |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 这些id是需要输入确认密码的 然后needPasswordAgain属性可以拿去执行一些判断 |
|
|
|
needPasswordAgain() { |
|
|
|
needPasswordAgain() { |
|
|
|
if(this.id == '62,1' || this.id == '62,2' || this.id == '62,3' || this.id == '129' || this.id == '167' || this.id == '301') { |
|
|
|
if(this.id == '62,1' || this.id == '62,2' || this.id == '62,3' || this.id == '129' || this.id == '167' || this.id == '301') { |
|
|
|
return true |
|
|
|
return true |
|
|
@ -890,13 +900,18 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
return arr |
|
|
|
return arr |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 依赖于当前选中了哪个业务 |
|
|
|
businessKey() { |
|
|
|
businessKey() { |
|
|
|
return this.$store.state.system.businessKey |
|
|
|
return this.$store.state.system.businessKey |
|
|
|
}, |
|
|
|
}, |
|
|
|
full: function () {// 全屏 |
|
|
|
// 依赖于vuex中的全屏,让后一些方法可以改变它的值。 |
|
|
|
|
|
|
|
full: function () { |
|
|
|
return this.$store.state.system.fullScreen; |
|
|
|
return this.$store.state.system.fullScreen; |
|
|
|
}, |
|
|
|
}, |
|
|
|
showPop:function(){/* 展示弹框 */ |
|
|
|
|
|
|
|
|
|
|
|
// 展示弹框 |
|
|
|
|
|
|
|
showPop:function(){ |
|
|
|
const dataDia = this.$refs.dataDia |
|
|
|
const dataDia = this.$refs.dataDia |
|
|
|
// 每次显示弹框时重置方位 |
|
|
|
// 每次显示弹框时重置方位 |
|
|
|
if (dataDia) { |
|
|
|
if (dataDia) { |
|
|
@ -921,7 +936,8 @@ export default { |
|
|
|
showGoods:function() { |
|
|
|
showGoods:function() { |
|
|
|
return this.$store.state.system.showGoods |
|
|
|
return this.$store.state.system.showGoods |
|
|
|
}, |
|
|
|
}, |
|
|
|
myMap() { // 用做对照表 相应的popText对应相应的数组名字 |
|
|
|
// 用做对照表 相应的popText对应相应的数组名字 这个和vuex中的businessSelect中的信息是耦合的,要确保名称抄对,便于物品的交互 |
|
|
|
|
|
|
|
myMap() { |
|
|
|
if(this.popText === '钱箱') { |
|
|
|
if(this.popText === '钱箱') { |
|
|
|
return 'moneyBox' |
|
|
|
return 'moneyBox' |
|
|
|
}else if(this.popText === '客户签字'){ |
|
|
|
}else if(this.popText === '客户签字'){ |
|
|
@ -958,6 +974,8 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
watch: { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 如果图片放大器被关了,则重置信息 |
|
|
|
showImg(newVal) { |
|
|
|
showImg(newVal) { |
|
|
|
if(!newVal) { |
|
|
|
if(!newVal) { |
|
|
|
this.imgSrc = '' |
|
|
|
this.imgSrc = '' |
|
|
@ -967,8 +985,6 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
'$route.path': function (val) { |
|
|
|
'$route.path': function (val) { |
|
|
|
// 控制弹框显隐 |
|
|
|
// 控制弹框显隐 |
|
|
@ -979,11 +995,15 @@ export default { |
|
|
|
this.manageVisible = false; |
|
|
|
this.manageVisible = false; |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 打开电脑录入的时候关闭物品栏 |
|
|
|
manageVisible(newVal) { |
|
|
|
manageVisible(newVal) { |
|
|
|
if(newVal === false) { |
|
|
|
if(newVal === false) { |
|
|
|
this.changeShowGoods(false) |
|
|
|
this.changeShowGoods(false) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 展开交互的物品栏 |
|
|
|
showPop(newVal) { |
|
|
|
showPop(newVal) { |
|
|
|
if(newVal) { |
|
|
|
if(newVal) { |
|
|
|
if(this.popText === '重要空白凭证箱') { |
|
|
|
if(this.popText === '重要空白凭证箱') { |
|
|
@ -1139,8 +1159,9 @@ export default { |
|
|
|
if(that.$refs.popUp) { |
|
|
|
if(that.$refs.popUp) { |
|
|
|
if(that.myMap) { |
|
|
|
if(that.myMap) { |
|
|
|
const id = that.goodsShelfTotalData[evt.oldIndex].id |
|
|
|
const id = that.goodsShelfTotalData[evt.oldIndex].id |
|
|
|
|
|
|
|
// 将物品从物品栏中取出 |
|
|
|
that.outThingsGoods([id]) |
|
|
|
that.outThingsGoods([id]) |
|
|
|
|
|
|
|
// 将物品放入物品栏 |
|
|
|
that.pushThings({ idArr: [id], name: that.myMap}) |
|
|
|
that.pushThings({ idArr: [id], name: that.myMap}) |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
for(var i=0;i<that.popArr.length;i++){ |
|
|
|
for(var i=0;i<that.popArr.length;i++){ |
|
|
@ -2610,6 +2631,22 @@ export default { |
|
|
|
// background: url(../../../assets/img/dia-title.png); |
|
|
|
// background: url(../../../assets/img/dia-title.png); |
|
|
|
background-size: 250px 50px; |
|
|
|
background-size: 250px 50px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.data-title2 { |
|
|
|
|
|
|
|
height:72px; |
|
|
|
|
|
|
|
width: 300px; |
|
|
|
|
|
|
|
margin: 0 auto; |
|
|
|
|
|
|
|
font-size: 24px; |
|
|
|
|
|
|
|
line-height: 72px; |
|
|
|
|
|
|
|
font-weight: 600; |
|
|
|
|
|
|
|
letter-spacing: 0.29px; |
|
|
|
|
|
|
|
font-family: PingFangBold; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
color: #fff; |
|
|
|
|
|
|
|
background: url(../../../assets/img/dia-title.png) 0 0 / cover no-repeat; |
|
|
|
|
|
|
|
// background-position-x: 25px; |
|
|
|
|
|
|
|
// background: url(../../../assets/img/dia-title.png); |
|
|
|
|
|
|
|
background-size: 300px 72px; |
|
|
|
|
|
|
|
} |
|
|
|
.close { |
|
|
|
.close { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
top: 15px; |
|
|
|
top: 15px; |
|
|
@ -3065,6 +3102,7 @@ color: #fff; |
|
|
|
box-shadow: 0 0 0 0!important; |
|
|
|
box-shadow: 0 0 0 0!important; |
|
|
|
.peopleDialog { |
|
|
|
.peopleDialog { |
|
|
|
width: 580px; |
|
|
|
width: 580px; |
|
|
|
|
|
|
|
min-height: 466px; |
|
|
|
height: 466px; |
|
|
|
height: 466px; |
|
|
|
background: #FFFFFF; |
|
|
|
background: #FFFFFF; |
|
|
|
border-radius: 16px; |
|
|
|
border-radius: 16px; |
|
|
@ -3098,7 +3136,9 @@ color: #fff; |
|
|
|
} |
|
|
|
} |
|
|
|
.tipsDialog { |
|
|
|
.tipsDialog { |
|
|
|
width: 580px; |
|
|
|
width: 580px; |
|
|
|
height: 520px; |
|
|
|
// height: 520px; |
|
|
|
|
|
|
|
min-height: 300px; |
|
|
|
|
|
|
|
padding-bottom: 50px; |
|
|
|
background: #FFFFFF; |
|
|
|
background: #FFFFFF; |
|
|
|
border-radius: 16px; |
|
|
|
border-radius: 16px; |
|
|
|
box-shadow: 0 0 0 0!important; |
|
|
|
box-shadow: 0 0 0 0!important; |
|
|
|