|
@@ -117,10 +117,14 @@ class Zzququeu9 extends Start_Controller {
|
|
|
}
|
|
|
}else{
|
|
|
|
|
|
- $tmp_str = json_encode($error,JSON_UNESCAPED_UNICODE);
|
|
|
- // if(isset($ret_data[0]["ResMsg"])){
|
|
|
- // $tmp_str = $ret_data[0]["ResMsg"];
|
|
|
- // }
|
|
|
+ $ret_data = json_decode($error[0]['ret_data'],true);
|
|
|
+ if(isset($ret_data[0]["ResMsg"])){
|
|
|
+ $tmp_str = $ret_data[0]["ResMsg"];
|
|
|
+ }elseif(isset($ret_data['msg'])){
|
|
|
+ $tmp_str = $ret_data['msg'];
|
|
|
+ }else{
|
|
|
+ $tmp_str = "料品同步失败";
|
|
|
+ }
|
|
|
}
|
|
|
$dc_no = "<span data-action='dc' data-process='1' data-id='".$v['id']."' onclick='doAction(this)'>创建调出单</span>".'<p style="color:blue"><i class="method fa fa-exclamation-circle" data-t="'.$tmp_str.'"></i><p>';
|
|
|
}
|