From ccff3913e0e6854a3811788d5d41614463110095 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 04 十一月 2026 16:44:53 +0800
Subject: [PATCH] feat(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