19626
2023-09-13 196df4d4bf1941546d349cadbf343655578ec280
force-app/main/default/lwc/lexOPDReport/lexOPDReport.js
@@ -37,9 +37,10 @@
    }
    showToast(msg,type) {
        const event = new ShowToastEvent({
            title: '',
            title: ' ',
            message: msg,
            variant: type
            variant: type,
            mode: 'sticky'
        });
        this.dispatchEvent(event);
        this.dispatchEvent(new CloseActionScreenEvent());
@@ -93,6 +94,7 @@
                Opportunity_Situation__c: '跟进询价',
                
            });
            console.log('defaultValues = ' + defaultValues);
            this[NavigationMixin.Navigate]({
                type: 'standard__objectPage',
                attributes: {
@@ -100,7 +102,7 @@
                    actionName: 'new'
                },
                state: {
                    nooverride: '1',
                    //nooverride: '1',
                    defaultFieldValues: defaultValues,
                    recordTypeId: this.recordTypeId
                }
@@ -118,6 +120,7 @@
            Report_OPDPlan__c: this.opdPlan,
            Hospital_Department__c: this.account
        });
        console.log('defaultValues = ' + defaultValues);
        this[NavigationMixin.Navigate]({
            type: 'standard__objectPage',
            attributes: {
@@ -125,7 +128,7 @@
                actionName: 'new'
            },
            state: {
                nooverride: '1',
                //nooverride: '1',
                defaultFieldValues: defaultValues,
                recordTypeId: this.recordTypeId
            }