Commit c6266292 authored by congzhao's avatar congzhao

[建机]电子合同开发 校验调整以及经办人授权文件开发

parent df85701d
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
var revokeFlows = result_ob.revokeFlows; var revokeFlows = result_ob.revokeFlows;
var all_revoke_flag = 'Y'; var all_revoke_flag = 'Y';
var error_message; var error_message;
var result;
for (var i = 0; i < revokeFlows.length; i++) { for (var i = 0; i < revokeFlows.length; i++) {
if(revokeFlows[i].result == 0){ if(revokeFlows[i].result == 0){
revoke_flag_update_bm.update({ revoke_flag_update_bm.update({
...@@ -70,6 +71,7 @@ ...@@ -70,6 +71,7 @@
}); });
}else{ }else{
all_revoke_flag = 'N'; all_revoke_flag = 'N';
result = revokeFlows[i].result;
error_message = revokeFlows[i].msg; error_message = revokeFlows[i].msg;
} }
} }
...@@ -77,10 +79,14 @@ ...@@ -77,10 +79,14 @@
sign_cancel_bm.execute({ sign_cancel_bm.execute({
contract_id:$ctx.parameter.contract_id contract_id:$ctx.parameter.contract_id
}); });
}else{
if(result = '1437111'){
$ctx.parameter.message = '签约已完毕,不可取消';
}else{ }else{
$ctx.parameter.message = error_message; $ctx.parameter.message = error_message;
} }
} }
}
]]></s:server-script> ]]></s:server-script>
</a:init-procedure> </a:init-procedure>
<a:service-output output="/parameter"/> <a:service-output output="/parameter"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment