king
2020-06-02 a181fc113d024ed34d6b488c65882961bd1de3f4
src/tabviews/subtable/index.jsx
@@ -469,6 +469,7 @@
    let _BID = this.props.BID
    let requireFields = search.filter(item => item.required && (!item.value || item.value.length === 0))
    let prex = this.props.Tab && this.props.Tab.label ? this.props.Tab.label + '-' : ''
    if (requireFields.length > 0) {
      let labels = requireFields.map(item => item.label)
@@ -476,7 +477,7 @@
      notification.warning({
        top: 92,
        message: this.state.dict['form.required.input'] + labels.join('、') + ' !',
        message: prex + this.state.dict['form.required.input'] + labels.join('、') + ' !',
        duration: 3
      })
      return
@@ -522,7 +523,6 @@
      this.setState({
        loading: false
      })
      let prex = this.props.Tab && this.props.Tab.label ? this.props.Tab.label + ': ' : ''
      notification.error({
        top: 92,
@@ -800,6 +800,8 @@
    } else if (btn.execSuccess === 'equaltab' && type === 'success') {
      this.reloadtable()
      this.props.handleMainTable('equaltab')
    }else if (btn.execSuccess === 'mainline' && type === 'success') {
      this.props.handleMainTable('mainline')
    }
  }