src/main/webapp/jsFiles/waitPakOut.js
@@ -19,8 +19,8 @@
        showRefresh: false, //显示刷新按钮
        showExport: false,
        toolbar: "#toolbar",
        singleSelect : true,
        clickToSelect: true, // 单击行即可以选中
        // singleSelect : true,
        // clickToSelect: true, // 单击行即可以选中
        search: false,//显示搜素表单
        silent: true, //刷新事件必须设置
        sidePagination: "server", //表示服务端请求
@@ -201,19 +201,25 @@
            oInit.InitSubTable(index, row, $detail);
        },
        onCheck: function (row) {
            getNetACount();
            // getNetACount();
//         alert(row.menu_name);
        }, onUncheck: function (row) {
            getNetACount();
            // getNetACount();
//          alert('取消选中');       
        }, onCheckAll: function () {
            getNetACount();
            // getNetACount();
        }, onUncheckAll: function () {
            getNetACount();
            // getNetACount();
        },
        onClickRow: function (row, $element) {
            $('.info').removeClass('info');
            $($element).addClass('info');
            // 联动勾选
            if (row[0]) {
                $("#test-table").bootstrapTable('uncheckBy',  {field:"vlpla", values:[row.vlpla]});
            } else {
                $("#test-table").bootstrapTable('checkBy',  {field:"vlpla", values:[row.vlpla]});
            }
        }
    });
});