lvhao 5 ماه پیش
والد
کامیت
014152546e
1فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 6 1
      core/CoreApp/controllers/Zzququeu9.php

+ 6 - 1
core/CoreApp/controllers/Zzququeu9.php

@@ -91,7 +91,12 @@ class Zzququeu9 extends Start_Controller {
                     }elseif($v['dc_status'] == -1){
                          $error = $this->zzququeu9_logs->find_all("oid = ".$v['id']." and one_type = 1 and two_type = 1 ","*",'id desc',0,1);
                          if($error[0]['apply_api']=='cjlp'){
-                             $tmp_str = "料品同步失败";
+                             $ret_data = json_decode($error[0]['ret_data'],true);
+                             if(isset($ret_data[0]["ResMsg"])){
+                                   $tmp_str = $ret_data[0]["ResMsg"];
+                             }else{
+                                   $tmp_str = "料品同步失败";
+                             }
                          }else{
                              $tmp_str = "创建调出单失败";
                          }