Commit 46fe703ffb5f54d56d73f1977643c8e85a7814e9
1 parent
ea3b090d
购物车判断增加
Showing
1 changed file
with
10 additions
and
0 deletions
pages/cart/cart2/cart2.js
... | ... | @@ -3624,6 +3624,16 @@ Page({ |
3624 | 3624 | } |
3625 | 3625 | } |
3626 | 3626 | |
3627 | + var prom_pt_json= ep.prom_pt_json; | |
3628 | + if(prom_pt_json){ | |
3629 | + for(let oj in prom_pt_json){ | |
3630 | + let item_j=prom_pt_json[oj]; | |
3631 | + if(item_j.ladder_prom_id){ | |
3632 | + cut_price += parseFloat(item_j.dis); | |
3633 | + } | |
3634 | + } | |
3635 | + } | |
3636 | + | |
3627 | 3637 | arr[ind].ckeck_quan_price = ckeck_quan_price - cut_price; |
3628 | 3638 | arr[ind].check_quan_ware_list = check_quan_ware_list; |
3629 | 3639 | arr[ind].check_quan_price_list = check_quan_price_list; | ... | ... |