| | |
| | | * 3、切换标签类型,重置可选标签 |
| | | */ |
| | | optionChange = (key, value) => { |
| | | const { type } = this.props |
| | | const { hasclass, appType, requireOptions } = this.state |
| | | |
| | | this.record[key] = value |
| | |
| | | _fieldval.label = '导出Excel' |
| | | _fieldval.class = 'dgreen' |
| | | _fieldval.execSuccess = 'never' |
| | | _fieldval.Ot = 'requiredOnce' |
| | | _fieldval.control = '' |
| | | |
| | | if (type !== 'card') { |
| | | _fieldval.Ot = 'requiredOnce' |
| | | this.record.Ot = 'requiredOnce' |
| | | } else { |
| | | _fieldval.Ot = 'notRequired' |
| | | this.record.Ot = 'notRequired' |
| | | } |
| | | |
| | | this.record.label = '导出Excel' |
| | | this.record.class = 'dgreen' |
| | | this.record.execSuccess = 'never' |