Commit fcea551c authored by stone's avatar stone

【fix】修改小数点四舍五入的问题

parent 2fc63481
...@@ -9,12 +9,13 @@ ...@@ -9,12 +9,13 @@
<bm:operations> <bm:operations>
<bm:operation name="query"> <bm:operation name="query">
<bm:query-sql><![CDATA[ <bm:query-sql><![CDATA[
select *
select *
from ( select count(*) total_number, from ( select count(*) total_number,
sum(nvl(c.lease_item_amount, 0)) sum_amount, TRIM(to_char(sum(nvl(c.lease_item_amount, 0)),'999,999,999,999.99')) sum_amount,
sum(nvl(v.amount_agent, 0)) sum_amount_agent, TRIM(to_char(sum(nvl(v.amount_agent, 0)),'999,999,999,999.99')) sum_amount_agent,
sum(nvl(v.amount_vender, 0)) sum_amount_vender, TRIM(to_char(sum(nvl(v.amount_vender, 0)),'999,999,999,999.99')) sum_amount_vender,
sum(nvl(v.other_payment2, 0)) sum_other_payment, TRIM(to_char(sum(nvl(v.other_payment2, 0)),'999,999,999,999.99')) sum_other_payment,
to_char(sysdate, 'yyyy') || '年' || to_char(sysdate, 'mm') || '月' purchase_date to_char(sysdate, 'yyyy') || '年' || to_char(sysdate, 'mm') || '月' purchase_date
from csh_payment_req_ln v,con_contract c from csh_payment_req_ln v,con_contract c
WHERE v.ref_doc_id=c.contract_id WHERE v.ref_doc_id=c.contract_id
......
...@@ -415,10 +415,7 @@ ...@@ -415,10 +415,7 @@
// var template_name = '1.xml'; // var template_name = '1.xml';
var file_name = '付款申请书.doc'; var file_name = '付款申请书.doc';
var url = $('cont811_con_sale_contract_info_print_link').getUrl() + '?template_name=' + template_name + '&payment_req_id=' + hd_record.get('payment_req_id') + '&file_name=' + encodeURI(file_name); var url = $('cont811_con_sale_contract_info_print_link').getUrl() + '?template_name=' + template_name + '&payment_req_id=' + hd_record.get('payment_req_id') + '&file_name=' + encodeURI(file_name);
window.location.href = encodeURI(url); window.location.href =url;
} }
......
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