From cb2e9e7292869c8d76bbce1af76c2cc272503644 Mon Sep 17 00:00:00 2001 From: jiazhipeng Date: Mon, 4 Aug 2025 14:28:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E6=89=B9=E5=8F=91=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/orderList/index.js | 4 ++-- pages/order/orderList/index.wxml | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) 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}} + + 物流信息