| | |
| | | { title: '姓名', field: 'booker', visible: true, align: 'center', valign: 'middle'}, |
| | | { title: '联系电话', field: 'phone', visible: true, align: 'center', valign: 'middle'}, |
| | | { title: '预约时间段', field: 'times', visible: true, align: 'center', valign: 'middle'}, |
| | | { title: '支付方式', field: 'payType', visible: true, align: 'center', valign: 'middle' , formatter: function(value, row) { |
| | | switch (value) { |
| | | case 1: |
| | | return '微信'; |
| | | case 2: |
| | | return '支付宝'; |
| | | case 3: |
| | | return '玩湃币'; |
| | | case 4: |
| | | return '手动支付'; |
| | | default: |
| | | return ''; |
| | | } |
| | | }}, |
| | | { title: '支付方式', field: 'payType', visible: true, align: 'center', valign: 'middle'}, |
| | | { |
| | | title: '金额', |
| | | field: 'money', |
| | |
| | | Feng.success("手动支付" + "成功!"); |
| | | TStudent.table.refresh(); |
| | | }, function (data) { |
| | | Feng.error(state == 1 ? '手动支付' : "下架" + "失败!" + data.responseJSON.message + "!"); |
| | | |
| | | }); |
| | | ajax.start(); |
| | | parent.layer.close(index); |