From af908216bb0012fe849e3b49b3039c7ba238f8f0 Mon Sep 17 00:00:00 2001
From: liangxiaozhen <liangxiaozhen>
Date: 星期五, 11 八月 2023 14:35:43 +0800
Subject: [PATCH] 补充controller,修改变量,主页bug修改
---
force-app/main/default/lwc/lexMonthlyClaimsChange/lexMonthlyClaimsChange.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/lwc/lexMonthlyClaimsChange/lexMonthlyClaimsChange.js b/force-app/main/default/lwc/lexMonthlyClaimsChange/lexMonthlyClaimsChange.js
index b3c6c34..6f32755 100644
--- a/force-app/main/default/lwc/lexMonthlyClaimsChange/lexMonthlyClaimsChange.js
+++ b/force-app/main/default/lwc/lexMonthlyClaimsChange/lexMonthlyClaimsChange.js
@@ -28,10 +28,10 @@
console.log('result==========',result);
this.IsLoading = false;
if(result!=null){
- if (result.DealerTypeSum == '鐗圭害缁忛攢鍟�') {
- if (result.MonthlyPayment == true) {
+ if (result.dealerTypeSum == '鐗圭害缁忛攢鍟�') {
+ if (result.monthlyPayment == true) {
if (result.records.length > 0) {
- if (result.records[0].Status__c == '鑽夋涓�') {
+ if (result.records[0].status__c == '鑽夋涓�') {
this.showToast('宸叉彁浜よ崏绋胯灏藉揩鎻愪氦瀹℃壒','error');
} else {
this.showToast('鏃犳硶鍒涘缓锛佸凡鏈夋湭鏈�缁堟壒鍑嗙殑鏁版嵁','error');
@@ -49,7 +49,7 @@
},
state:{
defaultFieldValues:defaultFieldValues,
- recordTypeId:result.RecordTypeId
+ recordTypeId:result.recordTypeId
}
});
}
--
Gitblit v1.9.1