19626
2023-07-12 fbd4bea7bd57b4d4a33cb9ed0ebc15d9bf6551c0
force-app/main/default/lwc/lexSpecSubmit/lexSpecSubmit.js
@@ -4,7 +4,7 @@
 * @Author: chen jing wu
 * @Date: 2023-06-06 15:41:32
 * @LastEditors: chen jing wu
 * @LastEditTime: 2023-06-06 16:40:51
 * @LastEditTime: 2023-07-07 10:35:35
 */
import { api, wire,LightningElement } from 'lwc';
import { CurrentPageReference } from "lightning/navigation";
@@ -69,10 +69,12 @@
        if((reason == '招标质疑'||reason == '取消招标') && (file == false)){
            this.showToast('请上传附件。','error');
            this.dispatchEvent(new CloseActionScreenEvent());
            return;
        }
        if(status != '草案中'&& status != '驳回'){
            this.showToast('当前状态无法提交审批。','error');
            this.dispatchEvent(new CloseActionScreenEvent());
            return;
        }
        this.handleConfirmClick('一旦提交此记录以待批准,根据您的设置您可能不再能够编辑此记录或将他从批准过程中调回。是否继续?');