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/lexCustomLink2AdvancePaymentIdentificationChange/lexCustomLink2AdvancePaymentIdentificationChange.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/lwc/lexCustomLink2AdvancePaymentIdentificationChange/lexCustomLink2AdvancePaymentIdentificationChange.js b/force-app/main/default/lwc/lexCustomLink2AdvancePaymentIdentificationChange/lexCustomLink2AdvancePaymentIdentificationChange.js
index 81c2ca0..1dca3e2 100644
--- a/force-app/main/default/lwc/lexCustomLink2AdvancePaymentIdentificationChange/lexCustomLink2AdvancePaymentIdentificationChange.js
+++ b/force-app/main/default/lwc/lexCustomLink2AdvancePaymentIdentificationChange/lexCustomLink2AdvancePaymentIdentificationChange.js
@@ -29,15 +29,15 @@
console.log('result==========',result);
this.IsLoading = false;
if(result!=null){
- if (result.FirstParagraph == 0) {
+ if (result.firstParagraph == 0) {
this.showToast("鎮ㄥ凡鍙栨秷鍏堟鏍囪瘑锛屾棤闇�閲嶅鎿嶄綔",'error');
return;
- } else if (result.MonthlyPayment == true) {
+ } else if (result.monthlyPayment == true) {
this.showToast("鎮ㄤ笉鑳借繘琛岀壒鎵癸紝璇峰厛鍙栨秷鏈堝害鍊烘潈鍏堟鏍囪瘑",'error');
return;
} else {
if (result.records.length > 0) {
- if (result.records[0].Status__c == '鑽夋涓�') {
+ if (result.records[0].status__c == '鑽夋涓�') {
this.showToast('宸叉彁浜よ崏绋胯灏藉揩鎻愪氦瀹℃壒','error');
} else {
this.showToast('鏃犳硶鍒涘缓锛佸凡鏈夋湭鏈�缁堟壒鍑嗙殑鏁版嵁','error');
@@ -54,7 +54,7 @@
},
state:{
defaultFieldValues:defaultFieldValues,
- recordTypeId:result.RecordTypeId
+ recordTypeId:result.recordTypeId
}
});
}
--
Gitblit v1.9.1