From 2a839d0803c13ba8bf2a52766d18598494869d71 Mon Sep 17 00:00:00 2001 From: shijing Date: Thu, 20 Nov 2025 10:25:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=A6=85=E9=81=93177?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inm/mioitem_form.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/inm/mioitem_form.vue b/src/views/inm/mioitem_form.vue index 4e2583d7..0eb69e18 100644 --- a/src/views/inm/mioitem_form.vue +++ b/src/views/inm/mioitem_form.vue @@ -82,6 +82,7 @@ { if(res){ - arr = that.batchOptions.filter((item) => { + let arr = that.batchOptions.filter((item) => { return item.batch == res.batch&&item.state==res.state; }) if (arr.length > 0) { @@ -377,6 +379,9 @@ export default { that.form.count = Number(arr[0].count_canmio); that.form.warehouse = arr[0].warehouse; that.inputBatchDisable = true; + setTimeout(() => { + options.value = res.batch; + }, 200) }else{ that.selectBatch = ''; that.$message.error("批次号不存在");