Selaa lähdekoodia

修改退货等级的收货地址筛选

lvhao 2 kuukautta sitten
vanhempi
commit
3a524137b1
1 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. 8 0
      core/CoreApp/controllers/Returns.php

+ 8 - 0
core/CoreApp/controllers/Returns.php

@@ -119,6 +119,7 @@ class Returns extends Start_Controller {
 			$name = $this->input->post('name',true);
 			$fh = $this->input->post('fh',true);
 			$qr = $this->input->post('qr',true);
+			$region = $this->input->post('region',true);
 			$xztime = $this->input->post('xztime',true);
 			$timetk = $this->input->post('timetk',true);
 			$timetj = $this->input->post('timetj',true);
@@ -140,6 +141,13 @@ class Returns extends Start_Controller {
 					$where  .= " and stime = '0'";
 				}
             }
+			if($region == 0)
+            {
+                $where  .= " and region = '$region'";
+            }
+			if($region == 1){
+				$where  .= " and region = '$region'";
+			}
 			if($express)
             {
                 $where  .= " and express like '%$express%'";