mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 10:16:38 +08:00
修复
1.修改折扣1折显示问题 2.修改取消订单请求两次的问题
This commit is contained in:
parent
c07b3a5c5a
commit
7f40887829
@ -37,7 +37,7 @@
|
|||||||
¥
|
¥
|
||||||
</i>
|
</i>
|
||||||
<span>
|
<span>
|
||||||
{{ item.couponAmount?item.couponAmount:(parseInt((1-item.discount)*10)+'折') }}
|
{{ item.couponAmount?item.couponAmount:(parseInt(10 - item.discount*10)+'折') }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<strong>{{ item.couponName }}</strong>
|
<strong>{{ item.couponName }}</strong>
|
||||||
|
@ -167,7 +167,7 @@
|
|||||||
¥
|
¥
|
||||||
</i>
|
</i>
|
||||||
<span>
|
<span>
|
||||||
{{ item.couponAmount?item.couponAmount:(parseInt((1-item.discount)*10)+'折') }}
|
{{ item.couponAmount?item.couponAmount:(parseInt(10 - item.discount*10)+'折') }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<strong>{{ item.couponName }}</strong>
|
<strong>{{ item.couponName }}</strong>
|
||||||
|
@ -356,11 +356,13 @@ export default {
|
|||||||
type: "warning",
|
type: "warning",
|
||||||
message: "取消订单成功",
|
message: "取消订单成功",
|
||||||
});
|
});
|
||||||
setTimeout(() => {
|
/* 这个在全部变量去除的时候 记得加 */
|
||||||
this.indet(this.userdata);
|
// setTimeout(() => {
|
||||||
this.activeIndex=0;
|
// this.indet(this.userdata);
|
||||||
this.useralllist=[];
|
// this.activeIndex=0;
|
||||||
}, 500);
|
// this.useralllist=[];
|
||||||
|
// console.log('2222');
|
||||||
|
// }, 500);
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -237,7 +237,8 @@
|
|||||||
¥
|
¥
|
||||||
</i>
|
</i>
|
||||||
<span>
|
<span>
|
||||||
{{ item.couponAmount?item.couponAmount:(parseInt((1-item.discount)*10)+'折') }}
|
<!-- 不合并 因为0.1计算器不是0.1 -->
|
||||||
|
{{ item.couponAmount?item.couponAmount:(parseInt(10 - item.discount*10)+'折') }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<strong>{{ item.couponName }}</strong>
|
<strong>{{ item.couponName }}</strong>
|
||||||
|
Loading…
Reference in New Issue
Block a user