|
|
@@ -1846,7 +1846,12 @@ class Systemprint extends Start_Controller {
|
|
|
$text['warehouse'] = $fullorder['warehouse']['title'];
|
|
|
$text['is_jiaji'] = $fullorder['is_jiaji'];
|
|
|
$rows = array('type'=>$type,'n'=>$n-1,'data'=>$v,'text'=>$text);
|
|
|
- echo json_encode(array('rows'=>($rows),'success'=>true));exit;
|
|
|
+ if(empty($text['yd'])){
|
|
|
+ echo json_encode(array('rows'=>($rows),'success'=>true));exit;
|
|
|
+ }else{
|
|
|
+ echo json_encode(array('msg'=>$fullorder['number'].' API接口获取运单失败','success'=>false));exit;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
else if(($fullorder['printtype'] == 2 || $fullorder['printtype'] == 4) && $fullorder['library'] != 2)
|
|
|
{
|