|
|
@@ -58,6 +58,7 @@ class Boss extends Start_Controller
|
|
|
$this->load->_model("Model_zzquque_u9", "zzquque_u9");
|
|
|
$this->load->_model("Model_customsdeclaration", "customsdeclaration");
|
|
|
$this->load->_model("Model_logic_u9tools","logic_u9tools");
|
|
|
+ $this->load->_model("Model_check","check");
|
|
|
}
|
|
|
//定义方法的调用规则 获取URI第二段值
|
|
|
public function _remap($arg, $arg_array)
|
|
|
@@ -209,6 +210,16 @@ class Boss extends Start_Controller
|
|
|
$outtype = 2;
|
|
|
$y = $this->logic_order->getInfo("number = '" . $order . "'");
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ // 78 dpd英国 和 79dpd欧盟
|
|
|
+ if(in_array($y['express'],[78,79])){
|
|
|
+ $r = $this->check->checkOverdue($y['name'],$y['number']);
|
|
|
+ if(!$r){
|
|
|
+ echo json_encode(array('msg'=>'同一个客户3天内发货超过2包,不可出库!请联系店员做申报信息修改!','success'=>false));exit;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
$fullorder_name = $y['lv_platform'];
|
|
|
if ($y['mergeid'] == '1') {
|
|
|
$y = $this->$fullorder_name->read($y['merge']);
|