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