jQuery().ready(function(){
WfForm.registerCheckEvent(WfForm.OPER_SUBMIT, function(callback){
var field20065V= WfForm.getFieldValue("field20065");
if(field20065V==1){
var line=WfForm.getDetailRowCount("detail_1");
var field20066V=parseInt(WfForm.getFieldValue("field20066"));
if((field20066V+line)>=3){
WfForm.showMessage("因私漏签并且当前流程漏签合计次数已达3次或3次以上,本次不可提交,请修改数据", 2, 10);
return;
}
}
callback(); //继续提交需调用callback,不调用代表阻断
});
})
11-29
05-28
12-16
851
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
07-25
101
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
02-10
1773
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-13
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交