lvhao před 1 dnem
rodič
revize
86a44cbb45

+ 6 - 0
core/CoreApp/controllers/Beihuogl.php

@@ -105,6 +105,7 @@ class Beihuogl extends Start_Controller {
 		    $perpage = $this->input->post('perpage',true);
             $sqr = $this->input->post('sqr',true);
             $sqr = trim($sqr);
+            $sq_status = $this->input->post('sq_status',true);
             $shop_id = $this->input->post('shop_id',true);
             $plat_id = $this->input->post('plat_id',true);
             $shop_ids = $this->input->post('shop_ids',true);
@@ -128,6 +129,9 @@ class Beihuogl extends Start_Controller {
                 }
                 
             }
+            if($sq_status > -1){
+               $where .= " and sq_status = ".$sq_status." ";
+            }
             
             if($plat_id > -1){
                $where .= " and plat_id = ".$plat_id." ";
@@ -194,6 +198,8 @@ class Beihuogl extends Start_Controller {
             if(in_array($user['id'],[10,28])){
                 $vip_id = 1;
             }
+            $status_list = $this->bhsq->getSqStatus();
+            $this->data['status_list'] = $status_list;
             $this->data['vip_id'] = $vip_id;
             $this->_Template('beihuogl_dyapply',$this->data);
         }

+ 8 - 0
template/erp/beihuogl_dyapply.html

@@ -4,6 +4,14 @@
 <div class="fixed">
 <ul class="search" >
     <li>申请人:<input value="" name="sqr" type="text"></li>
+    <li>状态:
+        <select name="sq_status" class="select class isshopid">
+        <option value="-1" >请选择</option>
+        {loop $status_list as $key=>$val}
+            <option value="{$key}" >{$val}</option>
+        {/loop}
+        </select>
+    </li>
     <li>
         店铺平台:
         <select name="plat_id" class="select class isshopid">