Commit 5cbdb4fe authored by xy's avatar xy

[建机]虚拟代理店-校验判断

parent d9459542
......@@ -115,6 +115,7 @@
function hls_hls500_save(nextStep, source_procedure) {
debugger;
var temp_head_records = $('hls_fin_calculator_hd_ds').getAll();
var is_constru_unit = '${/parameter/@is_constru_unit}' || 'N';
var H1,H54;
for (var i = 0; i < temp_head_records.length; i++) {
if (temp_head_records[i].get('column_code') == 'H1') {
......@@ -179,7 +180,7 @@
//}
if ((div((H16 + H97), (H99 + H102 - H16)).toFixed(2) * 1) < down_payment_rate_new) {
if ('${/parameter/@division}'==91){
if ('${/parameter/@division}'==91 && is_constru_unit != 'Y'){
Leaf.SideBar.show({
// msg:'首付款比例+首付款保证金比例之和不能低于' + down_payment_rate_new * 100 + '%</br>租赁期为一年及以内的,利率为6.75%,大于一年的7.3%</br>利率最低值不能低于4.75%',
msg:'首付款比例+首付款保证金比例之和不能低于' + down_payment_rate_new * 100 + '%',
......@@ -1685,7 +1686,7 @@
// return false;
//}
if ((div((H16 + H97), (H99 + H102 - H16)).toFixed(2) * 1) < down_payment_rate_new) {
if ('${/parameter/@division}'==91) {
if ('${/parameter/@division}'==91 && is_constru_unit != 'Y') {
Leaf.SideBar.show({
// msg:'首付款比例+首付款保证金比例之和不能低于' + down_payment_rate_new * 100 + '%</br>租赁期为一年及以内的,利率为6.75%,大于一年的7.3%</br>利率最低值不能低于4.75%',
msg:'首付款比例+首付款保证金比例之和不能低于' + down_payment_rate_new * 100 + '%',
......
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