lvhao hace 3 horas
padre
commit
db0293f09d
Se han modificado 2 ficheros con 13 adiciones y 1 borrados
  1. 4 0
      core/CoreApp/controllers/Returngoods.php
  2. 9 1
      template/erp/returngoods.html

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

@@ -555,6 +555,7 @@ class Returngoods extends Start_Controller {
             $shipremarks = $this->input->post('shipremarks',true);
             $jjcd = $this->input->post('jjcd',true);
             $shpjxx = $this->input->post('shpjxx',true);
+            $shsh_status = $this->input->post('shsh_status',true);
             $where = " 1 = 1 ";
             if($orderinfo)
             {
@@ -567,6 +568,9 @@ class Returngoods extends Start_Controller {
             {
                 $where  .= " and back_no = '$back_no' ";
             }
+            if(!empty($shsh_status)){
+                $where .= " and shsh_status = '$shsh_status'  ";
+            }
             if($shop)
             {
                 $where  .= " and shop = '$shop' ";

+ 9 - 1
template/erp/returngoods.html

@@ -131,7 +131,15 @@
     <input id="jtime" value="{date('Y-m-d',time()+24*3600)} 0:00" name="jtime" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
 </li>
 
-
+<li>
+    退货状态:
+    <select name="shsh_status" class="select">
+        <option value="">请选择</option>
+        
+        <option value="1">退货未收到</option>
+        <option value="2">退货已收到</option>
+    </select>
+</li>
 
 <li><span>确 定</span></li>
 </ul>