yumenghui
2023-08-11 d533f39b6fa798e238810d17e928dee75d5b1af7
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
                            }
                        });
                    }