|
@@ -47,6 +47,7 @@
|
47
|
47
|
<th width="5%">货品成本</th>
|
48
|
48
|
<th width="5%">运费成本</th>
|
49
|
49
|
<th width="5%">发货备注</th>
|
|
50
|
+ <th width="5%">退补备注</th>
|
50
|
51
|
<th width="6%">创建时间</th>
|
51
|
52
|
|
52
|
53
|
</tr>
|
|
@@ -81,6 +82,11 @@
|
81
|
82
|
<p id="send_note_1{{$a['id']}}">{{$a['send_note']}}</p>
|
82
|
83
|
<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>
|
83
|
84
|
<span class="sort_icon" hidden onClick='change_send_note_click("{{$a['id']}}","{{$a['send_note']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
|
85
|
+ </td>
|
|
86
|
+ <td class ="change_logistics_id">
|
|
87
|
+ <p id="refund_note_1{{$a['id']}}">{{$a['refund_note']}}</p>
|
|
88
|
+ <textarea id="refund_note_2{{$a['id']}}" rows=4 style="display: none" name='refund_note' onblur="change_refund_note({{$a['id']}})" >{{$a['refund_note']}}</textarea>
|
|
89
|
+ <span class="sort_icon" hidden onClick='change_refund_note_click("{{$a['id']}}","{{$a['refund_note']}}")' style="cursor:pointer"><i class="Hui-iconfont"></i></span>
|
84
|
90
|
</td>
|
85
|
91
|
<td>{{$a['createTime']}}</td>
|
86
|
92
|
|
|
@@ -257,6 +263,26 @@
|
257
|
263
|
});
|
258
|
264
|
}
|
259
|
265
|
|
|
266
|
+ function change_refund_note_click(id, refund_note){
|
|
267
|
+ $("#refund_note_1"+id).hide();
|
|
268
|
+ $("#refund_note_2"+id).show();
|
|
269
|
+ $("#refund_note_2"+id).focus();
|
|
270
|
+ }
|
|
271
|
+
|
|
272
|
+ function change_refund_note(id){
|
|
273
|
+ var refund_note = $("#refund_note_2"+id).val();
|
|
274
|
+ $.ajax({
|
|
275
|
+ url: '/admin/order/editLogisticsId?id='+id+'&refund_note='+refund_note,
|
|
276
|
+ type: 'get',
|
|
277
|
+ dateType: 'json',
|
|
278
|
+ success:function(msg){
|
|
279
|
+ $("#refund_note_1"+id).html(refund_note);
|
|
280
|
+ $("#refund_note_1"+id).show();
|
|
281
|
+ $("#refund_note_2"+id).hide();
|
|
282
|
+ }
|
|
283
|
+ });
|
|
284
|
+ }
|
|
285
|
+
|
260
|
286
|
//批量导入
|
261
|
287
|
function importExcel(){
|
262
|
288
|
$("#modal-demo1").modal("show");
|