This commit is contained in:
cwchen 2024-11-11 09:38:22 +08:00
parent 9bb793be1f
commit c907d51470
1 changed files with 8 additions and 10 deletions

View File

@ -7,7 +7,6 @@ function setParams(type) {
table = layui.table;
element = layui.element;
// tab 切换事件
element.on('tab(demo-filter-tab)', function (data) {
element.on('tab(demo-filter-tab)', function (data) {
let value = $(this).attr('value');
if (value === '1') { // 超库存量
@ -16,7 +15,6 @@ function setParams(type) {
$('#indexIframe').attr('src', 'unplanned_quantity_list.html');
}
});
});
$('.layui-tab-title li').eq(typeParam - 1).addClass('layui-this');
if (typeParam === 1) {
$('#indexIframe').attr('src', 'excess_inventory_list.html');