| | |
| | | return btn; |
| | | } |
| | | }, |
| | | {title: '订单类型', field: 'type', visible: true, align: 'center', valign: 'middle', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |
| | | if(row.orderSource != '' && row.orderSource != null) { |
| | | if (row.type == 1){ |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="普通订单" onfocus="TUser.tooltip()">普通订单</p>'] |
| | | } else if (row.type == 2){ |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="摆渡订单" onfocus="TUser.tooltip()">摆渡订单</p>'] |
| | | } |
| | | } |
| | | return btn; |
| | | } |
| | | }, |
| | | {title: '订单来源', field: 'orderSource', visible: true, align: 'center', valign: 'middle', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |