From 1871b460e53d376e6eb2d7f3f5db04192e9f91fe Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Fri, 22 Jul 2022 17:24:38 +0800 Subject: [PATCH] edit-admin-order_lists --- admin/controllers/biz/Srv.php | 1 + admin/libraries/Ordersv2List.php | 4 ++-- admin/views/biz/srv/get.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/admin/controllers/biz/Srv.php b/admin/controllers/biz/Srv.php index ddf3ad37..25fb6a07 100644 --- a/admin/controllers/biz/Srv.php +++ b/admin/controllers/biz/Srv.php @@ -168,6 +168,7 @@ class Srv extends HD_Controller{ $jsondata['finance_num'] = $info['jsondata']['finance_num']; $finance = $this->sys_finance_model->get(['id'=>intval($jsondata['finance_id'])],'title'); $jsondata['finance_title'] = $finance['title']; + $data['title'] = $jsondata['finance_title']; } //只能有一条默认 if($info['is_def']){ diff --git a/admin/libraries/Ordersv2List.php b/admin/libraries/Ordersv2List.php index 0f918d9b..11cb1597 100644 --- a/admin/libraries/Ordersv2List.php +++ b/admin/libraries/Ordersv2List.php @@ -90,7 +90,7 @@ class Ordersv2List $where["{$this->t1}.biz_id in ($biz_ids)"] = null; } if ($params['biz_type']) { - $where["{$this->t1}.biz_id in (select id from lc_biz where type = " . $params['biz_type'] . ' and status=1)'] = null; + $where["{$this->t1}.biz_id in (select id from lc_biz where type = " . $params['biz_type'] . ')'] = null; } if ($params['of_id'] || $params['of2_id']) { $where_c = 'status>=0'; @@ -431,7 +431,7 @@ class Ordersv2List $where["biz_id in ($biz_ids)"] = null; } if ($params['biz_type']) { - $where["biz_id in (select id from lc_biz where type = " . $params['biz_type'] . ' and status=1)'] = null; + $where["biz_id in (select id from lc_biz where type = " . $params['biz_type'] . ')'] = null; } if ($params['of_id'] || $params['of2_id']) { $where_c = 'status>=0'; diff --git a/admin/views/biz/srv/get.php b/admin/views/biz/srv/get.php index 4c9ccff7..d3178a03 100644 --- a/admin/views/biz/srv/get.php +++ b/admin/views/biz/srv/get.php @@ -1,6 +1,6 @@
-
+