Browse Source

提交数据

lvhao 1 tuần trước cách đây
mục cha
commit
0e5c18a228

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

@@ -303,6 +303,7 @@ class Fullorderamz extends Start_Controller {
 			$exstate = $this->input->post('exstate',true);
 			$xztime = $this->input->post('xztime',true);
 			$libraryconfirm = $this->input->post('libraryconfirm',true);
+			$orderremarks = $this->input->post('orderremarks',true);
 			$timetk = strtotime($timetk);
 			$timetj = strtotime($timetj);
 			$plorder = $this->input->post('pl',true);
@@ -416,6 +417,9 @@ class Fullorderamz extends Start_Controller {
 					$where  .= " and klarna = '$klarna'";
 				}
             }
+			if($orderremarks){
+				$where  .= " and orderremarks like '%$orderremarks%'";
+			}
 			if($paypal)
             {
                 $where  .= " and paypal = '$paypal'";

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

@@ -231,6 +231,7 @@ class Fullordersmt extends Start_Controller {
 			$library = $this->input->post('library',true);
 			$country = $this->input->post('country',true);
 			$paypal = $this->input->post('paypal',true);
+			$orderremarks = $this->input->post('orderremarks',true);
 			$sku = $this->input->post('sku',true);
 			$xztime = $this->input->post('xztime',true);
 			$timetk = strtotime($timetk)-1;
@@ -313,6 +314,9 @@ class Fullordersmt extends Start_Controller {
             {
                 $where  .= " and paypal = '$paypal'";
             }
+			if($orderremarks){
+				$where  .= " and orderremarks like '%$orderremarks%'";
+			}
 			if($dlz != '')
             {
                 $where  .= " and dlz = '$dlz'";

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

@@ -309,6 +309,7 @@ class Fullordertt extends Start_Controller {
 			$timetj = strtotime($timetj);
 			$plorder = $this->input->post('pl',true);
 			$paypal = $this->input->post('paypal',true);
+			$orderremarks = $this->input->post('orderremarks',true);
 			$pay = $this->input->post('pay',true);
 			$klarna = $this->input->post('klarna',true);
 			$zf = $this->input->post('zf',true);
@@ -422,6 +423,9 @@ class Fullordertt extends Start_Controller {
             {
                 $where  .= " and paypal = '$paypal'";
             }
+			if($orderremarks){
+				$where  .= " and orderremarks like '%$orderremarks%'";
+			}
 			if($pay)
             {
                 $where  .= " and pay = '$pay'";

+ 1 - 0
template/erp/fullorderamz.html

@@ -95,6 +95,7 @@
 {/loop}</select>
 </li>
 -->
+<li>订单备注:<input value="" name="orderremarks" type="text" style="width:250px"></li>
 <li>选择时间条件:<select name="xztime" class="select">
 <option value="dtime">订单时间</option>
 <option value="reviewtime">审核时间</option>

+ 1 - 1
template/erp/fullordersmt.html

@@ -71,7 +71,7 @@
 <li>订单号:<input value="" name="orderinfo" type="text" ></li>
 <li>买家名称:<input value="" name="fullname" type="text" ></li>
 <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="sku" type="text" ></li>
 <li>发货声明:<select name="dlz" class="select">

+ 1 - 0
template/erp/fullordertt.html

@@ -58,6 +58,7 @@
 <li>客户名称:<input value="" name="name" type="text"  style="width:160px"></li>
 <li>邮箱:<input value="" name="email" type="text" style="width:200px"></li>
 <li>电话:<input value="" name="phone" type="text" style="width:100px"></li>
+<li>订单备注:<input value="" name="orderremarks" type="text" style="width:250px"></li>
 <li>更新状态:<select name="dlz" class="select" style="width:90px">
 <option value="">请选择</option>
 <option value="0">未更新</option>