|
|
|
@ -132,6 +132,8 @@
|
|
|
|
|
<th >充值方式</th>
|
|
|
|
|
|
|
|
|
|
<th >录入时间</th>
|
|
|
|
|
|
|
|
|
|
<th >操作</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<!-- 列表 -->
|
|
|
|
@ -160,6 +162,7 @@
|
|
|
|
|
<td >{$data.pay_amount}</td>
|
|
|
|
|
<td >{$data.pay_way|get_pay_way}</td>
|
|
|
|
|
<td >{$data.add_time|date='Y-m-d H:i:s',###}</td>
|
|
|
|
|
<td ><a class="confirm del" data-id="{$data.id}">删除</a></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</volist>
|
|
|
|
|
<tr>
|
|
|
|
@ -174,6 +177,7 @@
|
|
|
|
|
<td >{$sum_pay_amount['sum_order_amount']}</td>
|
|
|
|
|
<td >------</td>
|
|
|
|
|
<td >------</td>
|
|
|
|
|
<td >------</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</notemtpy>
|
|
|
|
|
</tbody>
|
|
|
|
@ -217,6 +221,38 @@
|
|
|
|
|
console.log(href)
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$(".del").click(function () {
|
|
|
|
|
var del = $(this).data();
|
|
|
|
|
layer.confirm('【警告】撤销后将不可回退,如需继续请点击确认', {
|
|
|
|
|
btn: ['确认','取消'],
|
|
|
|
|
title:false
|
|
|
|
|
}, function(){
|
|
|
|
|
var url = "/admin.php?s=/TestOrder/del/id/"+del.id;
|
|
|
|
|
|
|
|
|
|
layer.load(2);
|
|
|
|
|
$.ajax({
|
|
|
|
|
url: url,
|
|
|
|
|
type: "get",
|
|
|
|
|
dataType: "json",
|
|
|
|
|
success: function (data) {
|
|
|
|
|
if(data.status == 1){
|
|
|
|
|
layer.closeAll('loading');
|
|
|
|
|
layer.msg("<font style='color: red'>删除成功</font>");
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
window.location.reload();
|
|
|
|
|
},350);
|
|
|
|
|
}else{
|
|
|
|
|
alert("删除失败")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}, function(){
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$('#time-start').datetimepicker({
|
|
|
|
|
format: 'yyyy-mm-dd',
|
|
|
|
|
language: "zh-CN",
|
|
|
|
|