zhaoke 9 сар өмнө
parent
commit
fafd15e329

+ 3 - 1
src/views/newBagDetails/components/baggageView.vue

@@ -164,6 +164,8 @@ export default {
     },
     queryObj: {
       handler (obj) {
+        this.tableDataCopy = []
+        this.tableData = []
         this.dataContent = obj
         this.restTable()
         this.load()
@@ -190,7 +192,7 @@ export default {
             item.bagStatus = _.cloneDeep(this.stepNodes)
           })
           this.tableDataCopy.push(...returnData)
-          this.tableDataCopy = _.uniqBy(this.tableDataCopy, 'ID')
+          // this.tableDataCopy = _.uniqBy(this.tableDataCopy, 'ID')
           // this.tableDataCopy = this.tableDataCopy.sort((a, b) => Date.parse(a.carrierFlightsDate) - Date.parse(b.carrierFlightsDate))
           this.tableDataCopy.forEach(item => {
             item.bagStatus.map(p => {