Browse Source

修改数据

lvhao 5 months ago
parent
commit
cabaf916bd
2 changed files with 11 additions and 5 deletions
  1. 4 4
      core/CoreApp/controllers/Returngoods.php
  2. 7 1
      template/erp/returngoods_caiwu.html

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

@@ -769,10 +769,10 @@ class Returngoods extends Start_Controller {
             {
                 $where  .= " and shop = '$shop' ";
             }
-            // if( $status)
-            // {
-            //     $where  .= " and status = ' $status' ";
-            // }
+            if( $status)
+            {
+                $where  .= " and status = ' $status' ";
+            }
             if($ktime&&$jtime){
                 $where .= " and create_time > '".date("Y-m-d H:i:s",strtotime($ktime))."' and  create_time  < '".date("Y-m-d H:i:s",strtotime($jtime))."' ";
             }

+ 7 - 1
template/erp/returngoods_caiwu.html

@@ -59,7 +59,13 @@
             {/loop}
     </select>
 </li>
-
+<li>
+    状态:
+    <select name="status" class="select">
+            <option value="">全部</option>
+            <option value="30">待审核</option>
+    </select>
+</li>
 <li>
     售后类型:
     <select name="back_status" class="select">