|
@@ -17,6 +17,7 @@
|
17
|
17
|
<th width="10%">支付金额</th>
|
18
|
18
|
<th width="10%">使用套餐</th>
|
19
|
19
|
<th width="10%">实充金额</th>
|
|
20
|
+ <th width="10%">充值方式</th>
|
20
|
21
|
<th width="10%">充值时间</th>
|
21
|
22
|
</tr>
|
22
|
23
|
</thead>
|
|
@@ -29,6 +30,17 @@
|
29
|
30
|
<td class="text-c">{{$a['pay_amount']}}</td>
|
30
|
31
|
<td class="text-c">{{$a['note']}}</td>
|
31
|
32
|
<td class="text-c">{{$a['deposit_amount']}}</td>
|
|
33
|
+
|
|
34
|
+ <td class ="change_logistics_id">
|
|
35
|
+ <p id="payment_type_1{{$a['id']}}">{{$a['payment_type']}}</p>
|
|
36
|
+ <select id="payment_type_2{{$a['id']}}" style="display: none" name='payment_type' value="{{$a['payment_type']}}" onchange="change_payment_type({{$a['id']}})">
|
|
37
|
+ <option value='0'>-请选择-</option>
|
|
38
|
+ <option value='1'>微信支付</option>
|
|
39
|
+ <option value='3'>个体户支付</option>
|
|
40
|
+ </select>
|
|
41
|
+ <span class="sort_icon" hidden onClick='change_payment_type_click("{{$a['id']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
|
42
|
+ </td>
|
|
43
|
+
|
32
|
44
|
<td class="text-c">{{$a['pay_time']}}</td>
|
33
|
45
|
|
34
|
46
|
</tr>
|
|
@@ -66,6 +78,47 @@
|
66
|
78
|
location.href = '/admin/deposit/index?phone='+phone;
|
67
|
79
|
}
|
68
|
80
|
|
|
81
|
+ function change_payment_type_click(id){
|
|
82
|
+ $("#payment_type_1"+id).hide();
|
|
83
|
+ $("#payment_type_2"+id).show();
|
|
84
|
+ $("#payment_type_2"+id).focus();
|
|
85
|
+ }
|
|
86
|
+
|
|
87
|
+ function change_payment_type(id){
|
|
88
|
+ var payment_type = $("#payment_type_2"+id).val();
|
|
89
|
+ $.ajax({
|
|
90
|
+ url: '/admin/deposit/editPayType?id='+id+'&payment_type='+payment_type,
|
|
91
|
+ type: 'get',
|
|
92
|
+ dateType: 'json',
|
|
93
|
+ success:function(msg){
|
|
94
|
+ if(payment_type==1){
|
|
95
|
+ payment_type = '微信支付';
|
|
96
|
+ }
|
|
97
|
+ if(payment_type==3){
|
|
98
|
+ payment_type = '个体户支付';
|
|
99
|
+ }
|
|
100
|
+ if(payment_type==0){
|
|
101
|
+ payment_type = '';
|
|
102
|
+ }
|
|
103
|
+ $("#payment_type_1"+id).html(payment_type);
|
|
104
|
+ $("#payment_type_1"+id).show();
|
|
105
|
+ $("#payment_type_2"+id).hide();
|
|
106
|
+ }
|
|
107
|
+ });
|
|
108
|
+ }
|
|
109
|
+
|
|
110
|
+ $(".change_logistics_id").mouseover(
|
|
111
|
+ function(){
|
|
112
|
+ $(this).children("span").show();
|
|
113
|
+ $(this).children("span").addClass('f-18 c-success');
|
|
114
|
+ $(this).mouseout(
|
|
115
|
+ function(){
|
|
116
|
+ $(this).children("span").hide();
|
|
117
|
+ }
|
|
118
|
+ );
|
|
119
|
+ }
|
|
120
|
+ );
|
|
121
|
+
|
69
|
122
|
|
70
|
123
|
$("#page").paging({
|
71
|
124
|
pageNo:{{$page}},
|