king
2021-09-24 95ccc1acc6d8ede1c839493e7aecc9c97fd34c8c
src/templates/sharecomponent/actioncomponent/actionform/index.jsx
@@ -222,7 +222,7 @@
      } else if (_intertype === 'outer') {
        _options.push('innerFunc', 'sysInterface', 'interface', 'proInterface', 'outerFunc', 'callbackFunc')
      } else if (_intertype === 'inner') {
        _options.push('innerFunc')
        _options.push('innerFunc', 'preFunc')
      } else {
        _options.push('sql', 'sqlType')
      }
@@ -527,7 +527,7 @@
      if (item.type === 'text') { // 文本搜索
        let _rules = []
        if (item.key === 'innerFunc') {
        if (item.key === 'innerFunc' || item.key === 'preFunc') {
          let str = '^(' + item.fields.join('|') + ')'
          let _patten = new RegExp(str + formRule.func.innerPattern + '$', 'g')
          _rules = [{
@@ -589,7 +589,7 @@
                    message: this.props.dict['form.required.input'] + item.label + '!'
                  }
                ]
              })(<InputNumber min={0} max={10000} precision={0} />)}
              })(<InputNumber min={0} max={10000} precision={0} onPressEnter={this.handleSubmit}/>)}
            </Form.Item>
          </Col>
        )