From 8d461e61b378510d360926fff0da3147aacc16ee Mon Sep 17 00:00:00 2001 From: hy <123@qq.com> Date: Fri, 29 Nov 2024 14:37:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=98=E7=89=B9=E5=9B=BE=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_gantt/static/src/js/gantt_row.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_gantt/static/src/js/gantt_row.js b/web_gantt/static/src/js/gantt_row.js index fb7ffab7..cae52879 100644 --- a/web_gantt/static/src/js/gantt_row.js +++ b/web_gantt/static/src/js/gantt_row.js @@ -602,7 +602,7 @@ var GanttRow = Widget.extend({ // pill._color = self._getColor(pill[self.colorField]); // 设置pill背景颜色2 修改时间2024年6月25日17:09:43 let isDelay = false - if(pill.state != 'processing' && pill.state != 'finished') { // 判断待加工 + if(pill.state != 'processing' && pill.state != 'finished' && pill.order_deadline) { // 判断待加工 isDelay = pill.order_deadline.isBefore(new Date()) } if(isDelay) {