Commit 483fafa972d90d21ef39b12500ece8b3d0053452
1 parent
5ee78126
全额预售 不可以使用包邮券
Showing
1 changed file
with
3 additions
and
10 deletions
packageC/pages/presell/cart/cart2.js
... | ... | @@ -472,7 +472,7 @@ Page({ |
472 | 472 | wx.showToast({title: "未找到商品", icon: 'none', duration: 3000}); |
473 | 473 | return false; |
474 | 474 | } |
475 | - | |
475 | + | |
476 | 476 | //这个位置要拿活动的预售价 |
477 | 477 | t.data.data.shop_price = prelist.presell_money; |
478 | 478 | th.setData({ |
... | ... | @@ -1975,20 +1975,13 @@ Page({ |
1975 | 1975 | var txt = ""; |
1976 | 1976 | var txt1 = ""; |
1977 | 1977 | var quan_item = null; |
1978 | - if (th.data.is_b_now) { | |
1978 | + | |
1979 | 1979 | quan_item = this.data.get_by_quan_list[ind]; |
1980 | 1980 | txt = "get_by_quan_list[" + ind + "].show_red"; |
1981 | 1981 | var obj = {}; |
1982 | 1982 | obj[txt] = 1; |
1983 | 1983 | this.setData(obj); |
1984 | - } else { | |
1985 | - txt = "by_quan_list_cart[" + ind + "].show_red"; | |
1986 | - quan_item = th.data.by_quan_list_cart[ind]; | |
1987 | - var obj = {}; | |
1988 | - obj[txt] = 1; | |
1989 | - this.setData(obj); | |
1990 | - th.data.get_by_quan_list_cart[pickid] = JSON.parse(JSON.stringify(th.data.by_quan_list_cart)); //要把选中的弄回数组 | |
1991 | - } | |
1984 | + | |
1992 | 1985 | |
1993 | 1986 | if (using_quan[th.data.selected_quan_pick]) { |
1994 | 1987 | using_quan[th.data.selected_quan_pick].is_nouse_red = 0; | ... | ... |