From 9a4956ef5d1de42e66c9af67a57734cd1367d424 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Wed, 28 May 2025 17:45:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=B8=E7=AE=A1=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/SecondPhase/slitting/PaperBind.vue | 24 +++++++++++---------- pages/SecondPhase/slitting/StockingArea.vue | 20 ++++++++++++++++- utils/getData3.js | 12 +++++++---- utils/getData4.js | 1 + 4 files changed, 41 insertions(+), 16 deletions(-) create mode 100644 utils/getData4.js diff --git a/pages/SecondPhase/slitting/PaperBind.vue b/pages/SecondPhase/slitting/PaperBind.vue index 21dfa64..635b1b1 100644 --- a/pages/SecondPhase/slitting/PaperBind.vue +++ b/pages/SecondPhase/slitting/PaperBind.vue @@ -14,7 +14,7 @@ - 点位 + 管芯编码 @@ -27,11 +27,9 @@ - - 数量 - + 列数 - + @@ -44,8 +42,8 @@ - - + + @@ -67,7 +65,8 @@ val3: '', options1: [{value: '1', text: '1'}, {value: '2', text: '2'}, {value: '3', text: '3'}, {value: '4', text: '4'}, {value: '5', text: '5'}], index1: '', - val2: '', + options2: [{value: '1', text: '1'}, {value: '2', text: '2'}, {value: '3', text: '3'}, {value: '4', text: '4'}, {value: '5', text: '5'}], + index2: '', options: [], index: '', newoptions: [], @@ -91,6 +90,9 @@ selectChange1 (e) { this.index1 = e }, + selectChange2 (e) { + this.index2 = e + }, selectChange (e) { this.index = e }, @@ -117,12 +119,12 @@ }, async _operateIvt (type) { this.disabled = true - if (!this.val1 || !this.val2 || !this.index || !this.index1 || !this.val3) { + if (!this.val1 || !this.index || !this.index1 || !this.index2 || !this.val3) { this.disabled = false return } try { - let res = await operateIvt(type, this.val1, this.index1, this.val2, this.index, this.val3) + let res = await operateIvt(type, this.val1, this.index1, this.index2, this.index, this.val3) uni.showToast({ title: res.message, icon: 'none' @@ -135,9 +137,9 @@ clearUp () { this.val1 = '' this.val3 = '' - this.val2 = '' this.index = '' this.index1 = '' + this.index2 = '' } } } diff --git a/pages/SecondPhase/slitting/StockingArea.vue b/pages/SecondPhase/slitting/StockingArea.vue index 833e881..eaf08d5 100644 --- a/pages/SecondPhase/slitting/StockingArea.vue +++ b/pages/SecondPhase/slitting/StockingArea.vue @@ -26,6 +26,7 @@ + @@ -33,7 +34,7 @@