feat(StoreOrderLists): 更新订单列表处理逻辑,优化已支付订单显示方式,调整支付状态筛选条件

This commit is contained in:
mkm 2024-08-04 14:26:20 +08:00
parent c3a930a9e1
commit f0546b9aff

View File

@ -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) {