|
|
@@ -28,8 +28,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
[
|
|
|
{checkbox: true},
|
|
|
{field: 'id', title: __('Id'), operate: false},
|
|
|
- {field: 'agent.mobile', title: __('Group_id'), operate: false},
|
|
|
- {field: 'mobile', title: __('Mobile'), operate: 'LIKE'},
|
|
|
+ {field: 'mobile', title: __('Group_id'), operate: false, formatter: function(value, row, index) {
|
|
|
+ if (row.agent.mobile)
|
|
|
+ return row.agent.code +'-'+row.agent.mobile;
|
|
|
+ else
|
|
|
+ return '';
|
|
|
+ }},
|
|
|
+ {field: 'mobile', title: __('Mobile'), operate: 'LIKE', formatter: function(value, row, index) {
|
|
|
+ return row.code +'-'+row.mobile;
|
|
|
+ }},
|
|
|
{field: 'parent.mobile', title: __('Parent_id'), operate: false},
|
|
|
{field: 'balance', title: __('Balance'), operate: false},
|
|
|
{field: 'freeze', title: __('Freeze'), operate: false},
|