Selaa lähdekoodia

提示列拜访,建店,色卡表格,切换时报错bug修改

zhujindu 10 kuukautta sitten
vanhempi
commit
848ead7b9d
1 muutettua tiedostoa jossa 6 lisäystä ja 5 poistoa
  1. 6 5
      src/views/home/hintTabPage/hintDetail.vue

+ 6 - 5
src/views/home/hintTabPage/hintDetail.vue

@@ -278,11 +278,12 @@ export default {
   },
   methods: {
     rowKey(row) {
-      if (this.fromType == 'noVisit' || this.fromType == 'createStore') {
-        return row['onlyId'];
-      } else if (this.fromType == 'pantone') {
-        return row['warehouseCode'];
-      }
+      return row['onlyId'] || row['warehouseCode'];
+      // if (this.fromType == 'noVisit' || this.fromType == 'createStore') {
+      //   return row['onlyId'];
+      // } else if (this.fromType == 'pantone') {
+      //   return row['warehouseCode'];
+      // }
     },
     setTabsItem() {
       this.tabsItem = [