Explorar el Código

fix(paymentCollectionPlan): 移除比例和金额字段的必填校验并注释表头插槽

liujt hace 7 horas
padre
commit
7e02518963
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4 4
      src/BIZComponents/paymentCollectionPlan/Index.vue

+ 4 - 4
src/BIZComponents/paymentCollectionPlan/Index.vue

@@ -93,7 +93,7 @@
           style="margin-bottom: 20px"
           :prop="'datasource.' + scope.$index + '.ratio'"
           :rules="{
-            required: true,
+            required: false,
             pattern: numberReg,
             message: '请输入正确的比例',
             trigger: 'change'
@@ -148,7 +148,7 @@
           style="margin-bottom: 20px"
           :prop="'datasource.' + scope.$index + '.price'"
           :rules="{
-            required: true,
+            required: false,
             pattern: numberReg,
             message: '请输入正确的金额',
             trigger: 'change'
@@ -313,7 +313,7 @@
             prop: 'ratio',
             label: '比例',
             slot: 'ratio',
-            headerSlot: 'headerRatio',
+            // headerSlot: 'headerRatio',
             align: 'center'
           },
           {
@@ -322,7 +322,7 @@
             label: this.menu === 'purchase' ? '计划付款金额' : '计划收款金额',
             slot: 'price',
             align: 'center',
-            headerSlot: 'headerPrice',
+            // headerSlot: 'headerPrice',
           },
 
           {