87,990
社区成员
发帖
与我相关
我的任务
分享 formatter: function (value, row) {
if (value == '01') {
return '优秀';
} else if (value == '02') {
return '通过';
} else if (value == '03') {
return '不通过';
}
}, editor: {
type: 'combobox',
data: [{ cj: '01', value: '优秀' }, { cj: '02', value: '通过' }, { cj: '03', value: '不通过' }],
options: {
editable: false,///这里少了逗号了
valueField: 'cj',
textField: 'value',
required: true
}
}