Commit bd0481a6 by 冷斌

问题4

parent d6094217
...@@ -179,7 +179,7 @@ class InveController extends AdminController ...@@ -179,7 +179,7 @@ class InveController extends AdminController
$log=$this->getLogistics($rows['order_num'],$this->group_id); $log=$this->getLogistics($rows['order_num'],$this->group_id);
$rows['log']=$log; $rows['log']=$log;
$dist=$this->getDist($_GET['id']); $dist=$this->getDist($_GET['id']);
$rows['dist']=$dist; $rows['dist']=$dist;
} }
$this->meta_title='订单详情'; $this->meta_title='订单详情';
$this->assign('rows',$rows); $this->assign('rows',$rows);
...@@ -252,7 +252,7 @@ class InveController extends AdminController ...@@ -252,7 +252,7 @@ class InveController extends AdminController
} }
} }
//获取物流信息 //获取物流信息
private function getLogistics($order_num,$group_id,$dist_id){ private function getLogistics($order_num,$group_id,$dist_id = null){
$where['order_num']=$order_num; $where['order_num']=$order_num;
$where['group_id']=$group_id; $where['group_id']=$group_id;
$where['dist_id']=$dist_id; $where['dist_id']=$dist_id;
...@@ -324,4 +324,4 @@ class InveController extends AdminController ...@@ -324,4 +324,4 @@ class InveController extends AdminController
} }
} }
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment