From 00c8c4a1cfe9c5a4b30db9fc7a00a8a2773eacf7 Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Mon, 30 May 2022 10:07:13 +0800 Subject: [PATCH] edit-admin-order_count --- admin/controllers/receiver/orderv2/Orders.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/admin/controllers/receiver/orderv2/Orders.php b/admin/controllers/receiver/orderv2/Orders.php index 74345932..63928ce3 100644 --- a/admin/controllers/receiver/orderv2/Orders.php +++ b/admin/controllers/receiver/orderv2/Orders.php @@ -69,9 +69,7 @@ class Orders extends HD_Controller if($key2 && $key2<21){ $where_s = []; $key==1 && $where_s["{$t1}.payway"] = 0;//分期 - if(strlen($key) && !$key && $key2==1){ //已下定过滤退款 - $where_s["{$t1}.status <>"] = 2; - } + $where_s["{$t1}.status <>"] = 2; //滤退款 if($key==4){ //交付需要开票后才显示 $where_s["{$t1}.id in (select o_id from lc_receiver_order_status where pid_status=3 and status=1)"] = null; } @@ -90,6 +88,7 @@ class Orders extends HD_Controller $where_s = [ "id not in (select o_id from lc_receiver_order_status where pid_status={$value['pid_status']} and status=1)" => null ]; + $where_s["status <>"] = 2; //滤退款 $key==1 && $where_s['payway'] = 0; $key==3 && $where_s['id in (select o_id from lc_receiver_order_status where pid_status=0 and status=2)'] = null; if($key==4){ //交付需要开票后才显示