uu
This commit is contained in:
parent
665be48c18
commit
f52783baf5
@ -172,7 +172,7 @@
|
|||||||
totalVolume += (+t.volume) || 0
|
totalVolume += (+t.volume) || 0
|
||||||
})
|
})
|
||||||
// 去除体积自动计算
|
// 去除体积自动计算
|
||||||
// this.modelInfo.totalVolume = totalVolume.toFixed(5)
|
// this.modelInfo.totalVolume = totalVolume.toFixed(4)
|
||||||
},
|
},
|
||||||
async calceOther() {
|
async calceOther() {
|
||||||
|
|
||||||
|
|||||||
@ -107,7 +107,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
|
||||||
|
|||||||
@ -82,7 +82,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() {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user