| | |
| | | febs.alert.warn('请选择待发货的订单'); |
| | | return; |
| | | } |
| | | febs.get(ctx + 'admin/order/confirmOrder?orderIds='+ids, null, function () { |
| | | febs.get(ctx + 'admin/order/confirmLeaderOrder?orderIds='+ids, null, function () { |
| | | febs.alert.success('操作成功'); |
| | | $query.click(); |
| | | }); |
| | |
| | | return; |
| | | } |
| | | window.location.href = ctx + "admin/order/exportOrderListOne?orderType=1&status=2&deliveryType=1&orderIds="+ids; |
| | | febs.get(ctx + 'admin/order/deliverOrder?&orderIds='+ids, null, function () { |
| | | febs.alert.success('操作成功'); |
| | | $query.click(); |
| | | |
| | | }); |
| | | // febs.get(ctx + 'admin/order/deliverOrder?&orderIds='+ids, null, function () { |
| | | // febs.alert.success('操作成功'); |
| | | // $query.click(); |
| | | // |
| | | // }); |
| | | } |
| | | |
| | | if (event == 'exportDeliverTwo') { |
| | |
| | | {field: 'memberName', title: '购买人', minWidth: 100,align:'left'}, |
| | | {field: 'memberPhone', title: '联系方式', minWidth: 120,align:'left'}, |
| | | {field: 'refererName', title: '推荐人', minWidth: 100,align:'left'}, |
| | | {field: 'deliveryType', title: '提货方式', |
| | | templet: function (d) { |
| | | if (d.deliveryType === 1) { |
| | | return '<span style="color:blue;">自提</span>' |
| | | } else if (d.deliveryType === 2) { |
| | | return '<span style="color:green;">快递</span>' |
| | | }else{ |
| | | return '' |
| | | } |
| | | }, minWidth: 100,align:'center'}, |
| | | {field: 'goodsName', title: '商品', minWidth: 160,align:'left'}, |
| | | {field: 'goodsAmount', title: '价格', minWidth: 80,align:'left', totalRow:true}, |
| | | {field: 'carriage', title: '邮费', minWidth: 80,align:'left', totalRow:true}, |