Преглед на файлове

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

zhujindu преди 11 месеца
родител
ревизия
a8c0a256c2
променени са 3 файла, в които са добавени 5 реда и са изтрити 3 реда
  1. 2 1
      src/views/storeManagement/storeAdd.vue
  2. 1 1
      src/views/storeManagement/storeDetail.vue
  3. 2 1
      src/views/storeManagement/storeEdit.vue

+ 2 - 1
src/views/storeManagement/storeAdd.vue

@@ -64,7 +64,8 @@
                         <span class="van-f-red">*</span>
                       </template>
                       <template #input>
-                        <template v-if="sfaStoreChainsContactList.length">
+                        <template
+                          v-if="sfaStoreChainsContactList && sfaStoreChainsContactList.length">
                           <div
                             class="sfaStoreChainsContactList"
                             v-for="(item, index) in sfaStoreChainsContactList"

+ 1 - 1
src/views/storeManagement/storeDetail.vue

@@ -126,7 +126,7 @@
               ">
               <van-field label="经销商" readonly class="TCFXList">
                 <template #input>
-                  <template v-if="list.sfaStoreChainsContactList">
+                  <template v-if="list.sfaStoreChainsContactList && list.sfaStoreChainsContactList">
                     <div
                       class="sfaStoreChainsContactList"
                       v-for="(item, index) in list.sfaStoreChainsContactList"

+ 2 - 1
src/views/storeManagement/storeEdit.vue

@@ -64,7 +64,8 @@
                         <span class="van-f-red">*</span>
                       </template>
                       <template #input>
-                        <template v-if="sfaStoreChainsContactList.length">
+                        <template
+                          v-if="sfaStoreChainsContactList && sfaStoreChainsContactList.length">
                           <div
                             class="sfaStoreChainsContactList"
                             v-for="(item, index) in sfaStoreChainsContactList"