Commit b38f57eb authored by 陆正友's avatar 陆正友

资管费用

parent 9f42f424
var add_datafilters=[
{
name:'asset_number',
expression:"(t1.asset_number=${/parameter/@asset_number})"
}
{
name:'contract_number',
expression:"(t1.contract_number=${/parameter/@contract_number})"
}
{
name:'bp_name',
expression:"(t1.bp_name=${/parameter/@bp_name})"
}
{
name:'asset_number',
expression:"(t1.agent_name =${/parameter/@agent_name })"
}
];
add_datafilter();
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" dynamiccreateenabled="true" trace="true">
<a:view>
<script><![CDATA[
]]></script>
<a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
</a:view>
</a:screen>
......@@ -10,6 +10,8 @@
url="${/request/@context_path}/modules/acp/ACP522/ap_invoice_import_detail_wfl.lview"/>
<a:link id="ap_invoice_import_scanning_link"
url="${/request/@context_path}/modules/acp/ACP522/ap_invoice_import_scanning.lview"/>
<a:link id="ap_invoice_detail_link"
url="${/request/@context_path}/modules/acp/ACP522/ap_invoice_detail.lview"/>
<script><![CDATA[
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function () {
var url = $('ap_invoice_import_scanning_link').getUrl();
......@@ -30,6 +32,9 @@
if(name == 'contract_number'){
return '<a href="javascript:ap_invoice_import_detail(\'' + record.id + '\',\'' + record.ds.id + '\');">' + value + '</a>';
}
if (name == 'items') {
return '<a href="javascript:ap_invoice_detail(\'' + record.id + '\',\'' + record.ds.id + '\',\'' +record.get('payment_req_id') + '\');">' + value + '</a>';
}
};
function ap_invoice_import_detail(record_id,ds_id){
......@@ -48,6 +53,17 @@
hls_doc_get_layout_code('hn9040_project_get_layout_code_link_id', param, 'ap_invoice_import_detail_link', ds_id,'AP_INVOICE_IMPORT_DETAIL');
}
function ap_invoice_detail(record_id, ds_id,payment_req_id) {
debugger;
var record = $(ds_id).findById(record_id);
var param = record.data;
param['function_usage'] = 'QUERY';
param['function_code'] = 'ACP522_DETAIL';
param['payment_req_id'] = payment_req_id;
param['url_title'] = '进项发票详情';
hls_doc_get_layout_code('hn9040_project_get_layout_code_link_id',param,'ap_invoice_detail_link', ds_id,'AP_INVOICE_DETAILS');
}
......
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