lvhao hai 19 horas
pai
achega
d8da96927f
Modificáronse 1 ficheiros con 9 adicións e 9 borrados
  1. 9 9
      core/CoreApp/controllers/Workshopshow.php

+ 9 - 9
core/CoreApp/controllers/Workshopshow.php

@@ -660,7 +660,7 @@ class Workshopshow extends Start_Controller
 
 				$data = $this->systemtransfer_cr->find_all("fid = '".$info['id']."'");
 				
-				$info_list[$key]['time'] = "布标打印 :".date('Y-m-d H:i',$info['ctime12']).'<br>';
+				$final_list[$key]['time'] = "布标打印 :".date('Y-m-d H:i',$info['ctime12']).'<br>';
 				foreach ($data as $k=>$v)
 		        {
 					$type = ($v['type']==1)?'入库':'出库';
@@ -668,26 +668,26 @@ class Workshopshow extends Start_Controller
 					
 					if($v['orver_flag'] == 1){
 						if($v['is_over'] == 0){
-							$info_list[$key]['time'] .= "<a href='javascript:void(0);' style='color:#90f'>".$t[$v['lx']].$type.' :'.date('Y-m-d H:i',$v['time']) ." <l style='padding-left:10px;font-weight:900;'> 即将超时 </l></a>";
+							$final_list[$key]['time'] .= "<a href='javascript:void(0);' style='color:#90f'>".$t[$v['lx']].$type.' :'.date('Y-m-d H:i',$v['time']) ." <l style='padding-left:10px;font-weight:900;'> 即将超时 </l></a>";
 							// $info_list[$key]['time'] .= '<i style="padding:10px;color:#90f;font-weight:bold;"> 即将超时</i>'.'<br>';
 						}else{
-							$info_list[$key]['time'] .= "<a href='javascript:void(0);' style='color:#000'>".$t[$v['lx']].$type.' :'.date('Y-m-d H:i',$v['time']) ."</a>";
+							$final_list[$key]['time'] .= "<a href='javascript:void(0);' style='color:#000'>".$t[$v['lx']].$type.' :'.date('Y-m-d H:i',$v['time']) ."</a>";
 						}
 					}elseif($v['orver_flag'] == 2){
-						$info_list[$key]['time'] .= "<a href='javascript:void(0);' style='color:#f33'>".$t[$v['lx']].$type.' :'.date('Y-m-d H:i',$v['time']) ." <l style='padding-left:10px;font-weight:900'> 超 时 ! </l></a>";
+						$final_list[$key]['time'] .= "<a href='javascript:void(0);' style='color:#f33'>".$t[$v['lx']].$type.' :'.date('Y-m-d H:i',$v['time']) ." <l style='padding-left:10px;font-weight:900'> 超 时 ! </l></a>";
 					}else{
-						$info_list[$key]['time'] .= "<a  href='javascript:void(0);' style='color:#000'>".$t[$v['lx']].$type.' :'.date('Y-m-d H:i',$v['time']) ."</a>";
+						$final_list[$key]['time'] .= "<a  href='javascript:void(0);' style='color:#000'>".$t[$v['lx']].$type.' :'.date('Y-m-d H:i',$v['time']) ."</a>";
 					}
 					if($v['extra_status'] == 1){
-						$info_list[$key]['time'] .= "<a href='javascript:void(0);' style='color:#90f'>【下道工序未及时入库】</a><br>";
+						$final_list[$key]['time'] .= "<a href='javascript:void(0);' style='color:#90f'>【下道工序未及时入库】</a><br>";
 					}elseif($v['extra_status'] == 2 || $v['extra_status'] == 3){
-						$info_list[$key]['time'] .= "<a href='javascript:void(0);' style='color:#A52A2A'>【工序间流转超过3天】</a><br>";
+						$final_list[$key]['time'] .= "<a href='javascript:void(0);' style='color:#A52A2A'>【工序间流转超过3天】</a><br>";
 					}else{
-						$info_list[$key]['time'] .= "<br>";
+						$final_list[$key]['time'] .= "<br>";
 					}
 				}
 				
-				$final_list[$key]['time'] = trim($info_list[$key]['time'],'<br>');
+				$final_list[$key]['time'] = trim($final_list[$key]['time'],'<br>');
 			}
             
             $this->db->where("time >= ",strtotime($timetkk));