From dfb427ec721ad0ac0a4075c8a80b8652f7e6657d Mon Sep 17 00:00:00 2001
From: cwchen <1048842385@qq.com>
Date: Thu, 21 Nov 2024 17:59:42 +0800
Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
js/demandPlan/plan_check_list.js | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/js/demandPlan/plan_check_list.js b/js/demandPlan/plan_check_list.js
index a0f25e3..1bf191b 100644
--- a/js/demandPlan/plan_check_list.js
+++ b/js/demandPlan/plan_check_list.js
@@ -144,6 +144,17 @@ function initTable() {
title: "备注",
unresize: true,
align: "center",
+ templet: function (d) {
+ if (d.remark) {
+ if (d.remark.length > 100) {
+ return '' + d.remark.substring(0, 60) + '...'
+ } else {
+ return '' + d.remark + ''
+ }
+ } else {
+ return '';
+ }
+ }
},
{
title: "操作",