diff --git a/pages/ProductManage/UpperShaftCut.vue b/pages/ProductManage/UpperShaftCut.vue index cacf9a3..ff6069c 100644 --- a/pages/ProductManage/UpperShaftCut.vue +++ b/pages/ProductManage/UpperShaftCut.vue @@ -134,13 +134,13 @@ return } try { - let txt1 = '' - this.options1.map(el => { - if (el.value === this.index1) { - txt1 = el.text + let txt3 = '' + this.options3.map(el => { + if (el.value === this.index3) { + txt3 = el.text } }) - let res = await cutUpShaft(this.index2, this.index3, txt1, this.upL, this.upR) + let res = await cutUpShaft(this.index2, txt3, this.index1, this.upL, this.upR) this.disabled = false uni.showToast({ title: res.message,