king
2022-01-21 46f79b491173d284a4900d19e7aecf7509481438
src/tabviews/subtabtable/index.jsx
@@ -282,6 +282,14 @@
        config.setting.selected = 'false'
      }
      if (config.setting.controlField) {
        if (config.setting.controlVal) {
          config.setting.controlVal = config.setting.controlVal.split(',')
        } else {
          config.setting.controlVal = ['']
        }
      }
      this.setState({
        pageSize: config.setting.pageSize || 10,
        loadingview: false,
@@ -570,8 +578,15 @@
          }
          item.key = index
          item.$$uuid = item[setting.primaryKey] || ''
          item.$$key = '' + item.key + item.$$uuid
          item.$$BID = BID || ''
          item.$Index = start + index + ''
          if (setting.controlField) {
            if (setting.controlVal.includes(item[setting.controlField])) {
              item.$disabled = true
            }
          }
          return item
        }),
@@ -674,6 +689,7 @@
          data = data.map(item => {
            if (item.$$uuid === _data.$$uuid) {
              _data.key = item.key
              _data.$$key = '' + item.key + item.$$uuid
              _data.$Index = item.$Index
              return _data
            } else {