标签:
reCarryoverFunction:function(event,value){ waf.msgBox.showConfirm({ summaryMsg:"是否反结转", buttons:[ {text:"是" ,click: function(){ waf.doPost({ action:"reCarryOverAction", data:{id:ids,signs:signs}, success:function(data){ if(data.message){ waf.msgBox.showInfo(data.message); waf("#queryGrid").wafGrid("reloadGrid"); }else if(data.eerror){ waf.msgBox.showError(data.eerror); } } });? waf.msgBox.showConfirm({ title:”我的提示”, summaryMsg:”您确认要执行此操作吗?”, detailMsg:”详细信息:只要参数中不设置detailMsg,详细按钮会自动消失。”, buttonType:”ok-cancel”, buttonCallBack:[ function(){//该函数为确认按钮的回调函数 alert(“OK”); } , function(){//该函数为取消按钮的回调函数 alert(“cancel”); }] });
标签:
原文地址:http://www.cnblogs.com/suruozhong/p/5974739.html