Commit bfeef3e8 authored by 38823's avatar 38823

付款申请(资产管理费)审批通过的单据也要有付款请求书打印按钮

parent 5069c72d
......@@ -16,10 +16,15 @@
param['payment_req_id'] = record.get('payment_req_id');
param['bp_id'] = record.get('bp_id_agent_level1');
param['business_type'] = record.get('business_type');
param['approval_status'] = record.get('approval_status');
if (record.get('approval_status') == 'NEW' || record.get('approval_status') == 'RETURN' || record.get('approval_status') == 'REJECT') {
param['function_usage'] = 'UPDATE';
param['function_code'] = 'CSH501D_ASSET';
} else {
} else if(record.get('approval_status') == 'APPROVED'){
param['function_usage'] = 'QUERY';
param['function_code'] = 'CSH501D_ASSET';
param['download'] = 'Y';
} else{
param['function_usage'] = 'QUERY';
param['function_code'] = 'ASSET_SAVE';
param['download'] = 'Y';
......
......@@ -47,6 +47,17 @@
document.getElementById('${/parameter/@layout_code}_save').style.display = "none";
}
}
if('${/parameter/@approval_status}' == 'APPROVED'){
if(document.getElementById('${/parameter/@layout_code}_save')){
document.getElementById('${/parameter/@layout_code}_save').style.display = "none";
}
if(document.getElementById('${/parameter/@layout_code}_exit')){
document.getElementById('${/parameter/@layout_code}_exit').style.display = "none";
}
if(document.getElementById('${/parameter/@layout_code}_submit_approval')){
document.getElementById('${/parameter/@layout_code}_submit_approval').style.display = "none";
}
}
//进项发票信息
var first = document.getElementsByClassName("item-input-wrap");
......
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