From f2231c9329155646d96bee22627bce214e5bd4af Mon Sep 17 00:00:00 2001 From: xiangxy Date: Fri, 9 Jan 2026 18:05:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E8=BD=BD=E5=85=B7=E5=A0=86=E5=8F=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/hdyy/kzj/kzj-duidie.vue | 2 +- pages/hdyy/kzj/kzj-outstore.vue | 21 ++++---------- pages/hdyy/scgl/lt-callmater.vue | 50 ++++++++++++-------------------- utils/getData3.js | 16 ++++++++-- 4 files changed, 38 insertions(+), 51 deletions(-) diff --git a/pages/hdyy/kzj/kzj-duidie.vue b/pages/hdyy/kzj/kzj-duidie.vue index 1ff3ea5..1fb4f21 100644 --- a/pages/hdyy/kzj/kzj-duidie.vue +++ b/pages/hdyy/kzj/kzj-duidie.vue @@ -1,7 +1,7 @@ @@ -58,9 +50,7 @@ return { title: '', val1: '', - num: null, - options: [], - index: '', + num: 1, options2: [{text: '原料区', value: 1}, {text: '辅料区', value: 2}, {text: '批料室', value: 3}, {text: '内包材区', value: 4}], index2: '', disabled: false @@ -85,19 +75,18 @@ }, toEmpty () { this.val1 = '' - this.index = '' this.index2 = '' - this.num = null + this.num = 1 this.disabled = false }, async _callEmptyVehicle () { this.disabled = true - if (!this.val1 || !this.index || !this.index2 || !this.num) { + if (!this.val1 || !this.index2 || !this.num) { this.disabled = false return } try { - let res = await callEmptyVehicle(this.index2, this.val1, this.index, this.num) + let res = await callEmptyVehicle(this.index2, this.val1, this.num) if (res) { uni.showToast({ title: res.message, diff --git a/pages/hdyy/scgl/lt-callmater.vue b/pages/hdyy/scgl/lt-callmater.vue index cbbf454..fd1defe 100644 --- a/pages/hdyy/scgl/lt-callmater.vue +++ b/pages/hdyy/scgl/lt-callmater.vue @@ -1,6 +1,6 @@ @@ -84,7 +84,7 @@