Browse Source

图像识别错误修改

zhujindu 4 months ago
parent
commit
b10b684c28
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/deviceWithin/addStoreVisit.vue

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

@@ -2866,7 +2866,7 @@ export default {
     this.putInCode = this.$route.query.putInCode;
     this.equipmentCode = this.$route.query.equipmentCode;
     this.inspectionType = this.$route.query.inspectionType;
-    this.photoIdentifyType = this.$route.query.photoIdentifyType;
+    // this.photoIdentifyType = this.$route.query.photoIdentifyType;
     this.storeGroupId = this.$route.query.storeGroupId + '';
     if (this.$route.query.photoType != null) {
       this.indexselect = 0;
@@ -2900,7 +2900,7 @@ export default {
     this.putInCode = this.$route.query.putInCode;
     this.equipmentCode = this.$route.query.equipmentCode;
     this.inspectionType = this.$route.query.inspectionType;
-    this.photoIdentifyType = this.$route.query.photoIdentifyType;
+    // this.photoIdentifyType = this.$route.query.photoIdentifyType;
     this.storeGroupId = this.$route.query.storeGroupId + '';
     if (this.$route.query.photoType != null) {
       this.indexselect = 0;
@@ -3363,6 +3363,7 @@ export default {
       console.log(params.id);
       getCollectionInfos(params).then((res) => {
         loading1.clear();
+        this.photoIdentifyType = res.data.photoIdentifyType || null;
         this.productTitles = res.data.productTitles; //产品类型表头数据
         var checkUnManage = res.data;
         var collectionItemLists = res.data.collectionItemList;