king
2020-04-12 3df2d3624c6b768d29670b537f8d6a71d3ef122c
src/tabviews/formtab/index.jsx
@@ -138,15 +138,7 @@
        this.improveSelectOption(config.groups)
        if (config.setting.datatype === 'query' && config.setting.onload !== 'false') {
          if (!this.props.param.primaryId) {
            notification.warning({
              top: 92,
              message: '未获取到主键ID!',
              duration: 10
            })
          } else {
            this.loadmaindata()
          }
        } else if (config.setting.datatype !== 'query' && (!this.props.param.primaryId || !this.props.param.data)) {
          notification.warning({
            top: 92,
@@ -375,15 +367,7 @@
        duration: 10
      })
      return null
    } else if (!primaryId) {
      notification.warning({
        top: 92,
        message: '未获取到主键值!',
        duration: 10
      })
      return null
    }
    
    let param = {
      func: 'sPC_Get_TableData',