Sfoglia il codice sorgente

Merge branch 'feature_20250811_拜访拍照任务连拍' into uat(dev)

zhujindu 3 mesi fa
parent
commit
1906f2e030
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/views/deviceWithin/addStoreVisit.vue

+ 2 - 2
src/views/deviceWithin/addStoreVisit.vue

@@ -3173,7 +3173,7 @@ export default {
     this.inspectionType = this.$route.query.inspectionType;
     // this.photoIdentifyType = this.$route.query.photoIdentifyType;
     this.storeGroupId = this.$route.query.storeGroupId + '';
-    if (this.$route.query.photoType != null) {
+    if (this.$route.query.photoType && this.$route.query.photoType != null) {
       this.indexselect = 0;
     } else {
       this.indexselect = 1;
@@ -3210,7 +3210,7 @@ export default {
     this.inspectionType = this.$route.query.inspectionType;
     // this.photoIdentifyType = this.$route.query.photoIdentifyType;
     this.storeGroupId = this.$route.query.storeGroupId + '';
-    if (this.$route.query.photoType != null) {
+    if (this.$route.query.photoType && this.$route.query.photoType != null) {
       this.indexselect = 0;
     } else {
       this.indexselect = 1;