浏览代码

提交数据

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 = "创建调出单失败";
                          }