fix(platform-orders): 批量生效/清理失败标记过滤字段对齐列表筛选
This commit is contained in:
@@ -767,6 +767,10 @@ class PlatformOrderController extends Controller
|
||||
'keyword' => trim((string) $request->input('keyword', '')),
|
||||
'syncable_only' => (string) $request->input('syncable_only', ''),
|
||||
'batch_synced_24h' => (string) $request->input('batch_synced_24h', ''),
|
||||
// 与列表页筛选保持一致(可治理):用于在批量操作后仍能回到同一口径
|
||||
'batch_mark_activated_24h' => (string) $request->input('batch_mark_activated_24h', ''),
|
||||
'reconcile_mismatch' => (string) $request->input('reconcile_mismatch', ''),
|
||||
'receipt_status' => trim((string) $request->input('receipt_status', '')),
|
||||
];
|
||||
|
||||
// 防误操作:批量同步默认要求先勾选“只看可同步”,避免无意识扩大处理范围
|
||||
@@ -893,6 +897,10 @@ class PlatformOrderController extends Controller
|
||||
'keyword' => trim((string) $request->input('keyword', '')),
|
||||
'syncable_only' => (string) $request->input('syncable_only', ''),
|
||||
'batch_synced_24h' => (string) $request->input('batch_synced_24h', ''),
|
||||
// 与列表页筛选保持一致(可治理):用于在批量操作后仍能回到同一口径
|
||||
'batch_mark_activated_24h' => (string) $request->input('batch_mark_activated_24h', ''),
|
||||
'reconcile_mismatch' => (string) $request->input('reconcile_mismatch', ''),
|
||||
'receipt_status' => trim((string) $request->input('receipt_status', '')),
|
||||
];
|
||||
|
||||
// 防误操作:批量“仅标记为已生效”默认要求当前筛选口径为「已支付 + 待处理(pending)」
|
||||
@@ -992,6 +1000,10 @@ class PlatformOrderController extends Controller
|
||||
'keyword' => trim((string) $request->input('keyword', '')),
|
||||
'syncable_only' => (string) $request->input('syncable_only', ''),
|
||||
'batch_synced_24h' => (string) $request->input('batch_synced_24h', ''),
|
||||
// 与列表页筛选保持一致(可治理):用于在批量操作后仍能回到同一口径
|
||||
'batch_mark_activated_24h' => (string) $request->input('batch_mark_activated_24h', ''),
|
||||
'reconcile_mismatch' => (string) $request->input('reconcile_mismatch', ''),
|
||||
'receipt_status' => trim((string) $request->input('receipt_status', '')),
|
||||
];
|
||||
|
||||
$query = PlatformOrder::query()
|
||||
|
||||
Reference in New Issue
Block a user