From 174b16450916d3e5c18b23911844c4165b9113bf Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 12 十月 2026 18:18:55 +0800
Subject: [PATCH] fix(erp/crm): 单据明细单价口径由「不含税单价」改为「含税单价」

---
 yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/dal/dataobject/quotation/CrmSaleQuotationProductDO.java |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/dal/dataobject/quotation/CrmSaleQuotationProductDO.java b/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/dal/dataobject/quotation/CrmSaleQuotationProductDO.java
index bf25103..f136422 100644
--- a/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/dal/dataobject/quotation/CrmSaleQuotationProductDO.java
+++ b/yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/dal/dataobject/quotation/CrmSaleQuotationProductDO.java
@@ -51,7 +51,7 @@
      */
     private BigDecimal itemPrice;
     /**
-     * 鎶ヤ环鍗曚环锛屽崟浣嶏細鍏�
+     * 鎶ヤ环鍚◣鍗曚环锛屽崟浣嶏細鍏�
      */
     private BigDecimal quotationPrice;
     /**
@@ -59,9 +59,10 @@
      */
     private BigDecimal count;
     /**
-     * 灏忚閲戦锛屽崟浣嶏細鍏�
+     * 涓嶅惈绋庨噾棰濓紝鍗曚綅锛氬厓
      *
-     * totalPrice = quotationPrice * count
+     * 鍚◣閲戦 = quotationPrice * count
+     * totalPrice = 鍚◣閲戦 - taxPrice
      */
     private BigDecimal totalPrice;
     /**
@@ -70,6 +71,9 @@
     private BigDecimal taxPercent;
     /**
      * 绋庨锛屽崟浣嶏細鍏�
+     *
+     * 鍚◣閲戦 = quotationPrice * count
+     * taxPrice = 鍚◣閲戦 * taxPercent
      */
     private BigDecimal taxPrice;
     /**

--
Gitblit v1.9.3