feat: 退款待确认展示平台

This commit is contained in:
renshen 2026-11-04 15:49:49 +08:00
parent 7a6fc997f3
commit f650f00d37
3 changed files with 4 additions and 0 deletions

View File

@ -7183,6 +7183,7 @@ class Pages extends Controller
'online_order_no' => (string) ($row->so_id ?? ''),
'internal_order_no' => (string) ($row->o_id ?? ''),
'shop_name' => (string) ($row->shop_name ?? ''),
'platform' => (string) ($row->platform ?? ''),
'refund_date' => (string) ($row->refundDate ?? ''),
'status' => (string) ($row->status ?? ''),
'online_status' => (string) ($row->shop_status ?? ''),

View File

@ -335,6 +335,7 @@
['内部订单号', 'internal_order_no'],
['线上订单号', 'online_order_no'],
['店铺名称', 'shop_name'],
['平台', 'platform'],
['退款日期', 'refund_date'],
['状态', 'status'],
['线上状态', 'online_status'],

View File

@ -202,6 +202,7 @@ class NonJingxiRefundPageTest extends FeatureTestCase
'waybillNo' => 'WB-743441809',
'o_id' => 10001001,
'shop_name' => '京东-米客米家旗舰店',
'platform' => '京东商城',
'totalRefundMoney' => '199.00',
'AfSalesMoney' => '99.50',
'sku_id' => 'SKU-PENDING-1',
@ -226,6 +227,7 @@ class NonJingxiRefundPageTest extends FeatureTestCase
->assertJsonPath('rows.0.external_after_sales_no', '47467351078')
->assertJsonPath('rows.0.online_order_no', '3668475003538709')
->assertJsonPath('rows.0.internal_order_no', '10001001')
->assertJsonPath('rows.0.platform', '京东商城')
->assertJsonPath('rows.0.status', '待确认')
->assertJsonPath('rows.0.online_status', '退款成功')
->assertJsonPath('rows.0.sku_id', 'SKU-PENDING-1');