浏览代码

smt的云尚快线

lvhao 2 月之前
父节点
当前提交
67f6cffdee
共有 1 个文件被更改,包括 10 次插入4 次删除
  1. 10 4
      core/CoreApp/controllers/Fullordersmt.php

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

@@ -364,7 +364,7 @@ class Fullordersmt extends Start_Controller {
                 $start = ($page - 1)*$perpage;
             }
             //取得信息列表id,shop,type,source,user,orderinfo,number,name,state,buytime,clientremarks,review,print,library,libraryconfirm,express,waybill,orderremarks,black
-            $info_list = $this->fullordersmt->find_all($where,'id,shop,type,orderinfo,number,fullname,state,buytime,review,libraryconfirm,express,waybill,orderremarks,library,black,clientremarks',$order_str,$start,$perpage);
+            $info_list = $this->fullordersmt->find_all($where,'id,shop,type,orderinfo,number,fullname,state,buytime,review,libraryconfirm,express,waybill,orderremarks,library,black,clientremarks,waybillid',$order_str,$start,$perpage);
 			 //格式化数据
             foreach ($info_list as $key=>$value) 
 		    {
@@ -473,6 +473,9 @@ class Fullordersmt extends Start_Controller {
 				if($value['waybill'] != "")
 				{
 					$info_list[$key]['waybill'] = "<p>".$value['waybill']."</p>".$dlz;
+					if($value['express'] == 71 && !empty($value['waybillid'])){
+						$info_list[$key]['waybill'] = "<p>".$value['waybill']."</p>".$dlz."<p>".$value['waybillid']."</p>";
+				    }
 				}
 				if($value['express'] != 0)
 				{
@@ -568,7 +571,7 @@ class Fullordersmt extends Start_Controller {
 				{
 					$info_list[$key]['library'] = '<p>'.date('Y-m-d',$ud['retreattime']).'</p><p>'.date('H:i:s',$ud['retreattime']).'退库</p>';
 				}
-				
+				unset($info_list[$key]['waybillid']);
             }
 		    $total = $this->fullordersmt->find_count($where);
 		    $pagenum = ceil($total/$perpage);
@@ -3912,7 +3915,7 @@ class Fullordersmt extends Start_Controller {
                 $start = ($page - 1)*$perpage;
             }
             //取得信息列表id,shop,type,source,user,orderinfo,number,name,state,buytime,clientremarks,review,print,library,libraryconfirm,express,waybill,orderremarks,black
-            $info_list = $this->fullordersmt1->find_all($where,'id,shop,type,orderinfo,number,fullname,state,buytime,review,libraryconfirm,express,waybill,orderremarks,library,black,clientremarks',$order_str,$start,$perpage);
+            $info_list = $this->fullordersmt1->find_all($where,'id,shop,type,orderinfo,number,fullname,state,buytime,review,libraryconfirm,express,waybill,orderremarks,library,black,clientremarks,waybillid',$order_str,$start,$perpage);
 			 //格式化数据
             foreach ($info_list as $key=>$value) 
 		    {
@@ -4007,6 +4010,9 @@ class Fullordersmt extends Start_Controller {
 				if($value['waybill'] != "")
 				{
 					$info_list[$key]['waybill'] = "<p>".$value['waybill']."</p>".$dlz;
+					if($value['express'] == 71 && !empty($value['waybillid'])){
+						$info_list[$key]['waybill'] = "<p>".$value['waybill']."</p>".$dlz."<p>".$value['waybillid']."</p>";
+				    }
 				}
 				if($value['express'] != 0)
 				{
@@ -4079,7 +4085,7 @@ class Fullordersmt extends Start_Controller {
 				{
 					$info_list[$key]['library'] = '<p>'.date('Y-m-d',$ud['retreattime']).'</p><p>'.date('H:i:s',$ud['retreattime']).'退库</p>';
 				}
-				
+				unset($info_list[$key]['waybillid']);
             }
 		    $total = $this->fullordersmt1->find_count($where);
 		    $pagenum = ceil($total/$perpage);