liangxiaozhen
2023-08-11 af908216bb0012fe849e3b49b3039c7ba238f8f0
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
                                }
                            });
                        }