| | |
| | | setting: PropTypes.object, // 页面设置 |
| | | formlist: PropTypes.any, // 表单信息 |
| | | card: PropTypes.any, // 按钮信息 |
| | | inputSubmit: PropTypes.any // 回车提交事件 |
| | | inputSubmit: PropTypes.func, // 回车提交事件 |
| | | updRecord: PropTypes.func |
| | | } |
| | | |
| | | state = { |
| | |
| | | console.warn('表单focus失败!') |
| | | } |
| | | } |
| | | |
| | | this.props.updRecord && this.props.updRecord(this.record) |
| | | } |
| | | |
| | | getMutilOptions = () => { |
| | |
| | | if (!['funcbutton', 'excelIn', 'excelOut'].includes(value)) { |
| | | _fieldval.position = 'toolbar' |
| | | } |
| | | |
| | | this.props.updRecord && this.props.updRecord(this.record) |
| | | } else if (key === 'position') { |
| | | if (value === 'grid') { |
| | | _fieldval.Ot = 'requiredSgl' |
| | |
| | | } |
| | | } else if (key === 'intertype') { |
| | | this.record.sysInterface = 'false' |
| | | |
| | | this.props.updRecord && this.props.updRecord(this.record) |
| | | } else if (key === 'sysInterface') { |
| | | if (value === 'true') { |
| | | _fieldval.interface = window.GLOB.mainSystemApi || '' |