Merge pull request 'feat(StoreOrderLists): 更新订单列表处理逻辑,优化已支付订单显示方式,调整支付状态筛选条件' (#99) from dev into rose

Reviewed-on: #99
This commit is contained in:
mkm 2024-08-04 14:26:48 +08:00
commit 60ee9295c6

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