甘特图增加判断
This commit is contained in:
@@ -602,7 +602,7 @@ var GanttRow = Widget.extend({
|
|||||||
// pill._color = self._getColor(pill[self.colorField]);
|
// pill._color = self._getColor(pill[self.colorField]);
|
||||||
// 设置pill背景颜色2 修改时间2024年6月25日17:09:43
|
// 设置pill背景颜色2 修改时间2024年6月25日17:09:43
|
||||||
let isDelay = false
|
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())
|
isDelay = pill.order_deadline.isBefore(new Date())
|
||||||
}
|
}
|
||||||
if(isDelay) {
|
if(isDelay) {
|
||||||
|
|||||||
Reference in New Issue
Block a user