lvhao 2 месяцев назад
Родитель
Сommit
6b26e9aca9
1 измененных файлов с 6 добавлено и 2 удалено
  1. 6 2
      core/CoreApp/controllers/Fullordertt.php

+ 6 - 2
core/CoreApp/controllers/Fullordertt.php

@@ -469,7 +469,7 @@ class Fullordertt 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->fullordertt->find_all($where,'id,shop,type,orderinfo,number,sname,phone,state,dtime,review,libraryconfirm,express,waybill,orderremarks,library,black,clientremarks',$order_str,$start,$perpage);
+                 $info_list = $this->fullordertt->find_all($where,'id,shop,type,orderinfo,number,sname,phone,state,dtime,review,libraryconfirm,express,waybill,orderremarks,library,black,clientremarks,waybillid',$order_str,$start,$perpage);
 		 //格式化数据
             foreach ($info_list as $key=>$value) 
 		    {
@@ -642,6 +642,10 @@ class Fullordertt 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)
 				{
@@ -725,7 +729,7 @@ class Fullordertt 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->fullordertt->find_count($where);
 		    $pagenum = ceil($total/$perpage);