king
2024-11-22 5e5a8bafcbc346cb6246aab4e63750e5454eb270
src/tabviews/custom/components/table/edit-table/normalTable/index.jsx
@@ -759,7 +759,7 @@
        content = `${record[col.field]}`
      }
      if (col.editType === 'select' && col.options.length > 0) {
      if (col.editType === 'select' && col.showValue !== 'value' && col.options.length > 0) {
        content = col.map.get(content) || content
      } else if (col.editType === 'switch') {
        if (content === col.openVal) {
@@ -1122,7 +1122,7 @@
          content = `${record[col.field]}`
        }
        if (col.editType === 'select' && col.options.length > 0) {
        if (col.editType === 'select' && col.showValue !== 'value' && col.options.length > 0) {
          content = col.map.get(content) || content
        } else if (col.editType === 'switch') {
          if (content === col.openVal) {
@@ -2138,8 +2138,8 @@
      delete result.status
      this.props.columns.forEach(item => {
        if (item.arr_field && result[item.arr_field]) {
          result[item.uuid] = result[item.arr_field]
        if (item.arr_field && result[item.field]) {
          result[item.uuid] = result[item.field]
        }
      })