From fc6ac5fdd3fde6eaea9ee0132f0681aaaf86e8e5 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Tue, 15 Oct 2024 16:41:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E6=90=9C=E7=B4=A2=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E4=B8=AD=E6=B7=BB=E5=8A=A0=E8=AE=A2=E5=8D=95=E7=BC=96=E5=8F=B7?= =?UTF-8?q?=EF=BC=88order=5Fsn=EF=BC=89=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在BeforehandOrderLists类的setSearch方法中,将订单编号(order_sn)字段添加到搜索条件中,以便能够按订单编号进行搜索和过滤。 --- app/admin/lists/beforehand_order/BeforehandOrderLists.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/lists/beforehand_order/BeforehandOrderLists.php b/app/admin/lists/beforehand_order/BeforehandOrderLists.php index fa2d82b05..8a29d67b2 100644 --- a/app/admin/lists/beforehand_order/BeforehandOrderLists.php +++ b/app/admin/lists/beforehand_order/BeforehandOrderLists.php @@ -28,7 +28,7 @@ class BeforehandOrderLists extends BaseAdminDataLists implements ListsSearchInte public function setSearch(): array { return [ - '=' => ['store_id', 'order_id', 'uid','paid','status','order_type'], + '=' => ['store_id', 'order_id', 'uid','paid','status','order_type','order_sn'], ]; }