->select('it.goods_id','it.goods_name','it.goods_number','it.goods_price','it.supplier_name','o.order_id','o.order_sn','o.order_pay_type','o.order_goods_type','o.order_source','o.create_time','o.status','o.order_amount','o.currency','o.sale_id','o.cancel_reason','i.inv_type','i.invoice_status','a.consignee','s.status as shipping_status','u.user_id','u.mobile','u.email','u.client_source','c.com_name','oe.send_remark')
->select('it.goods_id','it.goods_name','it.goods_number','it.goods_price','it.supplier_name','o.order_id','o.order_sn','o.order_pay_type','o.order_source','o.create_time','o.status','o.order_amount','o.currency','o.sale_id','o.cancel_reason','i.invoice_status','a.consignee','s.status as shipping_status','u.user_id','u.mobile','u.email','u.client_source','c.com_name','oe.send_remark')
->groupBy('it.rec_id')
->groupBy('it.rec_id')
->orderBy('o.create_time','DESC')
->orderBy('o.create_time','DESC')
->get();
->get();
...
@@ -827,14 +826,6 @@ Class OrderController extends Controller
...
@@ -827,14 +826,6 @@ Class OrderController extends Controller
'2'=>'已签',
'2'=>'已签',
);
);
// 发票类型
$inv_type=array(
'1'=>'不开发票',
'2'=>'普通发票',
'3'=>'增值税专用发票',
'4'=>'增值税普通发票',
);
// 发票状态
// 发票状态
$invoice_status=array(
$invoice_status=array(
'-1'=>'待确认',
'-1'=>'待确认',
...
@@ -852,8 +843,8 @@ Class OrderController extends Controller
...
@@ -852,8 +843,8 @@ Class OrderController extends Controller