Browse Source

批次查询制程检验记录优化

zck 8 months ago
parent
commit
8494d321e4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      application/api/controller/ProductionLot.php

+ 3 - 3
application/api/controller/ProductionLot.php

@@ -156,7 +156,7 @@ class ProductionLot extends Api
     }
 
         /**
-     * 制程异常记录
+     * 制程检验记录
      * @return void
      * @throws \think\db\exception\DataNotFoundException
      * @throws \think\db\exception\ModelNotFoundException
@@ -180,7 +180,7 @@ class ProductionLot extends Api
             ->order('流程单号')
             ->select();
         if (empty($list)){
-            $this->error('未找到记录');
+            $this->error('未找到制程检验记录');
         }
         $this->success('成功',$list);
 
@@ -210,7 +210,7 @@ class ProductionLot extends Api
             ->order('流程单号')
             ->select();
         if (empty($list)){
-            $this->error('未找到记录');
+            $this->error('未找到制程异常记录');
         }
         foreach ($list as $key => $value){
             $list[$key]['数量'] = '';