|
|
|
@ -5,7 +5,7 @@ |
|
|
|
|
<!-- <img class="sth guide" src="@/assets/img/guide.png" alt="" /> --> |
|
|
|
|
<img class="sth man cp" v-lazy="lazyImg[0]" alt="" @click="showData('客户签字',0)"/> |
|
|
|
|
<img class="sth counter" v-lazy="lazyImg[1]" alt="" /> |
|
|
|
|
<img class="sth glass" v-lazy="lazyImg[2]" alt="" /> |
|
|
|
|
<img class="sth glass" v-lazy="lazyImg[2]" alt="" @click="showData('客户签字',0)"/> |
|
|
|
|
|
|
|
|
|
<!-- 系统录入 --> |
|
|
|
|
<el-tooltip placement="top" popper-class="sth-popper"> |
|
|
|
@ -173,7 +173,7 @@ |
|
|
|
|
</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="index" > |
|
|
|
|
<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"> |
|
|
|
|
<img :src="item.src" class="file" alt="" /> |
|
|
|
|
<p class="text">{{item.name}}</p> |
|
|
|
|
</div> |
|
|
|
@ -261,6 +261,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
return { |
|
|
|
|
peopleSign: [], |
|
|
|
|
moneyBox: [], |
|
|
|
|
takeCheck: '', // 选择业务逻辑 myKey用来确定选择哪个项目 |
|
|
|
|
businessArr: [ |
|
|
|
@ -918,7 +919,10 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if(this.$store.state.system.popText == '钱箱') { |
|
|
|
|
// this.receptionList.push(...this.moneyBox) |
|
|
|
|
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.showGoods) this.checkList = [] |
|
|
|
|
return this.$store.state.system.showPop; |
|
|
|
@ -1061,8 +1065,13 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
console.log('whata') |
|
|
|
|
console.log(that.receptionList) |
|
|
|
|
if(that.popText == '钱箱') { |
|
|
|
|
// that.moneyBox.splice(0, that.moneyBox.length, ...that.receptionList) |
|
|
|
|
that.moneyBox = that.receptionList |
|
|
|
|
} |
|
|
|
|
if(that.popText == '客户签字') { |
|
|
|
|
that.peopleSign = that.receptionList |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// 印章的拖拽 |
|
|
|
|
else if(that.$refs.popUpSeal) { |
|
|
|
@ -1134,7 +1143,8 @@ export default { |
|
|
|
|
addGoods: 'system/addGoods', |
|
|
|
|
deleteGoods: 'system/deleteGoods', |
|
|
|
|
stampJudge: 'system/stampJudge', |
|
|
|
|
payMoney: 'system/payMoney' |
|
|
|
|
payMoney: 'system/payMoney', |
|
|
|
|
backPeople: 'system/backPeople' |
|
|
|
|
}), |
|
|
|
|
checkTake(myKey){ |
|
|
|
|
if(this.takeCheck === myKey) { |
|
|
|
@ -1148,7 +1158,8 @@ export default { |
|
|
|
|
this.$confirm('由于您未选择一个业务,系统将返回主界面, 是否继续?', '提示', { |
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
type: 'warning' |
|
|
|
|
type: 'warning', |
|
|
|
|
center: true |
|
|
|
|
}).then(() => { |
|
|
|
|
this.$router.push('/index') |
|
|
|
|
}).catch(() => { |
|
|
|
@ -1164,9 +1175,18 @@ export default { |
|
|
|
|
}, |
|
|
|
|
showBusinessSelect (judge) { |
|
|
|
|
if(!judge && !this.businessKey) { |
|
|
|
|
this.$message({ |
|
|
|
|
message: '请选择一个业务!', |
|
|
|
|
type: 'warning' |
|
|
|
|
this.$confirm('由于您未选择一个业务,系统将返回主界面, 是否继续?', '提示', { |
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
type: 'warning', |
|
|
|
|
center: true |
|
|
|
|
}).then(() => { |
|
|
|
|
this.$router.push('/index') |
|
|
|
|
}).catch(() => { |
|
|
|
|
this.$message({ |
|
|
|
|
type: 'info', |
|
|
|
|
message: '请选择一个业务' |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
@ -1369,8 +1389,6 @@ export default { |
|
|
|
|
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++) { |
|
|
|
@ -1380,6 +1398,10 @@ export default { |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}else if(this.popText == '客户签字') { |
|
|
|
|
const idArr = this.receptionList.map(item => item.id) |
|
|
|
|
this.backPeople(idArr) |
|
|
|
|
// this.stampJudge() |
|
|
|
|
}else{ |
|
|
|
|
console.log('-刷卡确认') |
|
|
|
|
// this.goodsShelfTotalData = this.auditGoodsShelf |
|
|
|
@ -1783,6 +1805,7 @@ export default { |
|
|
|
|
position: absolute; |
|
|
|
|
} |
|
|
|
|
.glass { |
|
|
|
|
cursor: pointer; |
|
|
|
|
// 玻璃窗 |
|
|
|
|
top: 16vh; |
|
|
|
|
left: 50vw; |
|
|
|
|