Selaa lähdekoodia

同城分销店拆分、分销店对应多个经销商

zhujindu 11 kuukautta sitten
vanhempi
commit
d423d655d8
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/views/deviceOutside/index.vue

+ 2 - 2
src/views/deviceOutside/index.vue

@@ -718,7 +718,7 @@ export default {
   methods: {
     setStroeNameStyle(item) {
       // 是否为 家装或工装
-      if (item.sfaStoreType.jz || item.sfaStoreType.gz) {
+      if (item.sfaStoreType && (item.sfaStoreType.jz || item.sfaStoreType.gz)) {
         return {};
       } else {
         return { color: '#0057ba', 'text-decoration': 'underline' };
@@ -2112,7 +2112,7 @@ export default {
     // 跳转好帮手门店详情
     goOtherSystem(item) {
       // 是否为 家装或工装
-      if (item.sfaStoreType.jz || item.sfaStoreType.gz) {
+      if (item.sfaStoreType && (item.sfaStoreType.jz || item.sfaStoreType.gz)) {
         return false;
       }
       if (item.storeCode) {