|
@@ -262,7 +262,7 @@ class TableForm extends React.Component {
|
|
|
const { getFieldDecorator } = this.props.form;
|
|
|
const { content, edit } = this.props;
|
|
|
const { depTypeList, BindStatus, checkPointList, checkTypeList, ifClear, checkResultList, checkResultName, checkResultCount, addCheckItemResultSelect, fileList } = this.state;
|
|
|
- const { checkItemName, rightAnswerText, relatedRules, checkModelList, score, itemAttr, rightAnswerImage,subtotal } = content;
|
|
|
+ const { checkItemName, rightAnswerText, relatedRules, checkModelList, score, itemAttr, rightAnswerImage,subtotal,missingItemSelecterMod=0 } = content;
|
|
|
// const bindGroupDefault = groupManaList.length>0?groupManaList[0].name:'bindGroupDefault';
|
|
|
// console.log({content,edit});
|
|
|
const formItemLayout = {
|
|
@@ -327,6 +327,16 @@ class TableForm extends React.Component {
|
|
|
)
|
|
|
}
|
|
|
</Form.Item>
|
|
|
+ <Form.Item label="缺陷项类型">
|
|
|
+ {
|
|
|
+ getFieldDecorator('missingItemSelecterMod', config(missingItemSelecterMod, [{ required:false, message: '请选择缺陷项类型!', }]))(
|
|
|
+ <Select >
|
|
|
+ <Option key={0} value={0}>单选</Option>
|
|
|
+ <Option key={1} value={1}>多选</Option>
|
|
|
+ </Select>,
|
|
|
+ )
|
|
|
+ }
|
|
|
+ </Form.Item>
|
|
|
{
|
|
|
edit && <Form.Item label="查核项分数" style={{ display: edit ? 'block' : 'none' }}>
|
|
|
{
|