Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hlcm
leaf-hlcm
Commits
fcea551c
Commit
fcea551c
authored
Nov 21, 2019
by
stone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【fix】修改小数点四舍五入的问题
parent
2fc63481
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
csh_payment_req_excel_report_static.lwm
...lasses/csh/CSH501/csh_payment_req_excel_report_static.lwm
+6
-5
csh_payment_req.lview
src/main/webapp/modules/csh/CSH501/csh_payment_req.lview
+1
-4
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH501/csh_payment_req_excel_report_static.lwm
View file @
fcea551c
...
...
@@ -9,12 +9,13 @@
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select *
select *
from ( select count(*) total_number,
sum(nvl(c.lease_item_amount, 0
)) sum_amount,
sum(nvl(v.amount_agent, 0
)) sum_amount_agent,
sum(nvl(v.amount_vender, 0
)) sum_amount_vender,
sum(nvl(v.other_payment2, 0
)) sum_other_payment,
TRIM(to_char(sum(nvl(c.lease_item_amount, 0)),'999,999,999,999.99'
)) sum_amount,
TRIM(to_char(sum(nvl(v.amount_agent, 0)),'999,999,999,999.99'
)) sum_amount_agent,
TRIM(to_char(sum(nvl(v.amount_vender, 0)),'999,999,999,999.99'
)) sum_amount_vender,
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
from csh_payment_req_ln v,con_contract c
WHERE v.ref_doc_id=c.contract_id
...
...
src/main/webapp/modules/csh/CSH501/csh_payment_req.lview
View file @
fcea551c
...
...
@@ -415,10 +415,7 @@
// var template_name = '1.xml';
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);
window.location.href = encodeURI(url);
window.location.href =url;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment