该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
$(function () {
layui.use(['table', 'layer'], function () {
layer = layui.layer, layuiTable = layui.table;
tabSalesList = layuiTable.render({
elem: "#JFTZTJ",
totalRow: true,
url: '/DailyRoutine/MembershipManagement/OpSalesList',
cols: [[
{ title: '', type: 'numbers', align: 'center', width: 40 },
{ title: '调整日期', field: 'StrDayBreak', align: 'center', width: 116 },
{ title: 'VIP卡号', field: 'VIPNumber', align: 'center', width: 105 },
{ title: 'VIP姓名', field: 'VIPName', align: 'center', width: 105 },
{ title: '调整类型', field: 'AdjustTheType', align: 'center', width: 105 },
{ title: '调整积分', field: 'AdjustmentIntegral', align: 'center', totalRow: true, width: 105 },
{ title: '备注', field: 'Remark', align: 'center', width: 105 },
{ title: '操作人', field: 'OperationPersonnel', align: 'center', width: 105 },
]],
page: {//分页
limit: 5,//默认几条数据一页
limits: [5, 10, 15, 20, 25, 30]//可选几条一页
}
})
layuiTable.on('row(JFTZTJ)', function (obj) {
//标记选中样式
obj.tr.addClass('layui-table-click')
.siblings().removeClass('layui-table-click');
//单击选中单选框
obj.tr.find('div.layui-unselect.layui-form-radio').click();
});
})
})