Selaa lähdekoodia

完美门店优化

zhujindu 2 päivää sitten
vanhempi
commit
b09f8f316c
1 muutettua tiedostoa jossa 83 lisäystä ja 75 poistoa
  1. 83 75
      src/views/deviceWithin/addStoreVisit.vue

+ 83 - 75
src/views/deviceWithin/addStoreVisit.vue

@@ -411,7 +411,7 @@
                 </taskTips>
               </template>
               <template #right-icon>
-                <template v-if="isEditSDHCL">
+                <template v-if="isEditSDHCL && processKey">
                   <span v-if="item.isMustPicture == '0'" class="van-f-red">*</span>
                   <van-icon
                     v-if="item.isPicture == 0"
@@ -1089,13 +1089,15 @@
                           </taskTips
                         ></template>
                         <template #right-icon>
-                          <span v-if="childitem.isMustPicture == '0'" class="van-f-red">*</span>
-                          <van-icon
-                            v-if="childitem.isPicture == 0"
-                            color="#666"
-                            name="photograph"
-                            size="24"
-                            @click="imgClick(childitem, 'B', index, childIndex)" />
+                          <template v-if="processKey">
+                            <span v-if="childitem.isMustPicture == '0'" class="van-f-red">*</span>
+                            <van-icon
+                              v-if="childitem.isPicture == 0"
+                              color="#666"
+                              name="photograph"
+                              size="24"
+                              @click="imgClick(childitem, 'B', index, childIndex)" />
+                          </template>
                         </template>
                       </van-cell>
                       <!-- 生动化陈列备注 只能有一层采集项 -->
@@ -2336,29 +2338,31 @@
                                               </taskTips
                                             ></template>
                                             <template #right-icon>
-                                              <span
-                                                v-if="child33item1.isMustPicture == '0'"
-                                                class="van-f-red"
-                                                >*</span
-                                              >
-                                              <van-icon
-                                                v-if="child33item1.isPicture == 0"
-                                                color="#666"
-                                                name="photograph"
-                                                size="24"
-                                                @click="
-                                                  imgClick(
-                                                    child33item1,
-                                                    'D',
-                                                    index,
-                                                    childIndex,
-                                                    indexc,
-                                                    indexc1,
-                                                    childIndex1,
-                                                    indexc33,
-                                                    child33Index1,
-                                                  )
-                                                " />
+                                              <template v-if="processKey">
+                                                <span
+                                                  v-if="child33item1.isMustPicture == '0'"
+                                                  class="van-f-red"
+                                                  >*</span
+                                                >
+                                                <van-icon
+                                                  v-if="child33item1.isPicture == 0"
+                                                  color="#666"
+                                                  name="photograph"
+                                                  size="24"
+                                                  @click="
+                                                    imgClick(
+                                                      child33item1,
+                                                      'D',
+                                                      index,
+                                                      childIndex,
+                                                      indexc,
+                                                      indexc1,
+                                                      childIndex1,
+                                                      indexc33,
+                                                      child33Index1,
+                                                    )
+                                                  " />
+                                              </template>
                                             </template>
                                           </van-cell>
                                           <!-- 生动化陈列备注 只能有一层采集项 -->
@@ -3242,31 +3246,33 @@
                                                         </taskTips>
                                                       </template>
                                                       <template #right-icon>
-                                                        <span
-                                                          v-if="child44item1.isMustPicture == '0'"
-                                                          class="van-f-red"
-                                                          >*</span
-                                                        >
-                                                        <van-icon
-                                                          v-if="child44item1.isPicture == 0"
-                                                          color="#666"
-                                                          name="photograph"
-                                                          size="24"
-                                                          @click="
-                                                            imgClick(
-                                                              child44item1,
-                                                              'E',
-                                                              index,
-                                                              childIndex,
-                                                              indexc,
-                                                              indexc1,
-                                                              childIndex1,
-                                                              indexc33,
-                                                              child33Index1,
-                                                              indexc44,
-                                                              child44Index1,
-                                                            )
-                                                          " />
+                                                        <template v-if="processKey">
+                                                          <span
+                                                            v-if="child44item1.isMustPicture == '0'"
+                                                            class="van-f-red"
+                                                            >*</span
+                                                          >
+                                                          <van-icon
+                                                            v-if="child44item1.isPicture == 0"
+                                                            color="#666"
+                                                            name="photograph"
+                                                            size="24"
+                                                            @click="
+                                                              imgClick(
+                                                                child44item1,
+                                                                'E',
+                                                                index,
+                                                                childIndex,
+                                                                indexc,
+                                                                indexc1,
+                                                                childIndex1,
+                                                                indexc33,
+                                                                child33Index1,
+                                                                indexc44,
+                                                                child44Index1,
+                                                              )
+                                                            " />
+                                                        </template>
                                                       </template>
                                                     </van-cell>
                                                     <!-- 生动化陈列备注 只能有一层采集项 -->
@@ -3599,25 +3605,27 @@
                                     </taskTips>
                                   </template>
                                   <template #right-icon>
-                                    <span v-if="childitem1.isMustPicture == '0'" class="van-f-red"
-                                      >*</span
-                                    >
-                                    <van-icon
-                                      v-if="childitem1.isPicture == 0"
-                                      color="#666"
-                                      name="photograph"
-                                      size="24"
-                                      @click="
-                                        imgClick(
-                                          childitem1,
-                                          'C',
-                                          index,
-                                          childIndex,
-                                          indexc,
-                                          indexc1,
-                                          childIndex1,
-                                        )
-                                      " />
+                                    <template v-if="processKey">
+                                      <span v-if="childitem1.isMustPicture == '0'" class="van-f-red"
+                                        >*</span
+                                      >
+                                      <van-icon
+                                        v-if="childitem1.isPicture == 0"
+                                        color="#666"
+                                        name="photograph"
+                                        size="24"
+                                        @click="
+                                          imgClick(
+                                            childitem1,
+                                            'C',
+                                            index,
+                                            childIndex,
+                                            indexc,
+                                            indexc1,
+                                            childIndex1,
+                                          )
+                                        " />
+                                    </template>
                                   </template>
                                 </van-cell>
                                 <!-- 生动化陈列备注 只能有一层采集项 -->