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 46c0efee..7077a01f 100644 --- a/oms_web/oms_vue/src/views/approve/order/ConfigInfo.vue +++ b/oms_web/oms_vue/src/views/approve/order/ConfigInfo.vue @@ -314,7 +314,8 @@ export default { if (this.order.orderStatus === '2' || this.order.orderStatus === 2) { return allPrice; } - return this.$calc.mul(allPrice, discount); + const discountedPrice = this.$calc.mul(product.price || 0, discount == null ? 1 : discount, 2); + return this.$calc.mul(discountedPrice, product.quantity || 0, 2); }, calculateTotal(productList, discount) { if (!productList) return 0;