| | |
| | | return btn; |
| | | } |
| | | }, |
| | | {title: '余额', field: 'balance', visible: true, align: 'center', valign: 'middle',width:'5%', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |
| | | if(row.balance != '' && row.balance != null) { |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="¥' + row.balance + '" onfocus="TUser.tooltip()">¥' + row.balance + '</p>'] |
| | | }else { |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="¥0.00" onfocus="TUser.tooltip()">¥0.00</p>'] |
| | | } |
| | | return btn; |
| | | } |
| | | }, |
| | | {title: '历史消费', field: 'consumptionNum', visible: true, align: 'center', valign: 'middle',width:'5%', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |