|
@@ -3173,7 +3173,7 @@ export default {
|
|
|
this.inspectionType = this.$route.query.inspectionType;
|
|
this.inspectionType = this.$route.query.inspectionType;
|
|
|
// this.photoIdentifyType = this.$route.query.photoIdentifyType;
|
|
// this.photoIdentifyType = this.$route.query.photoIdentifyType;
|
|
|
this.storeGroupId = this.$route.query.storeGroupId + '';
|
|
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;
|
|
this.indexselect = 0;
|
|
|
} else {
|
|
} else {
|
|
|
this.indexselect = 1;
|
|
this.indexselect = 1;
|
|
@@ -3210,7 +3210,7 @@ export default {
|
|
|
this.inspectionType = this.$route.query.inspectionType;
|
|
this.inspectionType = this.$route.query.inspectionType;
|
|
|
// this.photoIdentifyType = this.$route.query.photoIdentifyType;
|
|
// this.photoIdentifyType = this.$route.query.photoIdentifyType;
|
|
|
this.storeGroupId = this.$route.query.storeGroupId + '';
|
|
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;
|
|
this.indexselect = 0;
|
|
|
} else {
|
|
} else {
|
|
|
this.indexselect = 1;
|
|
this.indexselect = 1;
|