king
2023-09-08 54645f374259b84d3b970c95cb39e00cd45504a7
src/templates/sharecomponent/actioncomponent/verifyexcelin/index.jsx
@@ -388,14 +388,23 @@
    const { verify } = this.state
    let _columns = JSON.parse(JSON.stringify(verify.columns))
    let _cols = _columns.map(col => col.Column.toLowerCase())
    let _names = {}
    let _cols = columns.map(item => {
      let key = item.Column.toLowerCase()
      _names[key] = item.Text
      return key
    })
    let names = {$up: false}
    columns.forEach(col => {
      if (!col.field) return
      if (_cols.includes(col.field.toLowerCase())) {
        names.$up = true
        names[col.field.toLowerCase()] = col.label
      let key = col.field.toLowerCase()
      if (_cols.includes(key)) {
        if (_names[key] !== col.label) {
          names.$up = true
          names[key] = col.label
        }
        return
      }