This commit is contained in:
BianLzhaoMin 2025-07-28 13:28:26 +08:00
parent 1cee686c16
commit ae68501483
1 changed files with 13 additions and 6 deletions

View File

@ -164,6 +164,11 @@
var columsIndex = [1];//需要合并的列索引值 [2,3,5,6,14,15];
merge(res, columsName, columsIndex);
tableLoading && layer.close(tableLoading);
var tableView = this.elem.next();
layui.each(res.data, function (i, item1) {
var cols = tableView.find('tr[data-index=' + i + ']').find('td');
cols.each(function (index, item) {
if (index > 2 && index != cols.length - 1) {
let dataId = $(this).data('field')
@ -172,6 +177,8 @@
}
}
})
})
}
});
table.on('tool(test)', function (obj) {