From f0546b9aff39c7ebbab66a53ffff225b45b4a8e8 Mon Sep 17 00:00:00 2001
From: mkm <727897186@qq.com>
Date: Sun, 4 Aug 2024 14:26:20 +0800
Subject: [PATCH] =?UTF-8?q?feat(StoreOrderLists):=20=E6=9B=B4=E6=96=B0?=
 =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8=E5=A4=84=E7=90=86=E9=80=BB?=
 =?UTF-8?q?=E8=BE=91=EF=BC=8C=E4=BC=98=E5=8C=96=E5=B7=B2=E6=94=AF=E4=BB=98?=
 =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=98=BE=E7=A4=BA=E6=96=B9=E5=BC=8F=EF=BC=8C?=
 =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=94=AF=E4=BB=98=E7=8A=B6=E6=80=81=E7=AD=9B?=
 =?UTF-8?q?=E9=80=89=E6=9D=A1=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/store/lists/store_order/StoreOrderLists.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app/store/lists/store_order/StoreOrderLists.php b/app/store/lists/store_order/StoreOrderLists.php
index cdb7d1e1d..edb792fb4 100644
--- a/app/store/lists/store_order/StoreOrderLists.php
+++ b/app/store/lists/store_order/StoreOrderLists.php
@@ -88,6 +88,9 @@ class StoreOrderLists extends BaseAdminDataLists implements ListsSearchInterface
                 } else {
                     $item['paid_name'] = '已支付';
                 }
+                if($item['status']==4){
+                    $item['paid_name'] = $item['status_name'];
+                }
                 $product = StoreOrderCartInfo::where('oid', $item['id'])->field(['id', 'oid', 'product_id', 'cart_info'])
                     ->limit(3)->select();
                 foreach ($product as &$items) {