lvhao 5 dní pred
rodič
commit
4437dd5b68

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

@@ -292,6 +292,7 @@ class Fullorderamz extends Start_Controller {
 			$user = $this->input->post('user',true);
 			$client = $this->input->post('name');
 			$waybill = $this->input->post('waybill',true);
+			$waybillid = $this->input->post('waybillid',true);
 			$number = $this->input->post('number',true);
 			$email = $this->input->post('email',true);
 			$phone = $this->input->post('phone',true);
@@ -365,6 +366,9 @@ class Fullorderamz extends Start_Controller {
             {
                 $where  .= " and waybill = '$waybill'";
             }
+			if($waybillid){
+				$where  .= " and waybillid like '%".$waybillid."%'";
+			}
 			if($number)
             {
                 $where  .= " and number like '$number%'";

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

@@ -223,6 +223,7 @@ class Fullordersmt extends Start_Controller {
 			$client = $this->input->post('name',true);
 			$fullname = $this->input->post('fullname',true);
 			$waybill = $this->input->post('waybill',true);
+			$waybillid = $this->input->post('waybillid',true);
 			$number = $this->input->post('number',true);
 			$email = $this->input->post('email',true);
 			$dlz = $this->input->post('dlz',true);
@@ -285,6 +286,9 @@ class Fullordersmt extends Start_Controller {
             {
                 $where  .= " and waybill = '$waybill'";
             }
+			if($waybillid){
+				$where  .= " and waybillid like '%".$waybillid."%'";
+			}
 			if($number)
             {
                 $where  .= " and number like '$number%'";

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

@@ -294,6 +294,7 @@ class Fullordertt extends Start_Controller {
 			$user = $this->input->post('user',true);
 			$client = $this->input->post('name');
 			$waybill = $this->input->post('waybill',true);
+			$waybillid = $this->input->post('waybillid',true);
 			$number = $this->input->post('number',true);
 			$email = $this->input->post('email',true);
 			$phone = $this->input->post('phone',true);
@@ -367,6 +368,9 @@ class Fullordertt extends Start_Controller {
             {
                 $where  .= " and waybill = '$waybill'";
             }
+			if($waybillid){
+				$where  .= " and waybillid like '%".$waybillid."%'";
+			}
 			if($number)
             {
                 $where  .= " and number like '$number%'";

+ 1 - 0
template/erp/fullorderamz.html

@@ -53,6 +53,7 @@
 <li>订单号:<input value="" name="orderinfo" type="text" ></li>
 <li>编号:<input value="" name="number" type="text" ></li>
 <li>运单号:<input value="" name="waybill" type="text" ></li>
+<li>转单号:<input value="" name="waybillid" type="text" ></li>
 <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>

+ 1 - 0
template/erp/fullordersmt.html

@@ -70,6 +70,7 @@
 <li>买家名称:<input value="" name="fullname" type="text" ></li>
 <li>编号:<input value="" name="number" type="text" ></li>
 <li>运单号:<input value="" name="waybill" type="text" ></li>
+<li>转单号:<input value="" name="waybillid" type="text" ></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

@@ -53,6 +53,7 @@
 <li>订单号:<input value="" name="orderinfo" type="text" ></li>
 <li>编号:<input value="" name="number" type="text" ></li>
 <li>运单号:<input value="" name="waybill" type="text" ></li>
+<li>转单号:<input value="" name="waybillid" type="text" ></li>
 <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>