uu
This commit is contained in:
parent
63f254cb88
commit
92d3d3b334
@ -175,7 +175,7 @@
|
|||||||
list.map(t=> {
|
list.map(t=> {
|
||||||
totalVolume += (+t.volume) || 0
|
totalVolume += (+t.volume) || 0
|
||||||
})
|
})
|
||||||
this.modelInfo.totalVolume = totalVolume.toFixed(5)
|
this.modelInfo.totalVolume = totalVolume.toFixed(4)
|
||||||
},
|
},
|
||||||
async calceOther() {
|
async calceOther() {
|
||||||
let { totalVolume, productType, billWeight } = this.modelInfo
|
let { totalVolume, productType, billWeight } = this.modelInfo
|
||||||
|
|||||||
@ -112,7 +112,7 @@
|
|||||||
volume = length/100 * width/100 * height/100 * cargoQty
|
volume = length/100 * width/100 * height/100 * cargoQty
|
||||||
}
|
}
|
||||||
if(volume && volume.toFixed) {
|
if(volume && volume.toFixed) {
|
||||||
volume = volume.toFixed(5)
|
volume = volume.toFixed(4)
|
||||||
this.modelInfo.volume = volume
|
this.modelInfo.volume = volume
|
||||||
} else {
|
} else {
|
||||||
this.modelInfo.volume = 0
|
this.modelInfo.volume = 0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user