|
@@ -191,17 +191,24 @@ class Returngoods extends Start_Controller {
|
|
throw new Exception("订单不存在,请认真核对相关信息!!!");
|
|
throw new Exception("订单不存在,请认真核对相关信息!!!");
|
|
}
|
|
}
|
|
|
|
|
|
- $info = $this->returngoods->find("orderinfo = ".$order_info['orderinfo']);
|
|
|
|
- if(!empty($info) &&($info['status']!=120)){
|
|
|
|
- $this->_see([$info['id']]);
|
|
|
|
- }else{
|
|
|
|
- $this->data['order_info'] = $order_info;
|
|
|
|
- $this->data['status_list'] = $this->returngoods->getStatus();
|
|
|
|
- $this->data['cate_one_list'] = $this->returngoods->getCateOne();
|
|
|
|
- $this->data['cate_two_list'] = json_encode($this->returngoods->getCateTwo());
|
|
|
|
- $this->data['shop_info'] = $this->shop->read($order_info['shop']);
|
|
|
|
- $this->_Template('returngoods_add',$this->data);
|
|
|
|
- }
|
|
|
|
|
|
+ // $info = $this->returngoods->find("orderinfo = ".$order_info['orderinfo']);
|
|
|
|
+ // if(!empty($info) &&($info['status']!=120)){
|
|
|
|
+ // $this->_see([$info['id']]);
|
|
|
|
+ // }else{
|
|
|
|
+ // $this->data['order_info'] = $order_info;
|
|
|
|
+ // $this->data['status_list'] = $this->returngoods->getStatus();
|
|
|
|
+ // $this->data['cate_one_list'] = $this->returngoods->getCateOne();
|
|
|
|
+ // $this->data['cate_two_list'] = json_encode($this->returngoods->getCateTwo());
|
|
|
|
+ // $this->data['shop_info'] = $this->shop->read($order_info['shop']);
|
|
|
|
+ // $this->_Template('returngoods_add',$this->data);
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ $this->data['order_info'] = $order_info;
|
|
|
|
+ $this->data['status_list'] = $this->returngoods->getStatus();
|
|
|
|
+ $this->data['cate_one_list'] = $this->returngoods->getCateOne();
|
|
|
|
+ $this->data['cate_two_list'] = json_encode($this->returngoods->getCateTwo());
|
|
|
|
+ $this->data['shop_info'] = $this->shop->read($order_info['shop']);
|
|
|
|
+ $this->_Template('returngoods_add',$this->data);
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|