diff --git a/fe/WmsLargeScreen/src/views/logisticsTimeBoard.vue b/fe/WmsLargeScreen/src/views/logisticsTimeBoard.vue index 436bddb4d..0a7dbf9fa 100644 --- a/fe/WmsLargeScreen/src/views/logisticsTimeBoard.vue +++ b/fe/WmsLargeScreen/src/views/logisticsTimeBoard.vue @@ -8,11 +8,18 @@ > Loading...
@@ -154,35 +161,54 @@ export default { // 1)绿色(准时):发货单到货时间(2022-11-01 14:15),前后各1个小时,为准时。 // if((Math.abs(_number_planTime - _number_time) <= _oneHour) && v.sta == '1'){ + // -------------2025-03-12前版本star------------------ + // if(v.receiptStatus == "准时"){ + // // _background = this.colors.green + // _background_class= "statuSuccess"; + // } + // // 2)黄色(提前/延时):到货时间(2022-11-01 14:15) + // // 提前:按照预计到货时间提前60分钟的收货是提前 + // // 延时:按照预计到货时间超过60分钟后的收货都是延时 + // // if((Math.abs(_number_planTime - _number_time) > _oneHour) && v.sta == '1'){ + // if(v.receiptStatus == "延后" || v.receiptStatus == "提前"){ + // // _background = this.colors.yellow + // _background_class= "statuWarning"; + // } + + // // 3)红色(未到):超过60分钟,并且到现在为止还没有到货的,在预计到货时间的时间列, + // // 单元格标记为红色;同时,在供应商简称列(单元格)填充红色。 + // // 如果后期收到货,并且该供应商没有未收货,供应商简称列(单元格)改为正常显示。 + // // if((Math.abs(_number_planTime - _number_time) > _oneHour) && v.sta == '0'){ + // // 在当前时间看板内v.receiptStatus == "延期" || v.isDelay = true标红, + // // 不在当前时间看板内v.isDelay = true标红 + // if(v.receiptStatus == "延期" || v.isDelay){ + // // _background = this.colors.red + // // _background_name = this.colors.red + // _background_class= "statuError"; + // if(this.headerType == 'night'){ + // _background_name_class = "statuError" + // }else{ + // _background_name_class= ""; + // } + // } + // -------------2025-03-12前版本end------------------ + // -------------2025-03-12新版本star------------------ + if(v.receiptStatus == "计划"){ + _background_class= "statuNomal"; + } + if(v.receiptStatus == "提前"){ + _background_class= "statuWarning"; + } if(v.receiptStatus == "准时"){ - // _background = this.colors.green _background_class= "statuSuccess"; } - // 2)黄色(提前/延时):到货时间(2022-11-01 14:15) - // 提前:按照预计到货时间提前60分钟的收货是提前 - // 延时:按照预计到货时间超过60分钟后的收货都是延时 - // if((Math.abs(_number_planTime - _number_time) > _oneHour) && v.sta == '1'){ - if(v.receiptStatus == "延后" || v.receiptStatus == "提前"){ - // _background = this.colors.yellow - _background_class= "statuWarning"; + if(v.receiptStatus == "延后"){ + _background_class= "statuLate"; } - - // 3)红色(未到):超过60分钟,并且到现在为止还没有到货的,在预计到货时间的时间列, - // 单元格标记为红色;同时,在供应商简称列(单元格)填充红色。 - // 如果后期收到货,并且该供应商没有未收货,供应商简称列(单元格)改为正常显示。 - // if((Math.abs(_number_planTime - _number_time) > _oneHour) && v.sta == '0'){ - // 在当前时间看板内v.receiptStatus == "延期" || v.isDelay = true标红, - // 不在当前时间看板内v.isDelay = true标红 - if(v.receiptStatus == "延期" || v.isDelay){ - // _background = this.colors.red - // _background_name = this.colors.red + if(v.receiptStatus == "延期"){ _background_class= "statuError"; - if(this.headerType == 'night'){ - _background_name_class = "statuError" - }else{ - _background_name_class= ""; - } } + // -------------2025-03-12前版本end------------------ if(name || name == ""){ // 供应商名称标记 @@ -651,34 +677,47 @@ export default {