Browse Source

1 添加云尚

lvhao 1 tháng trước cách đây
mục cha
commit
8e37bfb003
1 tập tin đã thay đổi với 13 bổ sung13 xóa
  1. 13 13
      core/CoreApp/controllers/Systemfout.php

+ 13 - 13
core/CoreApp/controllers/Systemfout.php

@@ -604,20 +604,20 @@ class Systemfout extends Start_Controller {
 			}
 
 			//云尚-FedEx普货专线 如果出库时打印的快递面单超过6天,不允许出库
-			// if($y['express'] == 75){
-			// 	$printtime =	$y['printtime'];
-			// 	$set_time = 24 * 60 * 60 * 6;
-			// 	$time = time();
-			// 	if(($time - $set_time) > $printtime){
-			// 		//允许出库状态  
-			// 		if($y['libraryconfirm'] == 2){
-			// 			echo json_encode(array('msg'=>"该单超时,请重新打印后再出库。".$y['number'],'success'=>false));exit;
-			// 		}else{
-			// 			echo json_encode(array('msg'=>"该单超时且禁止出库,请联系梦体做后续处理!".$y['number'],'success'=>false));exit;
-			// 		}
+			if($y['express'] == 75){
+				$printtime =	$y['printtime'];
+				$set_time = 24 * 60 * 60 * 6;
+				$time = time();
+				if(($time - $set_time) > $printtime){
+					//允许出库状态  
+					if($y['libraryconfirm'] == 2){
+						echo json_encode(array('msg'=>"该单超时,请重新打印后再出库。".$y['number'],'success'=>false));exit;
+					}else{
+						echo json_encode(array('msg'=>"该单超时且禁止出库,请联系梦体做后续处理!".$y['number'],'success'=>false));exit;
+					}
 					
-			// 	}
-			// }
+				}
+			}
 
 			// 66  云途(欧洲)  67  云途(欧洲)-带保险    如果是欧洲云途 需要检擦出库时间是否超过15天
 			if(in_array($y['express'],[66,67])){