# 查询界面禁止checkbox选中
//2023.05.03更新ViewGrid.vue、serviceFilter.js、detailMethods.js后才能使用
selectable(row, index) {
//设置界面CheckBox是否可以勾选
//判断字段=xx的checkbox不能选中
if (row.字段 == "值") {
return false;
}
return true;
},
detailSelectable(row, index) {
//明细表CheckBox 是否可以勾选
//操作同上
return true;
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
← 查询界面默认排序 查询界面固定列fixed →