|
@@ -762,12 +762,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
var agentCount = row.agent.child_agent_count_first || 0;
|
|
var agentCount = row.agent.child_agent_count_first || 0;
|
|
return userCount + '人/' + agentCount + '人';
|
|
return userCount + '人/' + agentCount + '人';
|
|
}},
|
|
}},
|
|
- {field: 'agent.child_user_count_second', title: __('二级团队人数/二级分销商人数'), width: 220, align: 'center', formatter: function(value, row, index) {
|
|
|
|
- if (!row.agent) return '0人/0人';
|
|
|
|
- var userCount = row.agent.child_user_count_second || 0;
|
|
|
|
- var agentCount = row.agent.child_agent_count_second || 0;
|
|
|
|
- return userCount + '人/' + agentCount + '人';
|
|
|
|
- }},
|
|
|
|
|
|
+ // {field: 'agent.child_user_count_second', title: __('二级团队人数/二级分销商人数'), width: 220, align: 'center', formatter: function(value, row, index) {
|
|
|
|
+ // if (!row.agent) return '0人/0人';
|
|
|
|
+ // var userCount = row.agent.child_user_count_second || 0;
|
|
|
|
+ // var agentCount = row.agent.child_agent_count_second || 0;
|
|
|
|
+ // return userCount + '人/' + agentCount + '人';
|
|
|
|
+ // }},
|
|
{field: 'agent.child_order_money_all', title: __('团队分销总额/团队分销订单'), width: 220, align: 'center', formatter: function(value, row, index) {
|
|
{field: 'agent.child_order_money_all', title: __('团队分销总额/团队分销订单'), width: 220, align: 'center', formatter: function(value, row, index) {
|
|
if (!row.agent) return '0元/0单';
|
|
if (!row.agent) return '0元/0单';
|
|
var money = row.agent.child_order_money_all || 0;
|
|
var money = row.agent.child_order_money_all || 0;
|
|
@@ -780,12 +780,12 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
var count = row.agent.child_order_count_first || 0;
|
|
var count = row.agent.child_order_count_first || 0;
|
|
return money + '元/' + count + '单';
|
|
return money + '元/' + count + '单';
|
|
}},
|
|
}},
|
|
- {field: 'agent.child_order_money_second', title: __('二级分销总额/二级分销订单'), width: 220, align: 'center', formatter: function(value, row, index) {
|
|
|
|
- if (!row.agent) return '0元/0单';
|
|
|
|
- var money = row.agent.child_order_money_second || 0;
|
|
|
|
- var count = row.agent.child_order_count_second || 0;
|
|
|
|
- return money + '元/' + count + '单';
|
|
|
|
- }},
|
|
|
|
|
|
+ // {field: 'agent.child_order_money_second', title: __('二级分销总额/二级分销订单'), width: 220, align: 'center', formatter: function(value, row, index) {
|
|
|
|
+ // if (!row.agent) return '0元/0单';
|
|
|
|
+ // var money = row.agent.child_order_money_second || 0;
|
|
|
|
+ // var count = row.agent.child_order_count_second || 0;
|
|
|
|
+ // return money + '元/' + count + '单';
|
|
|
|
+ // }},
|
|
{field: 'agent.child_order_money_0', title: __('自购分销总金额/订单数'), width: 220, align: 'center', formatter: function(value, row, index) {
|
|
{field: 'agent.child_order_money_0', title: __('自购分销总金额/订单数'), width: 220, align: 'center', formatter: function(value, row, index) {
|
|
if (!row.agent) return '0元/0单';
|
|
if (!row.agent) return '0元/0单';
|
|
// 自购数据可能存储在其他字段中,这里使用0级别或者特定字段
|
|
// 自购数据可能存储在其他字段中,这里使用0级别或者特定字段
|