From 84c26a2990099f29ccef37f43f176bc9f0006233 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= <2178503051@qq.com>
Date: Thu, 23 Apr 2026 11:47:30 +0800
Subject: [PATCH] =?UTF-8?q?feat(contract):=20=E5=90=AF=E7=94=A8=E4=BA=A7?=
=?UTF-8?q?=E5=93=81=E5=86=85=E5=AE=B9=E7=BB=84=E4=BB=B6=E5=B9=B6=E4=BC=98?=
=?UTF-8?q?=E5=8C=96=E5=90=88=E5=90=8C=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在合同页面启用ProductContent组件替代注释代码
- 优化ProductContent组件数值计算和空值处理
- 修改ContractList组件从productContent字段获取数据
- 在OrderDetail组件添加"写入合同"功能
- 优化ReceiveTable组件未收款金额计算逻辑
---
.../src/views/crm/components/OrderDetail.vue | 178 +++++++++++++-----
.../src/views/crm/components/ReceiveTable.vue | 9 -
.../crm/contract/components/ContractList.vue | 68 ++++---
.../contract/components/ContractPreview.vue | 4 +-
.../contract/components/ProductContent.vue | 10 +-
klp-ui/src/views/crm/contract/index.vue | 6 +-
6 files changed, 186 insertions(+), 89 deletions(-)
diff --git a/klp-ui/src/views/crm/components/OrderDetail.vue b/klp-ui/src/views/crm/components/OrderDetail.vue
index 397c6c95..28e1be17 100644
--- a/klp-ui/src/views/crm/components/OrderDetail.vue
+++ b/klp-ui/src/views/crm/components/OrderDetail.vue
@@ -20,12 +20,12 @@
-
+
-
+
{{ scope.row.weight * scope.row.contractPrice }}
@@ -36,12 +36,14 @@
-
+
-
+
+ 写入合同
修改
删除
@@ -77,17 +79,17 @@
-
+
-
+
-
+
-
+
-
+
@@ -129,7 +131,7 @@