lihongxiao 2 лет назад
Родитель
Сommit
1f5c0a8146

+ 2 - 2
config/dev.env.js

@@ -11,9 +11,9 @@ module.exports = merge(prodEnv, {
   // BASE_URL: '"http://192.168.0.115:8080/"' //凯森
   // BASE_URL: '"http:///192.168.0.106:8080/"',//屈晨
   // BASE_URL: '"http:///192.168.0.253:8080/"',//田智
-  // BASE_URL: '"http:///192.168.0.42:8080/"',//武鸿鹏
+  BASE_URL: '"http:///192.168.0.42:8080/"',//武鸿鹏
   // BASE_URL: '"http://192.168.1.101:8080/"',
-  BASE_URL: '"http:///192.168.0.22:8080/"',//郝宇
+  // BASE_URL: '"http:///192.168.0.22:8080/"',//郝宇
   // BASE_URL: '"http:///192.168.0.103:8080/"',//
 })
 

+ 5 - 1
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/DocumentaryUnsettled.vue

@@ -77,7 +77,11 @@ export default {
           {
             type: 'primary',
             label: '结算',
-            perm: 'sys:documentaryFees2:balance',
+            hide:(row)=>{
+              if(row.invoicCommissionFeevalue-row.settleMentAmount>0){
+                return true
+              }
+            },
             click: (row, index) => { return this.openBalanceFun(row) },
           },
         ]

+ 5 - 0
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/Notinvoiced.vue

@@ -97,6 +97,11 @@ export default {
           {
             type: 'primary',
             label: '开票',
+            hide:(row)=>{
+              if(row.otherFeevalue-row.invoicCommissionFeevalue>0){
+                return true
+              }
+            },
             click: (row, index) => { return this.openBalanceFun(row) },
           },
         ]