king
2019-12-24 a00b7b609830736d18a749cbe3ffa6cbf0035cd9
src/tabviews/subtable/index.jsx
@@ -16,7 +16,7 @@
export default class NormalTable extends Component {
  static propTpyes = {
    Tab: PropTypes.object,       // 标签信息
    BIDs: PropTypes.string,       // 上级数据ID
    BID: PropTypes.string,       // 上级数据ID
    MenuID: PropTypes.string,    // 菜单Id
    SupMenuID: PropTypes.string  // 上级菜单Id
  }
@@ -44,7 +44,7 @@
  }
  UNSAFE_componentWillReceiveProps(nextProps) {
    if (this.props.Tab.supMenu && !is(fromJS(this.props.BIDs[this.props.Tab.supMenu]), fromJS(nextProps.BIDs[this.props.Tab.supMenu]))) {
    if (this.props.Tab.supMenu && !is(fromJS(this.props.BID), fromJS(nextProps.BID))) {
      this.loadmaindata()
    }
  }
@@ -305,7 +305,7 @@
      func: 'sPC_Get_TableData',
      obj_name: 'data',
      arr_field: arr_field,
      BID: this.props.BIDs[this.props.Tab.supMenu] || ''
      BID: this.props.BID
    }
    let orderBy = orderColumn ? (orderColumn + ' ' + orderType) : setting.order
@@ -490,7 +490,7 @@
          <SubAction
            ref="subButton"
            MenuID={this.props.MenuID}
            BID={this.props.BIDs[this.props.Tab.supMenu] || ''}
            BID={this.props.BID}
            setting={setting}
            refreshdata={this.refreshbyaction}
            gettableselected={this.gettableselected}