linwenxin hace 7 meses
padre
commit
00c959cbc7
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      src/views/commonPage/parts-config/index.vue

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

@@ -125,7 +125,7 @@ export default {
     items() {
       return [
         {
-          isShow: !this.formData.isDefault || this.$route.name == 'website-refund-config',
+          isShow: !this.formData.isDefault,
           name: 'el-select',
           md: 8,
           options: this.websitList.map(item => ({ label: item.name, value: item.websitId })),
@@ -148,7 +148,7 @@ export default {
           }
         },
         {
-          isShow: !this.formData.isDefault || this.$route.name == 'website-refund-config',
+          isShow: !this.formData.isDefault,
           name: 'slot-component',
           md: 16,
           attributes: {},
@@ -165,7 +165,7 @@ export default {
           name: 'el-input',
           md: 8,
           attributes: {
-            disabled: this.formType === 2,
+            disabled: this.formType !== 1,
             placeholder: '请输入',
             type: 'number',
             min: 1
@@ -193,7 +193,7 @@ export default {
           name: 'el-input',
           md: 8,
           attributes: {
-            disabled: this.formType === 2,
+            disabled: this.formType !== 1,
             placeholder: '请输入',
             type: 'number',
             min: 1
@@ -221,7 +221,7 @@ export default {
           name: 'el-input',
           md: 8,
           attributes: {
-            disabled: this.formType === 2,
+            disabled: this.formType !== 1,
             placeholder: '请输入',
             type: 'number',
             min: 1