Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
34ec0760
Commit
34ec0760
authored
Nov 27, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复拆单页面数据精度问题
parent
49fef957
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
index.vue
src/views/ecw/order/splitApply/index.vue
+12
-1
No files found.
src/views/ecw/order/splitApply/index.vue
View file @
34ec0760
...
...
@@ -941,7 +941,7 @@ export default {
if
(
!
this
.
orderData
||
!
this
.
orderData
.
orderItemVOList
||
this
.
orderData
.
length
==
0
){
return
sums
}
var
orderSum
=
0
/*
var orderSum = 0
var orderV = 0
var orderW = 0
var leviteSum = 0
...
...
@@ -956,6 +956,17 @@ export default {
leviteW += column.warehouseInInfoVO?column.warehouseInInfoVO.weight:0
});
sums[1] = this.$t('下单统计')+' '+ orderSum+' '+this.$t('箱')+' '+ orderV.toFixed(2) +' m³ ' + orderW + ' kg ' + ' '+this.$t('入仓统计:')+ leviteSum+' '+this.$t('箱')+' '+ leviteV.toFixed(2) +' m³ ' + leviteW + ' kg'
*/
sums
[
1
]
=
[
this
.
$t
(
'
下单统计
'
),
this
.
orderData
.
costVO
?.
totalNum
+
'
'
+
this
.
$t
(
'
箱
'
),
this
.
orderData
.
costVO
?.
totalVolume
+
'
m³
'
,
this
.
orderData
.
costVO
?.
totalWeight
+
'
kg
'
,
this
.
$t
(
'
入仓统计:
'
),
this
.
orderData
.
sumNum
+
'
'
+
this
.
$t
(
'
箱
'
),
this
.
orderData
.
sumVolume
+
'
m³
'
,
this
.
orderData
.
sumWeight
+
'
kg
'
].
join
(
'
'
)
return
sums
;
},
...
...
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