lihongxiao 2 лет назад
Родитель
Сommit
3fe6674b12

+ 1 - 1
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/InvoicingUnsettled.vue

@@ -111,7 +111,7 @@ export default {
             type:'primary',
             label:'作废',
             hide: (row) => {
-                return row.readyCommissionFeevalue ? true : false
+                return !row.readyCommissionFeevalue ? true : false
             },
             click:(row, index) => {return this.handVoid(row)},
         },

+ 1 - 1
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/InvoicingUnsettled.vue

@@ -102,7 +102,7 @@ export default {
                         type: 'primary',
                         label: '作废',
                         hide: (row) => {
-                            return row.readyCommissionFeevalue ? true : false
+                            return !row.readyCommissionFeevalue ? true : false
                         },
                         click: (row, index) => { return this.handVoid(row) },
                     },