king
2023-07-17 ba9e189dd33c8d48f7f4ac36bcefeef9afb426f8
src/tabviews/custom/components/card/prop-card/index.jsx
@@ -328,7 +328,7 @@
    if ((position === 'mainline' || position === 'popclose') && config.setting.supModule && BID) { // 刷新源组件时,附带刷新上级行与当前组件
      MKEmitter.emit('reloadData', config.setting.supModule, BID)
    } else {
      this.loadData()
      this.loadData(false, btn)
    }
  }
@@ -384,7 +384,7 @@
    this.loadData()
  }
  async loadData (hastimer) {
  async loadData (hastimer, btn) {
    const { mainSearch } = this.props
    const { config, arr_field, BID, BData, selected } = this.state
@@ -397,6 +397,10 @@
      this.setState({
        data: {$$BID: BID || '', $$BData: BData, $$empty: true},
      })
      if (!btn) {
        this.autoExec()
      }
      return
    } else if (config.setting.supModule && !BID) { // BID 不存在时,不做查询
      this.setState({
@@ -455,7 +459,9 @@
          } else {
            this.transferLine()
          }
          this.autoExec()
          if (!btn) {
            this.autoExec()
          }
        }
      })