|
@@ -657,19 +657,19 @@ class Systemfout extends Start_Controller {
|
|
|
if($y['type'] != 7 && $y['waybill'] != '' && $y['printtype'] == '1')
|
|
if($y['type'] != 7 && $y['waybill'] != '' && $y['printtype'] == '1')
|
|
|
{
|
|
{
|
|
|
$y['waybill'] = trim($y['waybill'],' ');
|
|
$y['waybill'] = trim($y['waybill'],' ');
|
|
|
- if(strlen($y['waybill']) == 12 && $y['express'] != 24 && $y['express'] != 31 && $y['express'] != 38 && $y['express'] != 41 && $y['express'] != 6 && $y['express'] != 43 && $y['express'] != 48 && $y['express'] != 50 && $y['express'] != 51 && $y['express'] != 63 && $y['express'] != 70 && $y['express'] != 71 && $y['express'] != 73 && $y['express'] != 74 && $y['express'] != 75 && $y['express'] != 78 && $y['express'] != 79)
|
|
|
|
|
|
|
+ if(strlen($y['waybill']) == 12 && $y['express'] != 24 && $y['express'] != 31 && $y['express'] != 38 && $y['express'] != 41 && $y['express'] != 6 && $y['express'] != 43 && $y['express'] != 48 && $y['express'] != 50 && $y['express'] != 51 && $y['express'] != 63 && $y['express'] != 70 && $y['express'] != 71 && $y['express'] != 73 && $y['express'] != 74 && $y['express'] != 75 && $y['express'] != 78 && $y['express'] != 79 && $y['express'] != 83)
|
|
|
{
|
|
{
|
|
|
echo json_encode(array('msg'=>'出库物流和系统不匹配,请联系梦体解决'.$y['express'].'-1','success'=>false));exit;
|
|
echo json_encode(array('msg'=>'出库物流和系统不匹配,请联系梦体解决'.$y['express'].'-1','success'=>false));exit;
|
|
|
}
|
|
}
|
|
|
- else if(strlen($y['waybill']) == 10 && $y['express'] != 1 && $y['express'] != 37 && $y['express'] != 49 && $y['express'] != 42 && $y['express'] != 69 && $y['express'] != 78 && $y['express'] != 79)
|
|
|
|
|
|
|
+ else if(strlen($y['waybill']) == 10 && $y['express'] != 1 && $y['express'] != 37 && $y['express'] != 49 && $y['express'] != 42 && $y['express'] != 69 && $y['express'] != 78 && $y['express'] != 79 && $y['express'] != 83)
|
|
|
{
|
|
{
|
|
|
echo json_encode(array('msg'=>'出库物流和系统不匹配,请联系梦体解决'.$y['express'].'-2','success'=>false));exit;
|
|
echo json_encode(array('msg'=>'出库物流和系统不匹配,请联系梦体解决'.$y['express'].'-2','success'=>false));exit;
|
|
|
}
|
|
}
|
|
|
- else if(strlen($y['waybill']) == 18 && $y['express'] != 3 && $y['express'] != 66 && $y['express'] != 67 && $y['express'] != 72 && $y['express'] != 2 && $y['express'] != 82)
|
|
|
|
|
|
|
+ else if(strlen($y['waybill']) == 18 && $y['express'] != 3 && $y['express'] != 66 && $y['express'] != 67 && $y['express'] != 72 && $y['express'] != 2 && $y['express'] != 82 && $y['express'] != 83)
|
|
|
{
|
|
{
|
|
|
echo json_encode(array('msg'=>'出库物流和系统不匹配,请联系梦体解决'.$y['express'].'-3','success'=>false));exit;
|
|
echo json_encode(array('msg'=>'出库物流和系统不匹配,请联系梦体解决'.$y['express'].'-3','success'=>false));exit;
|
|
|
}
|
|
}
|
|
|
- else if(strlen($y['waybill']) == 16 && $y['express'] != 76 && $y['express'] != 77 && $y['express'] != 80 )
|
|
|
|
|
|
|
+ else if(strlen($y['waybill']) == 16 && $y['express'] != 76 && $y['express'] != 77 && $y['express'] != 80 && $y['express'] != 83)
|
|
|
{
|
|
{
|
|
|
echo json_encode(array('msg'=>'出库物流和系统不匹配,请联系梦体解决'.$y['express'].'-4','success'=>false));exit;
|
|
echo json_encode(array('msg'=>'出库物流和系统不匹配,请联系梦体解决'.$y['express'].'-4','success'=>false));exit;
|
|
|
}
|
|
}
|
|
@@ -723,7 +723,7 @@ class Systemfout extends Start_Controller {
|
|
|
|
|
|
|
|
|
|
|
|
|
//$this->logic_ding->sendToDing("检测订单".$y['number']."称重".$numweight."快递公司".$y['express']."-".$weight."[".$numweight."]");
|
|
//$this->logic_ding->sendToDing("检测订单".$y['number']."称重".$numweight."快递公司".$y['express']."-".$weight."[".$numweight."]");
|
|
|
- if(!in_array($y['express'],[2,8,39,43,44,45,47,48,49,55,61,63,64,65,74,81])){
|
|
|
|
|
|
|
+ if(!in_array($y['express'],[2,8,39,43,44,45,47,48,49,55,61,63,64,65,74,81,83])){
|
|
|
if($weight == '' || $numweight < '0.1' || !is_numeric($numweight))
|
|
if($weight == '' || $numweight < '0.1' || !is_numeric($numweight))
|
|
|
{
|
|
{
|
|
|
echo json_encode(array('msg'=>'此单需要称重!','success'=>false));exit;
|
|
echo json_encode(array('msg'=>'此单需要称重!','success'=>false));exit;
|