feat(order): 订单详情增加佣金分成明细查询与展示(分销商佣金、区域代理分红及通道分账)
这个提交包含在:
@@ -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;
|
||||
|
||||
在新工单中引用
屏蔽一个用户