显示弹出窗口进行确认

Show popup to be confrim

在销售订单接受和拒绝中 button.when 我点击拒绝按钮,它会显示弹出窗口进行确认。我要么选择确定按钮拒绝,要么选择取消按钮保留该页面。(在工作流程中)

任何建议都很好,谢谢

查看 suitescript 文档。

if (confirm("Your alert message goes here")){
//positive action
}else{
//negative action
}