From 92a3f8487d6bb98c8cc783699d11e5023e629c5c Mon Sep 17 00:00:00 2001 From: lccsw <1127794702@qq.com> Date: Wed, 27 Oct 2021 15:07:08 +0800 Subject: [PATCH] edit-admin-bill_status --- admin/controllers/receiver/order/Bill.php | 1 + admin/views/receiver/order/bill/lists.php | 13 +++++++++++++ .../models/receiver/order/Receiver_orders_model.php | 4 ++-- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/admin/controllers/receiver/order/Bill.php b/admin/controllers/receiver/order/Bill.php index 91ed0099..d26f6579 100644 --- a/admin/controllers/receiver/order/Bill.php +++ b/admin/controllers/receiver/order/Bill.php @@ -22,6 +22,7 @@ class Bill extends HD_Controller public function lists() { $params = $this->input->get(); + !strlen($params['status']) && $params['status'] = 1; $this->load->library('OrdersList'); $result = $this->orderslist->lists($this->status_pid, $params); $this->data = $result; diff --git a/admin/views/receiver/order/bill/lists.php b/admin/views/receiver/order/bill/lists.php index 3d8292d4..bf1ba0e3 100644 --- a/admin/views/receiver/order/bill/lists.php +++ b/admin/views/receiver/order/bill/lists.php @@ -48,6 +48,19 @@ + +
+ +
diff --git a/common/models/receiver/order/Receiver_orders_model.php b/common/models/receiver/order/Receiver_orders_model.php index 94098d47..a0be71a8 100644 --- a/common/models/receiver/order/Receiver_orders_model.php +++ b/common/models/receiver/order/Receiver_orders_model.php @@ -34,8 +34,8 @@ class Receiver_orders_model extends HD_Model 'menu_list' => array(0 => '审核中', 1 => '已通过', 2 => '等待放款', 3 => '按揭完成'), 'menu_default' => 0); $status_ary[2] = array('name' => '车辆分配', 'show' => true, 'list' => array(0 => '车辆分配中', 1 => '用户未签名', 2 => '尾款未支付', 3 => '已确定'), 'menu_list' => array(0 => '车辆分配中', 1 => '用户未签名', 2 => '尾款未支付'), 'menu_default' => 0); - $status_ary[3] = array('name' => '开票相关', 'show' => true, 'list' => array(1 => '待开票', 2 => '已开票'), - 'menu_list' => array(0 => '未开票'), 'menu_default' => 0); + $status_ary[3] = array('name' => '开票相关', 'show' => true, 'list' => array(0=> '待申请', 1 => '待开票', 2 => '已开票'), + 'menu_list' => array(1 => '待开票' ,0=>'待申请'), 'menu_default' => 0); $status_ary[4] = array('name' => '代办服务', 'show' => true, 'list' => array(0 => '代办中', 1 => '已完成代办'), 'menu_list' => array(0 => '代办中'), 'menu_default' => 0); $status_ary[5] = array('name' => '交付车辆', 'show' => true, 'list' => array(0 => '待用户确认', 1 => '用户已确认', 2 => '销售已确认'),