Browse Source

机台日报表新增相关接口优化

曹鹤洋 1 year ago
parent
commit
c66043bce3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      application/api/controller/MachineProductionReport.php

+ 2 - 1
application/api/controller/MachineProductionReport.php

@@ -546,7 +546,8 @@ class MachineProductionReport extends Api
         }else{
             $gxmc['sczl_gxmc'] = sprintf("%02d", $gxmc['sczl_gxh']).'-'.$gxmc['sczl_type'];
         }
-        $row['gxmc'] = $gxmc['sczl_gxmc'];
+        unset($gxmc['Add_gxmc']);
+        $row['gxmc'] = $gxmc;
         if (!$row) $this->error('印件编号不存在, 将恢复默认值, 请仔细确认数据准确性!');
         $this->success('成功',$row);
     }