| | |
| | | {title: '序号', field: 'id', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '姓名', field: 'name', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '联系方式', field: 'phone', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '购买时间', field: 'payTime', visible: true, align: 'center', valign: 'middle'}, |
| | | {title: '使用状态', field: 'status', visible: true, align: 'center', valign: 'middle', |
| | | formatter: function (value, row, index) { |
| | | return {1: "未使用", 2: "已核销"}[value] |
| | |
| | | console.log(TPayInfo.seItem.id) |
| | | var ajax = new $ax(Feng.ctxPath + "/ticket/writeOff", function (data) { |
| | | TPayInfo.search(); |
| | | Feng.error("核销成功!") |
| | | }, function (data) { |
| | | }); |
| | | ajax.set("id", TPayInfo.seItem.id); |