diff --git a/packageC/pages/presell/cart/cart.js b/packageC/pages/presell/cart/cart.js index 6ec4ec6..e41700a 100644 --- a/packageC/pages/presell/cart/cart.js +++ b/packageC/pages/presell/cart/cart.js @@ -1972,6 +1972,10 @@ Page({ }).then(res => { if (res.data.code == 0) { var data = res.data.data; + + //如果订单促销的取价不是实收,清空订单促销 + if(data && data.discount_field>0) data=null; + th.data.order_prom[pick] = data; } else { th.data.order_prom[pick] = null; @@ -2439,6 +2443,9 @@ Page({ }).then(res => { if (res.data.code == 0) { ord_prom = res.data.data; + + //如果订单促销的取价不是实收,清空订单促销 + if(ord_prom && ord_prom.discount_field>0) ord_prom=null; } }) }