|
楼主 |
发表于 2014-2-10 08:32:37
|
显示全部楼层
ecoolper 发表于 2014-2-8 23:11
弹出窗体的“确定”按钮代码怎么写的,贴一下
这是选择场位的窗口确定的代码
//确定,实现落箱
selectPosition.trigger7Click = function(event){
if(confirm("确定落箱?")){
var p = justep.xbl("dataMain").getCurrentID(); // 场位号
//调用落箱action
var param = new justep.Request.ActionParam();
param.setString("fid",fid);
param.setString("position",p);
var response = justep.Request.sendBizRequest(
"/myDnroad/sczh/process/planManage/planManageProcess","inBoxConfirm","inBoxConfirm",param);
if(!justep.Request.isBizSuccess(response)){
throw new Error("调用Action失败");
}
}else{
return false;
}
justep.xbl('windowReceiver1').windowEnsure("b");//只是为了关闭弹出窗口,其实并不要返回值去
}; |
|