Browse Source

月报2.0改造(1.5)

洪海涛 4 years ago
parent
commit
8a58af4f76
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/store/modules/monthlyReport/edit/utils.js

+ 2 - 0
src/store/modules/monthlyReport/edit/utils.js

@@ -159,6 +159,7 @@ export function arrToObj(arr, headerList) {
     })
     obj.rowKey = uuid10()
     obj.analyticFeedback = analyticFeedbackToObj(elm.analyticFeedback)
+    obj.rowId = `${elm.rowId}`
     obj.operationTargetShow = false
     newObj.push(obj)
   })
@@ -234,6 +235,7 @@ export function objToArr(obj, tableHeaders) {
       }
     })
     elms.analyticFeedback = analyticFeedbackToArr(elm.analyticFeedback)
+    elms.rowId = `${elm.rowId}`
     newArr.push(elms)
   })
   return newArr