fix: 更新包码

This commit is contained in:
zhangds 2024-04-06 21:58:10 +08:00
parent ecad8c01f9
commit 43c5bcf966
2 changed files with 8 additions and 20 deletions

View File

@ -315,18 +315,6 @@
},
methods: {
preventTouchMove(e) {
e.preventDefault(); // 阻止默认的处理方式(阻止下拉滑动的效果)
},
// 阻止ios滑动
stopIos() {
let self = this;
document.body.addEventListener('touchmove', self.preventTouchMove, { passive: false })
},
rmStopIos() {
let self = this;
document.body.removeEventListener('touchmove', self.preventTouchMove, { passive: false })
},
// 错误弹出框关闭
knowFn() {
this.popboxshow = false;

View File

@ -140,7 +140,7 @@
<!-- 弹窗 -->
<div class="tip-pop mask" v-show="popMsg">
<div class="tip-main" style="top: 10%;">
<div class="tip-main">
<div class="tip-pop-head">
<img src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/combining/zh-dd.png"
class="tip-pop-dd" />
@ -166,7 +166,7 @@
</p>
<div v-if="errListShow"
style="padding: 0 0.2rem;overflow-y: scroll;max-height: 2rem;text-align: left;">
style="padding: 0 0.2rem;text-align: left;max-height: 2rem;overflow-y: scroll;">
<p class="err-list-p" v-for="(item,index) in goods.err_msg">错误{{Number(index) + 1}}: {{ item }}
</p>
</div>
@ -176,8 +176,9 @@
<button class="tip-btn" v-show="goods.send_status === 4" @click="() => {
errListShow = !errListShow
if(errListShow === false){
popMsg = false;
popMsg = false;
}
}">{{
errListShow ? '我知道了' : '查看失败原因' }}</button>
@ -383,11 +384,10 @@
// 轮循
groupProductVoucherDetail() {
let self = this;
req.axiosGet('/key/group/groupProductVoucherDetail', {
req.axiosPost('/key/group/groupProductVoucherDetail', {
token: this.token,
code_batch_id: this.code_batch_id
}).then(res => {
if (res.code === 200) {
// send_status 1发放中2全部成功 3全部失败4部分失败 5未领取
@ -453,7 +453,7 @@
// 错误去重
self.goods.err_msg = [...new Set(all_err)];
self.timeGet = null;
self.popMsg = true;
return
} else if (errLength.length > 0 && product_all.length > errLength.length) {
// 领取失败数,小于全部数量 -> send_status 4 部分失败
@ -463,7 +463,7 @@
self.isErrLength = errLength.length;
self.goods.send_status = 4;
self.timeGet = null;
self.popMsg = true;
return
}
@ -472,7 +472,7 @@
if (allOkLength.length > 0 && allOkLength.length === product_all.length) {
self.goods.send_status = 2;
self.timeGet = null;
self.popMsg = true;
return
}
}