zhengkaixin преди 8 месеца
родител
ревизия
93dbf8cb71
променени са 1 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 5 1
      pages/billingRules/billingRules.vue

+ 5 - 1
pages/billingRules/billingRules.vue

@@ -179,7 +179,11 @@ import {
 		},
 		
 		onReady() {
-			this.companyInfo=this.carhelp.getPersonInfoPlus().companyInfo
+			
+			if(this.carhelp.getPersonInfoPlus().companyInfo){
+				this.companyInfo=this.carhelp.getPersonInfoPlus().companyInfo
+			}
+			
 			this.tenantInfo=this.carhelp.getPersonInfoPlus().tenantInfo
 			
 			this.contractList();