| | |
| | | console.log( e) |
| | | const data1 = { |
| | | id:null, |
| | | vipEndTime:"" |
| | | endTime:"", |
| | | remark:"" |
| | | |
| | | }; |
| | | var index = layer.load(1,{ |
| | | type: 1 |
| | | , title: '会员退费' |
| | | , area: ['800px', '600px'] |
| | | , area: ['600px', '550px'] |
| | | , offset: 'auto' //具体配置参考:http://www.layui.com/doc/modules/layer.html#offset |
| | | , id: 'layerDemo' //防止重复弹出cge |
| | | , content: '<div class="form-horizontal" style="padding-top: 20px;">' + |
| | |
| | | '<div class="col-sm-9">'+ |
| | | '<input style="width: 300px" class="form-control" id="vipEndTime" name="vipEndTime" type="date">'+ |
| | | '</div>'+ |
| | | |
| | | ' </div>' + |
| | | ' </div>' + |
| | | ' <div class="form-group refusal" >\n' + |
| | | ' <label class="col-sm-3 control-label">备注:</label>\n' + |
| | | ' <div class="col-sm-9">\n' + |
| | | ' <textarea id="refusal" class="form-control" style="width: 100%;height: 200px"></textarea>'+ |
| | | ' <textarea id="refusal" class="form-control" style="width: 100%;height: 120px"></textarea>'+ |
| | | ' </div>\n' + |
| | | ' </div>\n' + |
| | | ' </div>' + |
| | | ' </div>' + |
| | | '</div>' |
| | | , btn: ['保存', '关闭'] |
| | | , btnAlign: 'c' //按钮居中 |
| | |
| | | return; |
| | | } |
| | | data1.id = e; |
| | | data1.vipEndTime = $("#vipEndTime").val(); |
| | | data1.endTime = $("#vipEndTime").val(); |
| | | data1.remark = $("#refusal").val(); |
| | | $.ajax({ |
| | | url: Feng.ctxPath + "/vipDetail/refund", |
| | | type: "POST", |