Преглед изворни кода

添加进销存浏览的产品备注

lvhao пре 6 месеци
родитељ
комит
b9b5f01a0c
1 измењених фајлова са 4 додато и 1 уклоњено
  1. 4 1
      core/CoreApp/controllers/Whlabel.php

+ 4 - 1
core/CoreApp/controllers/Whlabel.php

@@ -1425,6 +1425,7 @@ class Whlabel extends Start_Controller {
 			$jtime = $this->input->post('jtime',true);
 			$ktime = strtotime($ktime);
 			$jtime = strtotime($jtime);
+			$cpbz = $this->input->post('cpbz',true);
 			$where = "1=1";$gj = "";$ck = "";
 			
 			if($usa)
@@ -1465,7 +1466,9 @@ class Whlabel extends Start_Controller {
 				$ck  = " and outk > '$ktime' and outk < '$jtime'";
             }
 
-
+			if($cpbz){
+				$where .= " and cpbz like '%$cpbz%' ";
+			}
 			if($lacecolor)
             {
                 $where  .= " and features like '%-$lacecolor-%'";