Commit 42056313 authored by lijingjing's avatar lijingjing

[fix] 报价单变量求解页面刷新

parent bec2c4e2
......@@ -1264,6 +1264,11 @@
calc_session_id: '${/parameter/@calc_session_id}'
},
success: function() {
if('${/parameter/@document_category}'=='PROJECT'){
$('PROJECT_CREATE_NP_G_CASHFLOW_NS_prj_quotation_ds').query();
}else if('${/parameter/@document_category}'=='CONTRACT'){
$('CONTRACT_CREATE_INC_G_CASHFLOW_1_con_contract_cashflow_ds').query();
}
open_after_save_execute();
},
......@@ -1280,14 +1285,17 @@
function hls_hls500_user_button2() {
flag = 'Y';
lock_calc_current_window();
Leaf.request({
url: $('hls_fin_calc_single_variable_manual_link_id').getUrl(),
para: {
calc_session_id: '${/parameter/@calc_session_id}'
},
success: function() {
if('${/parameter/@document_category}'=='PROJECT'){
$('PROJECT_CREATE_NP_G_CASHFLOW_NS_prj_quotation_ds').query();
}else if('${/parameter/@document_category}'=='CONTRACT'){
$('CONTRACT_CREATE_INC_G_CASHFLOW_1_con_contract_cashflow_ds').query();
}
open_after_save_execute();
},
failure: function() {
......
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