Commit 93f36b6d authored by 陆正友's avatar 陆正友

sbo导入 导入前租赁时间的校验

parent 989037b7
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
p_header_id => ${@header_id}, p_header_id => ${@header_id},
p_company_id => ${/session/@company_id}, p_company_id => ${/session/@company_id},
p_count =>${@v_count}, p_count =>${@v_count},
p_final_count =>${@v_final_count},
p_template_type=>${@template_type} p_template_type=>${@template_type}
); );
END; END;
...@@ -17,6 +18,7 @@ ...@@ -17,6 +18,7 @@
<bm:parameter inputPath="/session/@user_id"/> <bm:parameter inputPath="/session/@user_id"/>
<bm:parameter inputPath="/session/@session_id"/> <bm:parameter inputPath="/session/@session_id"/>
<bm:parameter inputPath="/session/@template_type"/> <bm:parameter inputPath="/session/@template_type"/>
<bm:parameter name="v_final_count" dataType="java.lang.Long" input="false" output="true" outputPath="@v_final_count"/>
<bm:parameter name="v_count" dataType="java.lang.Long" input="false" output="true" outputPath="@v_count"/> <bm:parameter name="v_count" dataType="java.lang.Long" input="false" output="true" outputPath="@v_count"/>
</bm:parameters> </bm:parameters>
......
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
Leaf.showInfoMessage('成功','导入成功!',function(){ Leaf.showInfoMessage('成功','导入成功!',function(){
window.location.href = $('hls_journal_entrance_import_link').getUrl(); window.location.href = $('hls_journal_entrance_import_link').getUrl();
}); });
}else if (res.result.v_final_count>0){
Leaf.showInfoMessage('提示','贷款最终到期日为空,请检查!',function(){
window.location.href = $('hls_journal_entrance_import_link').getUrl();
});
}else{ }else{
Leaf.showInfoMessage('失败','导入失败!',function(){ Leaf.showInfoMessage('失败','导入失败!',function(){
window.location.href = $('hls_journal_entrance_import_link').getUrl(); window.location.href = $('hls_journal_entrance_import_link').getUrl();
......
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