Browse Source

编辑状态

linwu 3 years ago
parent
commit
613cfdc6c5
1 changed files with 6 additions and 4 deletions
  1. 6 4
      app/Http/Controllers/Web/Content/BuyhouseController.php

+ 6 - 4
app/Http/Controllers/Web/Content/BuyhouseController.php

@@ -230,14 +230,16 @@ class BuyhouseController extends WebBaseController
         $apply['work_prove']         = json_decode($apply['work_prove'], true);
         $apply['checked']            = true;
 
-        $formDisable = 'false';
+        //是否可填表格
+        $formDisable = 'true';
         if ($house['status'] == 2) {
             if ($apply['is_draft'] == 1) {
-                $formDisable = 'true';
-            } elseif ($apply['rs_check_status'] == 3 || $apply['zj_check_status'] == 3) {
-                $formDisable = 'true';
+                $formDisable = 'false';
             }
         }
+        if ($apply['rs_check_status'] == 3 || $apply['zj_check_status'] == 3) {
+            $formDisable = 'false';
+        }
 
         $return_data = [
             'formDisable' => $formDisable,