|
@@ -62,6 +62,7 @@ class Boss extends Start_Controller
|
|
|
$this->load->_model("Model_logic_express","logic_express");
|
|
$this->load->_model("Model_logic_express","logic_express");
|
|
|
$this->load->_model("Model_ck","ck");
|
|
$this->load->_model("Model_ck","ck");
|
|
|
$this->load->_model("Model_excelxh","excelxh");
|
|
$this->load->_model("Model_excelxh","excelxh");
|
|
|
|
|
+ $this->load->_model('Model_outerrors','outerrors');
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
//定义方法的调用规则 获取URI第二段值
|
|
//定义方法的调用规则 获取URI第二段值
|
|
@@ -403,6 +404,13 @@ class Boss extends Start_Controller
|
|
|
$this->$fullorder_name->save(array('library' => 2, 'librarytime' => $time, 'weight' => $weight), $y['id']);
|
|
$this->$fullorder_name->save(array('library' => 2, 'librarytime' => $time, 'weight' => $weight), $y['id']);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ //检测单子是否是扫不出库单子重新出库 如果是 就更正
|
|
|
|
|
+ $outerrors_info = $this->outerrors->find("number = '".$y['number']."'");
|
|
|
|
|
+ if(!empty($outerrors_info)){
|
|
|
|
|
+ $this->outerrors->save(array('order_status'=>1,'library_time'=>$time),$outerrors_info['id']);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
$queue_u9_list = [];
|
|
$queue_u9_list = [];
|
|
|
$queue_u9_list[] = [
|
|
$queue_u9_list[] = [
|
|
|
'platform' => $fullorder_name,
|
|
'platform' => $fullorder_name,
|