零件工艺制定
This commit is contained in:
@@ -564,6 +564,7 @@ export default {
|
||||
return {
|
||||
Result1: '',
|
||||
Result2: '',
|
||||
Result3: '',
|
||||
Length: '',
|
||||
Width: '',
|
||||
height1: '',
|
||||
@@ -697,8 +698,10 @@ export default {
|
||||
} else {
|
||||
this.Result2 = Math.pow(parseInt(this.diameter) / 2, 2) * parseFloat(this.height2) * Math.PI
|
||||
this.Result2 = this.Result2.toFixed(2)
|
||||
console.log(this.Result2)
|
||||
console.log(Math.PI)
|
||||
this.Result3 = '直径:' + this.diameter + ' 高:' + this.height2 + ' 重量:' + this.Result2
|
||||
WeightCopy(this.partNumValue, this.Result3).then(response => {
|
||||
this.searchDetail()
|
||||
})
|
||||
}
|
||||
},
|
||||
clearDetail() {
|
||||
|
||||
Reference in New Issue
Block a user