Commit 41715cd59d05670a9458faa729f138769d14283c
1 parent
b114b869
商品的购买数量要有起订量
Showing
1 changed file
with
1 additions
and
1 deletions
pages/cart/cart/cart.js
@@ -2619,7 +2619,7 @@ Page({ | @@ -2619,7 +2619,7 @@ Page({ | ||
2619 | title: '购买数量小于商品的起订量', | 2619 | title: '购买数量小于商品的起订量', |
2620 | icon: 'none', | 2620 | icon: 'none', |
2621 | }); | 2621 | }); |
2622 | - t.goods_num =0; | 2622 | + t.goods_num =mo_num; |
2623 | } | 2623 | } |
2624 | if(steep>1 && t.goods_num>mo_num && (t.goods_num-mo_num)%steep!=0 ){ | 2624 | if(steep>1 && t.goods_num>mo_num && (t.goods_num-mo_num)%steep!=0 ){ |
2625 | 2625 |