uu
This commit is contained in:
parent
665be48c18
commit
f52783baf5
@ -172,7 +172,7 @@
|
||||
totalVolume += (+t.volume) || 0
|
||||
})
|
||||
// 去除体积自动计算
|
||||
// this.modelInfo.totalVolume = totalVolume.toFixed(5)
|
||||
// this.modelInfo.totalVolume = totalVolume.toFixed(4)
|
||||
},
|
||||
async calceOther() {
|
||||
|
||||
|
||||
@ -107,7 +107,7 @@
|
||||
volume = length/100 * width/100 * height/100 * cargoQty
|
||||
}
|
||||
if(volume && volume.toFixed) {
|
||||
volume = volume.toFixed(5)
|
||||
volume = volume.toFixed(4)
|
||||
this.modelInfo.volume = volume
|
||||
} else {
|
||||
this.modelInfo.volume = 0
|
||||
|
||||
@ -82,7 +82,7 @@
|
||||
list.map(t=> {
|
||||
totalVolume += (+t.volume) || 0
|
||||
})
|
||||
this.modelInfo.totalVolume = totalVolume.toFixed(5)
|
||||
this.modelInfo.totalVolume = totalVolume.toFixed(4)
|
||||
},
|
||||
async calceOther() {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user