|
@@ -721,6 +721,16 @@ class Systemfout extends Start_Controller {
|
|
//echo json_encode(array('yd'=>1,'id'=>$y['id'],'express'=>$y['express'],'name'=>$fullorder_name,'success'=>true));exit;
|
|
//echo json_encode(array('yd'=>1,'id'=>$y['id'],'express'=>$y['express'],'name'=>$fullorder_name,'success'=>true));exit;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+ // 66 云途(欧洲) 67 云途(欧洲)-带保险 如果是欧洲云途 需要检擦出库时间是否超过15天
|
|
|
|
+ if(in_array($y['express'],[66,67])){
|
|
|
|
+ if((time() - $y['printtime']) >= (15*24*3600)){
|
|
|
|
+ echo json_encode(array('msg'=>'运单超时!请联系梦体处理!','success'=>false));exit;
|
|
|
|
+ }
|
|
|
|
+ //
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
$this->db->trans_begin();
|
|
$this->db->trans_begin();
|
|
$warehouse = $this->warehouse->read($y['type']);
|
|
$warehouse = $this->warehouse->read($y['type']);
|
|
$bdck = $warehouse['bdck'];
|
|
$bdck = $warehouse['bdck'];
|