Commit 6f14c6ba authored by lizhe's avatar lizhe

提前结清和解约回购提前结清才显示高亮

parent aa5462e3
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
</bm:features> </bm:features>
<bm:query-fields> <bm:query-fields>
<bm:query-field field="merge_parent_flag" queryOperator="="/> <bm:query-field field="merge_parent_flag" queryOperator="="/>
<bm:query-field name="contract_number" queryExpression="exists (select 1 from HLS_JOURNAL_DETAIL_LV hl where hl.journal_header_id = t1.journal_header_id and hl.reference3 like &apos;%&apos;||${@contract_number}||&apos;%&apos;)"/> <bm:query-field name="contract_number" queryExpression="exists (select 1 from HLS_JOURNAL_DETAIL_LV hl where hl.journal_header_id = t1.journal_header_id and hl.reference3 like ${@contract_number})"/>
<bm:query-field field="journal_num" queryOperator="like"/> <bm:query-field field="journal_num" queryOperator="like"/>
<bm:query-field name="journal_date_from" queryExpression="t1.journal_date &gt;= to_date(${@journal_date_from},'yyyy-mm-dd')"/> <bm:query-field name="journal_date_from" queryExpression="t1.journal_date &gt;= to_date(${@journal_date_from},'yyyy-mm-dd')"/>
<bm:query-field name="journal_date_to" queryExpression="t1.journal_date &lt;= to_date(${@journal_date_to},'yyyy-mm-dd')"/> <bm:query-field name="journal_date_to" queryExpression="t1.journal_date &lt;= to_date(${@journal_date_to},'yyyy-mm-dd')"/>
......
...@@ -452,34 +452,50 @@ ...@@ -452,34 +452,50 @@
debugger; debugger;
var ds_id_req = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract_change_req'); var ds_id_req = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_contract_change_req');
if (ds_id_req == ds.id && ds_id_req) { if (ds_id_req == ds.id && ds_id_req) {
if (record.get('ccr_penalty') != record.get('penalty')) { if(record.get('document_type')=='REPUR_CHAG'|| record.get('document_type')=='ET_CHAG'){
var req_change_id_1 = document.getElementById('${/parameter/@layout_code}_F_QUOTATION_01_CON_CONTRACT_CHANGE_REQ_CCR_PENALTY'); if (record.get('ccr_penalty') != record.get('penalty')) {
var req_change_input_1 = req_change_id_1.getElementsByTagName('input'); var req_change_id_1 = document.getElementById('${/parameter/@layout_code}_F_QUOTATION_01_CON_CONTRACT_CHANGE_REQ_CCR_PENALTY');
req_change_input_1[0].style.setProperty('background-color', '#FF9965', 'important'); var req_change_input_1 = req_change_id_1.getElementsByTagName('input');
} req_change_input_1[0].style.setProperty('background-color', '#FF9965', 'important');
; }
//调整后资金占用费 ;
if (record.get('fund_possession_cost') != record.get('ccr_fund_possession_cost')) { //调整后资金占用费
var req_change_id_2 = document.getElementById('${/parameter/@layout_code}_F_QUOTATION_01_CON_CONTRACT_CHANGE_REQ_FUND_POSSESSION_COST'); if (record.get('fund_possession_cost') != record.get('ccr_fund_possession_cost')) {
var req_change_input_2 = req_change_id_2.getElementsByTagName('input'); var req_change_id_2 = document.getElementById('${/parameter/@layout_code}_F_QUOTATION_01_CON_CONTRACT_CHANGE_REQ_FUND_POSSESSION_COST');
req_change_input_2[0].style.setProperty('background-color', '#FF9965', 'important'); var req_change_input_2 = req_change_id_2.getElementsByTagName('input');
} req_change_input_2[0].style.setProperty('background-color', '#FF9965', 'important');
; }
//调整后提前结清手续费 ;
var et_fee = record.get('et_fee'); //调整后提前结清手续费
if (et_fee != 500 && typeof (et_fee) != 'undefined') { var et_fee = record.get('et_fee');
var req_change_id_3 = document.getElementById('${/parameter/@layout_code}_F_QUOTATION_01_CON_CONTRACT_CHANGE_REQ_ET_FEE'); if (et_fee != 500 && typeof (et_fee) != 'undefined') {
var req_change_input_3 = req_change_id_3.getElementsByTagName('input'); var req_change_id_3 = document.getElementById('${/parameter/@layout_code}_F_QUOTATION_01_CON_CONTRACT_CHANGE_REQ_ET_FEE');
req_change_input_3[0].style.setProperty('background-color', '#FF9965', 'important'); var req_change_input_3 = req_change_id_3.getElementsByTagName('input');
req_change_input_3[0].style.setProperty('background-color', '#FF9965', 'important');
}
;
//调整后留购价
var residual_value = record.get('residual_value');
var ccr_residual_value = record.get('ccr_residual_value');
var amount_250 = record.get('amount_250');
if (amount_250 == 0){
if (residual_value != ccr_residual_value && typeof (residual_value) != 'undefined') {
var req_change_id_4 = document.getElementById('${/parameter/@layout_code}_F_QUOTATION_01_CON_CONTRACT_CHANGE_REQ_RESIDUAL_VALUE');
var req_change_input_4 = req_change_id_4.getElementsByTagName('input');
req_change_input_4[0].style.setProperty('background-color', '#FF9965', 'important');
}
}
if(amount_250 != 0){
if (residual_value != 0 && typeof (residual_value) != 'undefined') {
var req_change_id_4 = document.getElementById('${/parameter/@layout_code}_F_QUOTATION_01_CON_CONTRACT_CHANGE_REQ_RESIDUAL_VALUE');
var req_change_input_4 = req_change_id_4.getElementsByTagName('input');
req_change_input_4[0].style.setProperty('background-color', '#FF9965', 'important');
}
}
} }
;
//调整后留购价
var residual_value = record.get('residual_value')
if (residual_value != 0 && typeof (residual_value) != 'undefined') {
var req_change_id_4 = document.getElementById('${/parameter/@layout_code}_F_QUOTATION_01_CON_CONTRACT_CHANGE_REQ_RESIDUAL_VALUE');
var req_change_input_4 = req_change_id_4.getElementsByTagName('input');
req_change_input_4[0].style.setProperty('background-color', '#FF9965', 'important');
};
} }
}; };
......
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