boostrapTable实现列表checkbox部分禁用部分可用

{
checkbox: true,
formatter:function (value,row) {
//如果已经操作禁止选择。具体可以根据业务
    if(row.applyStatus == '0'){
        //不进行禁用
        return { disabled : false}
    }else{
       //禁用
        return { disabled : true}
    }
}

猜你喜欢

转载自blog.csdn.net/saygood999/article/details/111692335