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