|
@@ -57,7 +57,7 @@ layui.config({
|
|
|
url: "/Admin/OrderRefund/Sort?r=" + Math.random(1),
|
|
url: "/Admin/OrderRefund/Sort?r=" + Math.random(1),
|
|
|
data: "Id=" + data.Id + "&Sort=" + value,
|
|
data: "Id=" + data.Id + "&Sort=" + value,
|
|
|
dataType: "text",
|
|
dataType: "text",
|
|
|
- success: function (data) {}
|
|
|
|
|
|
|
+ success: function (data) { }
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
@@ -66,46 +66,18 @@ layui.config({
|
|
|
table.render({
|
|
table.render({
|
|
|
elem: '#LAY-list-manage',
|
|
elem: '#LAY-list-manage',
|
|
|
url: '/Admin/OrderRefund/IndexData' //模拟接口
|
|
url: '/Admin/OrderRefund/IndexData' //模拟接口
|
|
|
- ,
|
|
|
|
|
- cols: [
|
|
|
|
|
- [{
|
|
|
|
|
- type: 'checkbox',
|
|
|
|
|
- fixed: 'left'
|
|
|
|
|
- }, {
|
|
|
|
|
- field: 'Id',
|
|
|
|
|
- fixed: 'left',
|
|
|
|
|
- title: 'ID',
|
|
|
|
|
- width: 80,
|
|
|
|
|
- sort: true,
|
|
|
|
|
- unresize: true
|
|
|
|
|
- }, {
|
|
|
|
|
- field: 'Reason',
|
|
|
|
|
- title: '退款原因',
|
|
|
|
|
- sort: true
|
|
|
|
|
- }, {
|
|
|
|
|
- field: 'Amount',
|
|
|
|
|
- title: '退款金额',
|
|
|
|
|
- sort: true
|
|
|
|
|
- }, {
|
|
|
|
|
- field: 'Mobile',
|
|
|
|
|
- title: '申请人手机号',
|
|
|
|
|
- sort: true
|
|
|
|
|
- }, {
|
|
|
|
|
- field: 'GoodStatus',
|
|
|
|
|
- title: '货物状态',
|
|
|
|
|
- sort: true
|
|
|
|
|
- }, {
|
|
|
|
|
- field: 'Status',
|
|
|
|
|
- title: '申请状态',
|
|
|
|
|
- sort: true
|
|
|
|
|
- }, {
|
|
|
|
|
- title: '操作',
|
|
|
|
|
- width: 150,
|
|
|
|
|
- align: 'center',
|
|
|
|
|
- fixed: 'right',
|
|
|
|
|
- toolbar: '#table-list-tools'
|
|
|
|
|
- }]
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+ ,
|
|
|
|
|
+ cols: [[
|
|
|
|
|
+ { type: 'checkbox', fixed: 'left' },
|
|
|
|
|
+ { field: 'Id', fixed: 'left', title: 'ID', width: 80, sort: true, unresize: true },
|
|
|
|
|
+ { field: 'OrderNo', width: 200, title: '订单号', sort: true },
|
|
|
|
|
+ { field: 'Refund', width: 200, title: '退款原因', sort: true },
|
|
|
|
|
+ { field: 'ProductName', width: 200, title: '商品', sort: true },
|
|
|
|
|
+ { field: 'Amount', width: 200, title: '退款金额', sort: true },
|
|
|
|
|
+ { field: 'RefundType', width: 200, title: '退回方式', sort: true },
|
|
|
|
|
+ { field: 'UserInfo', width: 200, title: '创客信息', sort: true },
|
|
|
|
|
+ { title: '操作', width: 150, align: 'center', fixed: 'right', toolbar: '#table-list-tools' }
|
|
|
|
|
+ ]],
|
|
|
page: true,
|
|
page: true,
|
|
|
limit: 30,
|
|
limit: 30,
|
|
|
height: 'full-' + String($('.layui-card-header').height() + 130),
|
|
height: 'full-' + String($('.layui-card-header').height() + 130),
|
|
@@ -303,7 +275,7 @@ layui.config({
|
|
|
maxmin: false,
|
|
maxmin: false,
|
|
|
area: ['460px', '180px'],
|
|
area: ['460px', '180px'],
|
|
|
content: $('#excelForm'),
|
|
content: $('#excelForm'),
|
|
|
- cancel: function () {}
|
|
|
|
|
|
|
+ cancel: function () { }
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
ExportExcel: function () {
|
|
ExportExcel: function () {
|