feat(order): 订单详情增加佣金分成明细查询与展示(分销商佣金、区域代理分红及通道分账)

这个提交包含在:
wikiboss
2026-09-30 10:23:34 +08:00
父节点 2151439d45
当前提交 d8be55a4f7
共有 4 个文件被更改,包括 457 次插入 和 3 次删除

查看文件

@@ -842,6 +842,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
orderId: new URLSearchParams(location.search).get('id'),
orderDetail: [],
orderDetailCopy: [],
commissionList: [],
commissionTotal: '0.00',
goodsList: [], //所有商品
onlyExpressGoodsList: [], //物流快递
noRefundGoodsList: [], //去除退款的
@@ -1017,6 +1019,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
that.noRefundGoodsList = noRefund;
that.packageList = res.data.express;
that.commissionList = res.data.commissions || [];
that.commissionTotal = res.data.commission_total || '0.00';
that.changeSteps();
that.getNoSendGoodsList();
@@ -1156,6 +1160,20 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
goUserDetail(user_id) {
Fast.api.open('shopro/user/user/profile?id=' + user_id, "用户详情");
},
rewardStatusClass(status) {
switch (Number(status)) {
case -2:
return 'shopro-status-info';
case -1:
return 'shopro-status-error';
case 0:
return 'shopro-status-warning';
case 1:
return 'shopro-status-success';
default:
return '';
}
},
addMemo(type) {
if (type == 'cancel') {
this.addMemoFlag = false;