|
|
@@ -1846,7 +1846,7 @@ 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);
|
|
|
- if(empty($text['yd'])){
|
|
|
+ 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;
|