Commit b3922ea1 by 朱继来

订单列表状态添加全选

parent 9f6f8ca1
......@@ -307,4 +307,8 @@ input[type="color"],
}
.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
width: 150px;
}
.bs-select-all, .bs-deselect-all{
width: 100% !important;
}
\ No newline at end of file
......@@ -462,8 +462,16 @@
$('input[name=test_order]').attr('checked', true);
}
$(".selectpicker").selectpicker({
actionsBox:true, //在下拉选项添加选中所有和取消选中的按钮
countSelectedText:"已选中{0}项",
selectedTextFormat:"count > 5",
selectAllText: '全选',
deselectAllText: '取消全选',
})
$('.selectpicker').selectpicker('val', order_status.split(',')).trigger("change");
$.lie.order.index();
// 展开菜单
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment