Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
EcomWeb
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
feiyue.teng
2025-02-08 11:05:01 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3c1021c9b928e54027afd16c6b3fd26b4f4ca682
3c1021c9
1 parent
67ccfcea
申报数据编辑总净重出现浮点精度问题处理
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/editReportingData/index.vue
src/views/editReportingData/index.vue
View file @
3c1021c
...
...
@@ -913,8 +913,8 @@
totalNetWeight += Number(this.detailData[i].netWeight)
totalGoodsValue += Number(this.detailData[i].totalPrice)
}
this.formData.netWeight = totalNetWeight
this.formData.goodsValue = totalGoodsValue
this.formData.netWeight = totalNetWeight
.toFixed(5)
this.formData.goodsValue = totalGoodsValue
.toFixed(5)
},
deleteRow(row){
this.detailData = this.detailData.filter(item => item.gnum !=row.gnum).map((item, index) =>{
...
...
Please
register
or
login
to post a comment