Przeglądaj źródła

feature_20250704_陈列SKU图片识别识别类型判断修改

zhujindu 5 miesięcy temu
rodzic
commit
8c4f4ae6f4
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      src/components/uploadVNormal.vue

+ 4 - 4
src/components/uploadVNormal.vue

@@ -127,7 +127,7 @@ export default {
       default: '0',
     },
     photoIdentifyType: {
-      // 图匠识别目的(1:店招内容识别,2:门店代码识别,3:调色机识别,4:更换店招)
+      // 图匠识别目的(1:店招内容识别,2:门店代码识别,3:调色机识别,4:更换店招,6:陈列SKU图片识别)
       type: String,
       default: '',
     },
@@ -370,7 +370,7 @@ export default {
       }
       this.controller = null;
       // 需要图匠校验的添加参数和loading
-      if (this.photoIdentifyType) {
+      if (this.photoIdentifyType && this.photoIdentifyType != '6') {
         form.photoIdentifyType = this.photoIdentifyType;
         this.progress();
         this.controller = new AbortController(); //取消请求
@@ -393,7 +393,7 @@ export default {
         this.requestTimeOut(res);
       } else if (res.code == 200) {
         // 图匠校验结果返回
-        if (this.photoIdentifyType) {
+        if (this.photoIdentifyType && this.photoIdentifyType != '6') {
           // 重置loaidng状态
           this.resetProgress();
           this.imageAIVerifyFlag = true;
@@ -453,7 +453,7 @@ export default {
     // 照片是否入库,1.照片识别三次不通过仍要上传,2.照片识别通过
     // isUpdate:是否更新店招照片,只有门店店招需要更新
     confirmUpload(res) {
-      if (this.photoIdentifyType) {
+      if (this.photoIdentifyType && this.photoIdentifyType != '6') {
         var form = {
           mediaId: '',
           fileUrl: '',