| | |
| | | </Form.Item> |
| | | </Col> : null} |
| | | <Col span={24}> |
| | | <Form.Item label={ |
| | | <Tooltip placement="topLeft" title="启用时,在菜单完成数据加载后自动触发打印预览。"> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | 自动打印 |
| | | </Tooltip> |
| | | }> |
| | | {getFieldDecorator('autoExec', { |
| | | initialValue: config.autoExec || 'false' |
| | | })( |
| | | <Radio.Group onChange={(e) => this.selectChange('autoExec', e.target.value)}> |
| | | <Radio value="false">不启用</Radio> |
| | | <Radio value="true">启用</Radio> |
| | | </Radio.Group> |
| | | )} |
| | | </Form.Item> |
| | | </Col> |
| | | {config.autoExec === 'true' ? <Col span={24}> |
| | | <Form.Item label={ |
| | | <Tooltip placement="topLeft" title="自动触发打印预览的延迟时间,单位毫秒。"> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | 延迟时间 |
| | | </Tooltip> |
| | | }> |
| | | {getFieldDecorator('autoExecSplit', { |
| | | initialValue: config.autoExecSplit || 500 |
| | | })(<InputNumber min={1} max={9999} precision={0} onChange={(val) => this.selectChange('autoExecSplit', val)}/>)} |
| | | </Form.Item> |
| | | </Col> : null} |
| | | <Col span={24}> |
| | | <Form.Item label="回调"> |
| | | {getFieldDecorator('callback', { |
| | | initialValue: config.callback || 'false' |