|
@@ -563,6 +563,18 @@ class Systemfout extends Start_Controller {
|
|
{
|
|
{
|
|
$y = $this->$fullorder_name->read($y['merge']);
|
|
$y = $this->$fullorder_name->read($y['merge']);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ //云尚-FedEx普货专线 如果出库时打印的快递面单超过6天,不允许出库
|
|
|
|
+ if($y['express'] == 75){
|
|
|
|
+ $printtime = $y['printtime'];
|
|
|
|
+ $set_time = 24 * 60 * 60 * 6;
|
|
|
|
+ $time = time();
|
|
|
|
+ if(($time - $set_time) > $printtime){
|
|
|
|
+ echo json_encode(array('msg'=>"打印超过6天,请联系梦体解决".$y['number'],'success'=>false));exit;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
$express = $this->express->read($y['express']);
|
|
$express = $this->express->read($y['express']);
|
|
if($y['state'] == 216 && $fullorder_name == 'fullordersmt')
|
|
if($y['state'] == 216 && $fullorder_name == 'fullordersmt')
|
|
{
|
|
{
|