| | |
| | | return btn; |
| | | } |
| | | }, |
| | | {title: '支付方式', field: 'payType', visible: true, align: 'center', valign: 'middle', |
| | | formatter: function (value, row) { |
| | | var btn = ""; |
| | | if(row.payType != '' && row.payType != null) { |
| | | if (row.payType == 1){ |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="微信" onfocus="TUser.tooltip()">微信</p>'] |
| | | } else if (row.payType == 3){ |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="余额" onfocus="TUser.tooltip()">余额</p>'] |
| | | } else if (row.payType == 5){ |
| | | btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="备付金" onfocus="TUser.tooltip()">备付金</p>'] |
| | | } |
| | | } |
| | | return btn; |
| | | } |
| | | }, |
| | | {title: '是否异常订单', field: 'abnormal', visible: true, align: 'center', valign: 'middle', |
| | | formatter: function (value, row) { |
| | | return {1:"否",2:"是"}[value]; |
| | |
| | | queryData['promotionUser'] = $("#promotionUser").val(); |
| | | queryData['abnormal'] = $("#abnormal").val(); |
| | | queryData['promotion'] = $("#promotion").val(); |
| | | queryData['payType'] = $("#payType").val(); |
| | | TOrderPrivateCar.table.refresh({query: queryData}); |
| | | }; |
| | | |
| | |
| | | let promotionUser = $('#promotionUser').val(); |
| | | let abnormal = $('#abnormal').val(); |
| | | let promotion = $('#promotion').val(); |
| | | let payType = $('#payType').val(); |
| | | if(null != insertTime && '' != insertTime){ |
| | | p += "insertTime=" + insertTime + "&"; |
| | | } |
| | |
| | | if(null != promotion && '' != promotion){ |
| | | p += "promotion=" + promotion + "&" ; |
| | | } |
| | | if(null != payType && '' != payType){ |
| | | p += "payType=" + payType + "&" ; |
| | | } |
| | | if('' != p){ |
| | | p = "?" + p.substring(0, p.length - 1); |
| | | } |
| | |
| | | $("#promotionUser").val(""); |
| | | $("#abnormal").val(""); |
| | | $("#promotion").val(""); |
| | | $("#payType").val(""); |
| | | TOrderPrivateCar.search(); |
| | | }; |
| | | |