```
feat(split): 优化分账订单页面UI和提示信息 - 简化错误提示文案,提升用户体验 - 重构分账订单列表页面样式,优化表格布局和响应式显示 - 添加分账来源标签和诊断详情弹窗功能 - 改进长文本内容的显示方式,支持水平滚动查看 - 调整列宽和文字说明,使界面更加清晰易读 ```
这个提交包含在:
@@ -82,7 +82,7 @@ class SplitCalculator
|
||||
$payFee = floatval($order['pay_fee']);
|
||||
$commissionRewards = CommissionReward::where('order_id', $orderId)->where('status', '>=', 0)->select();
|
||||
if ($this->isEmptyResult($commissionRewards)) {
|
||||
$issues[] = '该订单无分销佣金记录(未产生推广关系或未参与分销)';
|
||||
$issues[] = '无分销佣金记录';
|
||||
}
|
||||
|
||||
foreach ($this->toResultList($commissionRewards) as $reward) {
|
||||
@@ -98,7 +98,7 @@ class SplitCalculator
|
||||
$receiver = $this->getReceiver('promoter', $userId);
|
||||
if (!$receiver) {
|
||||
$issues[] = sprintf(
|
||||
'推广员#%d 佣金¥%s 无汇付接收方(分账接收方 role_id 须等于该 user_id)',
|
||||
'推广员#%d 佣金¥%s:未配置汇付接收方(role_id 须等于该 user_id)',
|
||||
$userId,
|
||||
number_format($amount, 2, '.', '')
|
||||
);
|
||||
@@ -131,7 +131,7 @@ class SplitCalculator
|
||||
} elseif (!empty($ruleItems) && ($amountSource === 'rule' || ($amountSource === 'mixed' && empty($commissionItems)))) {
|
||||
$finalSource = 'rule';
|
||||
if ($amountSource === 'mixed' && !empty($issues)) {
|
||||
$issues[] = '已回退到分账规则(如推广员 5%),金额与佣金不一致';
|
||||
$issues[] = '已回退分账规则(如 5%),与佣金金额不一致';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户