linwenxin преди 8 месеца
родител
ревизия
4cb919e9b3
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/views/commonPage/parts-config/index.vue

+ 3 - 3
src/views/commonPage/parts-config/index.vue

@@ -255,7 +255,7 @@ export default {
           formItemAttributes: {
             label: '空调',
             prop: 'priceRate1',
-            rules: requiredValueMin(1)
+            rules: this.$route.name == 'website-refund-config' ? [] : requiredValueMin(1)
           }
         },
         {
@@ -283,7 +283,7 @@ export default {
           formItemAttributes: {
             label: '生活电器',
             prop: 'priceRate3',
-            rules: requiredValueMin(1)
+            rules: this.$route.name == 'website-refund-config' ? [] : requiredValueMin(1)
           }
         },
         {
@@ -311,7 +311,7 @@ export default {
           formItemAttributes: {
             label: '冰箱',
             prop: 'priceRate2',
-            rules: requiredValueMin(1)
+            rules: this.$route.name == 'website-refund-config' ? [] : requiredValueMin(1)
           }
         },
         {