提交 ac2fc6df 编写于 作者: guangjun.yang's avatar guangjun.yang

修改状态值

传-1
上级 b2b2fad5
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
</p> </p>
<article v-show="!item.disabled" class="status-wrapper"> <article v-show="!item.disabled" class="status-wrapper">
<img v-if="item.isAll && item.couponStatus == 3" src="../../images/coupon/status-lw.png" alt=""> <img v-if="item.isAll && item.couponStatus == 3" src="../../images/coupon/status-lw.png" alt="">
<img v-if="item.isAll && (item.couponStatus == 5 || item.couponStatus == 6)" src="../../images/coupon/status-sx.png" alt=""> <img v-if="item.isAll && item.couponStatus == 6" src="../../images/coupon/status-sy.png" alt="">
<img v-if="item.isAll && item.couponStatus == 5" src="../../images/coupon/status-sx.png" alt="">
<img v-if="!item.isAll && item.couponStatus == 6" src="../../images/coupon/status-sy.png" alt=""> <img v-if="!item.isAll && item.couponStatus == 6" src="../../images/coupon/status-sy.png" alt="">
<img v-if="!item.isAll && (item.couponStatus == 3 || item.couponStatus == 5)" src="../../images/coupon/status-gq.png" alt=""> <img v-if="!item.isAll && (item.couponStatus == 3 || item.couponStatus == 5)" src="../../images/coupon/status-gq.png" alt="">
......
...@@ -497,8 +497,8 @@ export default { ...@@ -497,8 +497,8 @@ export default {
getTotalPrice(currentCoupon) { getTotalPrice(currentCoupon) {
const num = this.curtGoodsNum; const num = this.curtGoodsNum;
let couponId = 0; let couponId = 0;
if(currentCoupon && currentCoupon.couponId) { if(currentCoupon) {
couponId = currentCoupon.couponId; couponId = currentCoupon.couponId || -1;
} }
this.GET(`trade/goods/getPrice/${this.goodsId}/${num}/${couponId}`, {}).then(res => { this.GET(`trade/goods/getPrice/${this.goodsId}/${num}/${couponId}`, {}).then(res => {
if (res.code == "000000") { if (res.code == "000000") {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册