diff --git a/pages/order/orderList/index.js b/pages/order/orderList/index.js index 5ffd963..48b3f7a 100644 --- a/pages/order/orderList/index.js +++ b/pages/order/orderList/index.js @@ -52,8 +52,8 @@ Page({ } if (!app.globalData.kjId && !this.data.gp_id) { - price = price + item.sku.price * item.productNum; - postFee += item.postFee + price = price + item.sku.price * item.productNum ; + postFee += item.sku.batch_shipment?item.postFee*(item.sku.batch_count || 0):item.postFee; } else if (this.data.gp_id) { price = price + item.sku.event_price * item.productNum; diff --git a/pages/order/orderList/index.wxml b/pages/order/orderList/index.wxml index c0c25bb..d5c8c9c 100644 --- a/pages/order/orderList/index.wxml +++ b/pages/order/orderList/index.wxml @@ -11,7 +11,13 @@ 运费 - ¥{{item.postFee/100 || 0}} + + ¥{{item.postFee/100 || 0}} + + x{{item.sku.batch_count}} + ¥{{(item.postFee/100)*item.sku.batch_count}} + + 物流信息