This commit is contained in:
aihe 2024-09-03 14:12:49 +08:00
parent 665be48c18
commit f52783baf5
3 changed files with 3 additions and 3 deletions

View File

@ -172,7 +172,7 @@
totalVolume += (+t.volume) || 0
})
// 去除体积自动计算
// this.modelInfo.totalVolume = totalVolume.toFixed(5)
// this.modelInfo.totalVolume = totalVolume.toFixed(4)
},
async calceOther() {

View File

@ -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

View File

@ -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() {