From a5b4446202b8bd35a5b63e64e1f9cfc0b5937228 Mon Sep 17 00:00:00 2001 From: jiangpeng Date: Tue, 9 Jun 2026 18:04:15 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=8A=98=E4=B8=8A=E6=8A=98bug?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/approve/order/ConfigInfo.vue | 27 ++++++++++--------- 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/oms_web/oms_vue/src/views/approve/order/ConfigInfo.vue b/oms_web/oms_vue/src/views/approve/order/ConfigInfo.vue index 54af0bc0..46c0efee 100644 --- a/oms_web/oms_vue/src/views/approve/order/ConfigInfo.vue +++ b/oms_web/oms_vue/src/views/approve/order/ConfigInfo.vue @@ -30,7 +30,7 @@ {{ product.discount ? (product.discount * 100).toFixed(2) + '%' : '-' }} {{ formatCurrency(product.price) }} {{ selectedDiscountLabel }} - {{ formatCurrency(product.allPrice) }} + {{ formatCurrency(getDisplayAllPrice(product, selectedDiscount)) }} {{ formatCurrency(getDiscountedAllPrice(product, selectedDiscount)) }} {{ product.discount ? (product.discount * 100).toFixed(2) + '%' : '-' }} {{ formatCurrency(product.price) }} {{ selectedDiscountLabel }} - {{ formatCurrency(product.allPrice) }} + {{ formatCurrency(getDisplayAllPrice(product, selectedDiscount)) }} {{ formatCurrency(getDiscountedAllPrice(product, selectedDiscount)) }} {{ product.discount ? (product.discount * 100).toFixed(2) + '%' : '-' }} {{ formatCurrency(product.price) }} {{ selectedDiscountLabel }} - {{ formatCurrency(product.allPrice) }} + {{ formatCurrency(getDisplayAllPrice(product, selectedDiscount)) }} {{ formatCurrency(getDiscountedAllPrice(product, selectedDiscount)) }} sum + (product.allPrice || 0), 0); - } return productList.reduce((sum, product) => sum + (this.getDiscountedAllPrice(product, discount) || 0), 0); }, formatCurrency(value) {