Commit ae365fc802acf7b4bea9f695e3f55c2824c2bd42
1 parent
d8757032
使用订单促销
Showing
1 changed file
with
9 additions
and
0 deletions
packageE/pages/cart/cart2/cart2.js
... | ... | @@ -9563,6 +9563,15 @@ Page({ |
9563 | 9563 | [txt]: !can_use |
9564 | 9564 | }) |
9565 | 9565 | |
9566 | + //使用了订单促销(非实收的时候,不能使用优惠券) | |
9567 | + if(!can_use){ | |
9568 | + var s_txt='using_quan['+pickid+']'; | |
9569 | + this.setData({ | |
9570 | + [s_txt]:null | |
9571 | + }) | |
9572 | + } | |
9573 | + | |
9574 | + | |
9566 | 9575 | //购物车进行还原,一下数据的清理的必须的 |
9567 | 9576 | this.setData({ |
9568 | 9577 | send_lb: {}, | ... | ... |