Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
Details
Activity
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
platform
hg-smart
Commits
a2f28482
Commit
a2f28482
authored
Sep 25, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.结算单明细累计结算工程量计算错误问题修复
parent
5ef8e4c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
HGCW008A.js
src/main/webapp/HG/CW/HGCW008A.js
+3
-1
HGCW008B.js
src/main/webapp/HG/CW/HGCW008B.js
+2
-0
No files found.
src/main/webapp/HG/CW/HGCW008A.js
View file @
a2f28482
...
...
@@ -426,6 +426,8 @@ function calcTotalPrice(e, type) {
let
totalPrice
=
isBlank
(
taxPoints
)
?
totalTaxPrice
:
totalTaxPrice
/
(
1
+
taxPoints
/
100
);
detail1Grid
.
setCellValue
(
item
,
'totalPrice'
,
parseFloat
(
totalPrice
));
detail1Grid
.
setCellValue
(
item
,
'thisEngineeringQuantity'
,
thisEngineeringQuantity
);
// 计算累计工程量
queryCumulativeEngineeringQuantity
(
item
);
}
else
{
// 工程量
var
thisEngineeringQuantity
=
parseFloat
(
item
.
thisEngineeringQuantity
)
||
0
;
...
...
@@ -437,7 +439,7 @@ function calcTotalPrice(e, type) {
let
totalPrice
=
isBlank
(
taxPoints
)
?
totalTaxPrice
:
totalTaxPrice
/
(
1
+
taxPoints
/
100
);
detail1Grid
.
setCellValue
(
item
,
'totalPrice'
,
parseFloat
(
totalPrice
));
detail1Grid
.
setCellValue
(
item
,
'totalTaxPrice'
,
parseFloat
(
totalTaxPrice
));
// 累计工程量
//
计算
累计工程量
if
(
type
==
2
)
{
queryCumulativeEngineeringQuantity
(
item
);
}
...
...
src/main/webapp/HG/CW/HGCW008B.js
View file @
a2f28482
...
...
@@ -347,6 +347,8 @@ function calcTotalPrice(e, type) {
let
totalPrice
=
isBlank
(
taxPoints
)
?
totalTaxPrice
:
totalTaxPrice
/
(
1
+
taxPoints
/
100
);
detail1Grid
.
setCellValue
(
item
,
'totalPrice'
,
parseFloat
(
totalPrice
));
detail1Grid
.
setCellValue
(
item
,
'thisEngineeringQuantity'
,
thisEngineeringQuantity
);
// 计算累计工程量
queryCumulativeEngineeringQuantity
(
item
);
}
else
{
// 工程量
var
thisEngineeringQuantity
=
parseFloat
(
item
.
thisEngineeringQuantity
)
||
0
;
...
...
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