king
2021-05-08 9d65dcb2e35f8091f71110c4de7a04215b63b81e
src/tabviews/subtable/index.jsx
@@ -356,14 +356,8 @@
    }
    
    if (requireFields.length > 0) {
      let prex = this.props.Tab && this.props.Tab.label ? this.props.Tab.label + '-' : ''
      let labels = requireFields.map(item => item.label)
      labels = Array.from(new Set(labels))
      notification.warning({
        top: 92,
        message: prex + this.state.dict['form.required.input'] + labels.join('、') + ' !',
        duration: 3
      this.setState({
        loading: false
      })
      return
    } else if (this.props.Tab.supMenu && !BID) { // 主表ID不存在时,不查询子表