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

图像识别错误修改

zhujindu преди 4 месеца
родител
ревизия
b10b684c28
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  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;