|
@@ -83,6 +83,7 @@
|
83
|
83
|
<th width="5%">买家备注</th>
|
84
|
84
|
<th width="5%">卖家备注</th>
|
85
|
85
|
<th width="5%">发货备注</th>
|
|
86
|
+ <th width="5%">售后费用</th>
|
86
|
87
|
<th width="5%">操作</th>
|
87
|
88
|
</tr>
|
88
|
89
|
</thead>
|
|
@@ -169,7 +170,17 @@
|
169
|
170
|
<p id="send_note_1{{$a['id']}}">{{$a['send_note']}}</p>
|
170
|
171
|
<textarea id="send_note_2{{$a['id']}}" rows=4 style="display: none" name='send_note' onblur="change_send_note({{$a['id']}})" >{{$a['send_note']}}</textarea>
|
171
|
172
|
<span class="sort_icon" hidden onClick='change_send_note_click("{{$a['id']}}","{{$a['send_note']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
172
|
|
- </td>
|
|
173
|
+ </td>
|
|
174
|
+ @endif
|
|
175
|
+
|
|
176
|
+ @if($self_role =='超级管理员' || $self_role =='售后管理员')
|
|
177
|
+ <td class ="change_logistics_id">
|
|
178
|
+ <p id="aftersale_fee_1{{$a['id']}}">{{$a['aftersale_fee']}}</p>
|
|
179
|
+ <textarea id="aftersale_fee_2{{$a['id']}}" rows=4 style="display: none" name='aftersale_fee' onblur="change_aftersale_fee({{$a['id']}})" >{{$a['aftersale_fee']}}</textarea>
|
|
180
|
+ <span class="sort_icon" hidden onClick='change_aftersale_fee_click("{{$a['id']}}","{{$a['aftersale_fee']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
|
181
|
+ </td>
|
|
182
|
+ @else
|
|
183
|
+ <td>{{$a['aftersale_fee']}}</td>
|
173
|
184
|
@endif
|
174
|
185
|
<td>
|
175
|
186
|
@if($a['enable_status'])
|
|
@@ -405,6 +416,26 @@
|
405
|
416
|
});
|
406
|
417
|
}
|
407
|
418
|
|
|
419
|
+ function change_aftersale_fee_click(id, aftersale_fee){
|
|
420
|
+ $("#aftersale_fee_1"+id).hide();
|
|
421
|
+ $("#aftersale_fee_2"+id).show();
|
|
422
|
+ $("#aftersale_fee_2"+id).focus();
|
|
423
|
+ }
|
|
424
|
+
|
|
425
|
+ function change_aftersale_fee(id){
|
|
426
|
+ var aftersale_fee = $("#aftersale_fee_2"+id).val();
|
|
427
|
+ $.ajax({
|
|
428
|
+ url: '/admin/order/editLogisticsId?id='+id+'&aftersale_fee='+aftersale_fee,
|
|
429
|
+ type: 'get',
|
|
430
|
+ dateType: 'json',
|
|
431
|
+ success:function(msg){
|
|
432
|
+ $("#aftersale_fee_1"+id).html(aftersale_fee);
|
|
433
|
+ $("#aftersale_fee_1"+id).show();
|
|
434
|
+ $("#aftersale_fee_2"+id).hide();
|
|
435
|
+ }
|
|
436
|
+ });
|
|
437
|
+ }
|
|
438
|
+
|
408
|
439
|
function change_refund_note_click(id, refund_note){
|
409
|
440
|
$("#refund_note_1"+id).hide();
|
410
|
441
|
$("#refund_note_2"+id).show();
|