Commit 21a9b0e3 authored by 25484's avatar 25484

[fix]商业伙伴维护开票信息修改

parent b748f031
...@@ -34,29 +34,37 @@ ...@@ -34,29 +34,37 @@
window['${/parameter/@layout_code}_user_button4_layout_dynamic_click'] = function () { window['${/parameter/@layout_code}_user_button4_layout_dynamic_click'] = function () {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'hls_bp_master'); var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],'hls_bp_master');
var data=$(ds_id).selected[0]; var data=$(ds_id).selected[0];
var invoice_bp_bank_account = data.get('invoice_bp_bank_account'); var bp_class = data.get('bp_class');
var invoice_title = data.get('invoice_title');
var invoice_bp_address_phone_num = data.get('invoice_bp_address_phone_num'); if(bp_class == 'NP'){
var phone =data.get('phone'); Leaf.showMessage('${l:PROMPT}', '${l:HLS.SELECT_RECORD}');
var taxpayer_type =data.get('taxpayer_type'); return false;
var invoice_bp_bank =data.get('invoice_bp_bank'); }else if(bp_class == 'ORG'){
var bp_id=data.get('bp_id'); var invoice_bp_bank_account = data.get('invoice_bp_bank_account');
new Leaf.Window({ var invoice_title = data.get('invoice_title');
id: 'hls_bp_master_billing', var invoice_bp_address_phone_num = data.get('invoice_bp_address_phone_num');
url: $('hls_bp_master_billing_link').getUrl(), var phone =data.get('phone');
params: { var taxpayer_type =data.get('taxpayer_type');
function_code:'HLS214NS', var invoice_bp_bank =data.get('invoice_bp_bank');
invoice_bp_bank_account:invoice_bp_bank_account, var bp_id=data.get('bp_id');
invoice_title:invoice_title, new Leaf.Window({
invoice_bp_address_phone_num:invoice_bp_address_phone_num, id: 'hls_bp_master_billing',
phone:phone, url: $('hls_bp_master_billing_link').getUrl(),
taxpayer_type:taxpayer_type, params: {
invoice_bp_bank:invoice_bp_bank, function_code:'HLS214NS',
bp_id:bp_id invoice_bp_bank_account:invoice_bp_bank_account,
}, invoice_title:invoice_title,
title: '开票信息', invoice_bp_address_phone_num:invoice_bp_address_phone_num,
fullScreen: true phone:phone,
}); taxpayer_type:taxpayer_type,
invoice_bp_bank:invoice_bp_bank,
bp_id:bp_id
},
title: '开票信息',
fullScreen: true
});
}
} }
// stopDymanicAutoQuery('${/parameter/@layout_code}', 'G_BP_RESULT', 'hls_bp_master'); // stopDymanicAutoQuery('${/parameter/@layout_code}', 'G_BP_RESULT', 'hls_bp_master');
......
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