去除传统资方校验

This commit is contained in:
ap007 2022-06-24 18:08:04 +08:00
parent 4e49195312
commit d1a6c724fa

View File

@ -67,13 +67,14 @@
// 如果通过则可以发起,如果暂时没有结果,则提示;如果审批失败,则按顺序转换资金方,然后重新发起业务申请后的另外一个资方的调用接口;
// 如果都失败最终转换为自有资金将corpus_source字段设为AP(在接口平台实现此功能);
//project_id返回的是project_no字段不是project_id
var checkParam = 'projectId='+id;
var checkResult = RunJavaMethod('com.ap.CorpusSourceCheck','corpusContractApplyCheck',checkParam);
if(checkResult!='S'){
alert(checkResult);
return;
if(businessType=='1'){
var checkParam = 'projectId='+id;
var checkResult = RunJavaMethod('com.ap.CorpusSourceCheck','corpusContractApplyCheck',checkParam);
if(checkResult!='S'){
alert(checkResult);
return;
}
}
if(flowno=="BContractApproveApply"&&"03" == customertype){
if(""== signType||null == signType||"undefined" == signType){
alert("请在产品中配置签约方式!!!");