Quellcode durchsuchen

Merge branch 'feature_20241212_同城分销店拆分、分销店对应多个经销商'

zhujindu vor 11 Monaten
Ursprung
Commit
a8467fd1e7
1 geänderte Dateien mit 19 neuen und 9 gelöschten Zeilen
  1. 19 9
      src/views/storeManagement/storeAdd.vue

+ 19 - 9
src/views/storeManagement/storeAdd.vue

@@ -1780,6 +1780,16 @@ export default {
           this.$toast('照片未上传');
         }
         return;
+      } else if (
+        fromValue.imgSed == '' &&
+        fromValue.ifJzStoreType != 1 &&
+        this.storeTypePOP &&
+        fromValue.storeCategory != 'C917' &&
+        this.verifyStoreType(this.fromValue.storeCategory) &&
+        this.verifyStoreType(this.fromValue.storeCategory).type != 'fxd'
+      ) {
+        this.$toast('图片未上传');
+        return;
       } else if (fromValue.lon == '') {
         this.$toast('请获取定位坐标');
         return;
@@ -1827,15 +1837,15 @@ export default {
           this.$toast('经销商未填写');
           return;
         }
-        if (
-          fromValue.imgSed == '' &&
-          fromValue.ifJzStoreType != 1 &&
-          this.storeTypePOP &&
-          fromValue.storeCategory != 'C917'
-        ) {
-          this.$toast('图片未上传');
-          return;
-        }
+        // if (
+        //   fromValue.imgSed == '' &&
+        //   fromValue.ifJzStoreType != 1 &&
+        //   this.storeTypePOP &&
+        //   fromValue.storeCategory != 'C917'
+        // ) {
+        //   this.$toast('图片未上传');
+        //   return;
+        // }
       }
       if (this.GZAttributeFormShow && fromValue.potentialCustomerType == '') {
         this.$toast('潜在客户类型未填写');