|
|
@@ -85,7 +85,12 @@ class Order extends Lyapi_Controller{
|
|
|
if(empty($info)){
|
|
|
$this->_json_error('未查询到订单信息','500');
|
|
|
}
|
|
|
-
|
|
|
+ if(empty($info['waybill'])){
|
|
|
+ $this->_json_error('订单未打印!','500');
|
|
|
+ }
|
|
|
+ if($info['library'] != 1){
|
|
|
+ $this->_json_error('订单状态不符合扫出库条件','500');
|
|
|
+ }
|
|
|
|
|
|
if($data['qr'] != 'aliyuncheck'){
|
|
|
$this->_json_error('参数错误','500');
|