Pārlūkot izejas kodu

提交smt的信息

lvhao 2 dienas atpakaļ
vecāks
revīzija
9f00eb5309

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

@@ -238,6 +238,8 @@ class Fullordersmt extends Start_Controller {
 			$timetj = strtotime($timetj);
 			$px = $this->input->post('px',true);
 			$plorder = $this->input->post('pl',true);
+			$phone = $this->input->post('phone',true);
+
 			$where = "1=1 and (".rtrim($fgshop,'or').")";
 			if($warehouse)
             {
@@ -329,6 +331,10 @@ class Fullordersmt extends Start_Controller {
             {
                 $where  .= " and fullname = '$fullname'";
             }
+
+			if($phone){
+				$where  .= " and phone like '%$phone%'";
+			}
             //数据排序
 			if($px)
 			{

+ 1 - 0
template/erp/fullordersmt.html

@@ -73,6 +73,7 @@
 <li>编号:<input value="" name="number" type="text" ></li>
 <li>订单备注:<input value="" name="orderremarks" type="text" style="width:250px"></li>
 <li>交易号:<input value="" name="paypal" type="text" ></li>
+<li>电 话:<input value="" name="phone" type="text" ></li>
 <li>产品编号:<input value="" name="sku" type="text" ></li>
 <li>发货声明:<select name="dlz" class="select">
 <option value="">请选择</option>