lvhao 12 часов назад
Родитель
Сommit
6a6a521173
2 измененных файлов с 17 добавлено и 0 удалено
  1. 4 0
      core/CoreApp/controllers/Returns.php
  2. 13 0
      template/erp/returns.html

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

@@ -125,6 +125,7 @@ class Returns extends Start_Controller {
 			$xztime = $this->input->post('xztime',true);
 			$timetk = $this->input->post('timetk',true);
 			$timetj = $this->input->post('timetj',true);
+			$whcd_status = $this->input->post('whcd_status',true);
 			$timetk = strtotime($timetk);
 			$timetj = strtotime($timetj);
 			$where = "(".rtrim($fgshop,'or').")";
@@ -177,6 +178,9 @@ class Returns extends Start_Controller {
             {
                 $where  .= " and torderinfo like '%$torderinfo%'";
             }
+			if($whcd_status){
+				$where  .= " and degreetext like  '%".$whcd_status."~%'  ";
+			}
 			if($timetk && $timetj)
             {
                 $where  .= " and ".$xztime." > '$timetk' and ".$xztime." < '$timetj'";

+ 13 - 0
template/erp/returns.html

@@ -50,6 +50,19 @@
 <option value="0">未处理</option>
 <option value="1">已处理</option>
 </select></li>
+
+<li>
+    完好程度:<select name="whcd_status" class="select">
+    <option value="">请选择</option>
+    <option value="1">(人发)可用</option>
+    <option value="6">(化纤)可用</option>
+    <option value="7">(化纤)待确认</option>
+    <option value="2">(人发)精打理</option>
+    <option value="3">(人发)不可用</option>
+    <option value="5">(化纤)不可用</option>
+    <option value="4">非假发/非我司头发</option>
+    </select>
+    </li>
 <li>选择时间条件:<select name="xztime" class="select">
 <option value="time">添加时间</option>
 <option value="edittime">更新时间</option>