소스 검색

修改退货登记状态

lvhao 6 달 전
부모
커밋
e2144cdbad
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      core/CoreApp/controllers/Returngoods.php

+ 2 - 2
core/CoreApp/controllers/Returngoods.php

@@ -1111,8 +1111,8 @@ class Returngoods extends Start_Controller {
             if(empty($r_info)){
                 return json_encode(['msg'=>'未查询到退货登记单,不允许审核','success'=>false]);
             }
-            if($r_info['qr'] != 1){
-                return json_encode(['msg'=>'退货登记单未处理,不允许审核','success'=>false]);
+            if($r_info['fh'] != 1){
+                return json_encode(['msg'=>'退货登记单不是已收到状态,不允许审核','success'=>false]);
             }
         }
         $time = date("Y-m-d H:i:s",time());