Commit cf4edef5 authored by Spencer Chang's avatar Spencer Chang

[refactor] 去除调试debugger

parent c29f9edb
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
function contractQueryScreen_reset() { function contractQueryScreen_reset() {
$('contractQueryScreen_paraDs').reset(); $('contractQueryScreen_paraDs').reset();
} }
function open_change_req(value,record,name){debugger function open_change_req(value,record,name){
if(name=='change_req_number'){ if(name=='change_req_number'){
var req_status = record.get('req_status'); var req_status = record.get('req_status');
var change_req_id = record.get('change_req_id'); var change_req_id = record.get('change_req_id');
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
} }
return value; return value;
} }
function open_change_req_detail(change_req_id,contract_id) {debugger function open_change_req_detail(change_req_id,contract_id) {
var param = {}; var param = {};
param['change_req_id'] = change_req_id; param['change_req_id'] = change_req_id;
param['contract_id'] = change_req_id; param['contract_id'] = change_req_id;
......
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
// sum_overdue_amount+ccr_due_amount+sum_unreceived_principal+residual_value+repurchase_service_charges+fund_possession_cost // sum_overdue_amount+ccr_due_amount+sum_unreceived_principal+residual_value+repurchase_service_charges+fund_possession_cost
// 回购价款计算基数 = 逾期租金 + 逾期罚息(调整后)+ 剩余本金 + 留购价 // 回购价款计算基数 = 逾期租金 + 逾期罚息(调整后)+ 剩余本金 + 留购价
// 逾期罚息(调整后) // 逾期罚息(调整后)
if(name == 'payment_period'){debugger if(name == 'payment_period'){
if(value <= 0 || value == NaN || value == undefined){ if(value <= 0 || value == NaN || value == undefined){
Leaf.showMessage('${l:HLS.PROMPT}', '支付期数请填写大于0的整数!'); Leaf.showMessage('${l:HLS.PROMPT}', '支付期数请填写大于0的整数!');
return; return;
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
record.set('repurchase_count_amount', repurchase_count_amount); record.set('repurchase_count_amount', repurchase_count_amount);
} }
// 手续费 // 手续费
if (name == 'repurchase_service_charges') {debugger if (name == 'repurchase_service_charges') {
var repurchase_count_amount = plus(plus(plus(record.get('sum_overdue_amount') || 0, record.get('ccr_due_amount') || 0), record.get('sum_unreceived_principal') || 0) var repurchase_count_amount = plus(plus(plus(record.get('sum_overdue_amount') || 0, record.get('ccr_due_amount') || 0), record.get('sum_unreceived_principal') || 0)
, record.get('residual_value') || 0); , record.get('residual_value') || 0);
var repurchase_tatal_amount = plus(plus(repurchase_count_amount, value || 0), record.get('fund_possession_cost') || 0); var repurchase_tatal_amount = plus(plus(repurchase_count_amount, value || 0), record.get('fund_possession_cost') || 0);
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
record.set('repurchase_tatal_amount', repurchase_tatal_amount); record.set('repurchase_tatal_amount', repurchase_tatal_amount);
record.set('repurchase_count_amount', repurchase_count_amount); record.set('repurchase_count_amount', repurchase_count_amount);
} }
if(name == 'sum_unreceived_principal'){debugger if(name == 'sum_unreceived_principal'){
var repurchase_count_amount = plus(plus(plus(record.get('sum_overdue_amount') || 0, record.get('ccr_due_amount') || 0), value || 0) var repurchase_count_amount = plus(plus(plus(record.get('sum_overdue_amount') || 0, record.get('ccr_due_amount') || 0), value || 0)
, record.get('residual_value') || 0); , record.get('residual_value') || 0);
var repurchase_tatal_amount = plus(plus(repurchase_count_amount, record.get('repurchase_service_charges') || 0), record.get('fund_possession_cost') || 0); var repurchase_tatal_amount = plus(plus(repurchase_count_amount, record.get('repurchase_service_charges') || 0), record.get('fund_possession_cost') || 0);
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
contract_id: record.get('contract_id'), contract_id: record.get('contract_id'),
repurchase_date: value repurchase_date: value
}, },
success: function (res) {debugger success: function (res) {
record.set('last_rent_due_date', res.result.last_rent_due_date); record.set('last_rent_due_date', res.result.last_rent_due_date);
record.set('sum_received_rent_amount', res.result.sum_received_rent_amount); record.set('sum_received_rent_amount', res.result.sum_received_rent_amount);
record.set('sum_unreceived_rent_amount', res.result.sum_unreceived_rent_amount); record.set('sum_unreceived_rent_amount', res.result.sum_unreceived_rent_amount);
......
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