19626
2023-05-24 e6a0a7f9ffb463c5ce78d6770b09eac739f88b15
force-app/main/default/lwc/lexOPDtoSIS/lexOPDtoSIS.js
@@ -4,7 +4,7 @@
 * @Author: chen jing wu
 * @Date: 2023-04-07 09:02:03
 * @LastEditors: chen jing wu
 * @LastEditTime: 2023-04-11 09:10:06
 * @LastEditTime: 2023-04-11 11:27:14
 */
import { api, wire,LightningElement } from 'lwc';
import { CurrentPageReference } from "lightning/navigation";
@@ -55,8 +55,6 @@
        }).catch(error => {
            console.log("error");
            console.log(error);
        }).finally(() => {
        });
    }
@@ -79,9 +77,13 @@
            updateForOPDtoSISButton({
                recordId: this.recordId
            }).then(result =>{
                this.updateRecordView(this.recordId);
                this.showToast("成功!","success");
                this.IsLoading = false;
                if(result){
                    this.showToast(result,"error");
                }else{
                    this.updateRecordView(this.recordId);
                    this.showToast("成功!","success");
                    this.IsLoading = false;
                }
                this.dispatchEvent(new CloseActionScreenEvent());
                });
            } else {