From e45226ffe065969a8aa2a56c10260762600dd0d5 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 19 Nov 2024 17:45:12 +0800 Subject: [PATCH] =?UTF-8?q?feat(admin):=20=E4=BC=98=E5=8C=96=E9=A2=84?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 'order_sn' 字段的精确搜索选项 - 添加 'order_sn' 到模糊搜索选项中 --- app/admin/lists/beforehand_order/BeforehandOrderLists.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/admin/lists/beforehand_order/BeforehandOrderLists.php b/app/admin/lists/beforehand_order/BeforehandOrderLists.php index 07a554ef4..7b7ca0116 100644 --- a/app/admin/lists/beforehand_order/BeforehandOrderLists.php +++ b/app/admin/lists/beforehand_order/BeforehandOrderLists.php @@ -30,8 +30,8 @@ class BeforehandOrderLists extends BaseAdminDataLists implements ListsSearchInte public function setSearch(): array { return [ - '=' => ['store_id', 'paid', 'status', 'order_type', 'order_sn'], - '%like' => ['order_id'], + '=' => ['store_id', 'paid', 'status', 'order_type'], + '%like' => ['order_id','order_sn'], 'between_time' => 'create_time' ]; }