|
@@ -40,13 +40,13 @@ class Fullordererror extends Start_Controller {
|
|
|
{
|
|
|
$page = $this->input->post('page',true);
|
|
|
$perpage = $this->input->post('perpage',true);
|
|
|
-
|
|
|
+ $plat = $this->input->post('plat',true);
|
|
|
$number = $this->input->post('number',true);
|
|
|
$timetk = $this->input->post('timetk',true);
|
|
|
$timetj = $this->input->post('timetj',true);
|
|
|
$timetk = strtotime($timetk);
|
|
|
$timetj = strtotime($timetj);
|
|
|
- $where = "error_type = 1 and (".rtrim($fgshop,'or').")";
|
|
|
+ $where = "plat = '".$plat."' and error_type = 1 and (".rtrim($fgshop,'or').") ";
|
|
|
|
|
|
if($number)
|
|
|
{
|
|
@@ -75,6 +75,7 @@ class Fullordererror extends Start_Controller {
|
|
|
//$ud = $this->fullorder->read($value['id']);
|
|
|
$shop = $this->shop->read($value['shop']);
|
|
|
$info_list[$key]['shop'] = $shop['shopname'];
|
|
|
+ $info_list[$key]['error_time'] = date("Y-m-d H:i:s",$value['error_time']);
|
|
|
// $info_list[$key]['orderinfo'] = "<h9 class='window' data-h='/fullorder/edit/".$value['id']."' data-t='订单号:".$value['orderinfo']."'>".$value['orderinfo']."<p>";
|
|
|
// $warehouse = $this->warehouse->read($value['type']);
|
|
|
// $warehousetitle = $warehouse['title'];
|
|
@@ -110,6 +111,7 @@ class Fullordererror extends Start_Controller {
|
|
|
}
|
|
|
$wlshop = $this->shop->find_all('1=1 and '.rtrim($sid,'or'));
|
|
|
$this->data['wlshop'] = $wlshop;
|
|
|
+ $this->data['plat'] = $this->input->get('plat');
|
|
|
$this->_Template('fullordererror_errshow',$this->data);
|
|
|
}
|
|
|
|