|
|
|
@ -63,10 +63,11 @@
|
|
|
|
columns: [{
|
|
|
|
columns: [{
|
|
|
|
checkbox: true,
|
|
|
|
checkbox: true,
|
|
|
|
formatter:function (value, row, index) {
|
|
|
|
formatter:function (value, row, index) {
|
|
|
|
|
|
|
|
var state = row.status == '1' ? true : false;
|
|
|
|
if ($.common.isEmpty(value)) {
|
|
|
|
if ($.common.isEmpty(value)) {
|
|
|
|
return { checked: row.flag };
|
|
|
|
return { checked: row.flag, disabled: state };
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return { checked: value }
|
|
|
|
return { checked: value, disabled: state };
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|