From 460a69efeeba58df5c58c6f8d91b6bb8fa16d110 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 8 Sep 2025 08:53:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E7=8E=BB=E7=BA=A4=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E8=8E=B7=E5=8F=96=E7=8F=AD=E7=BB=84=E8=AE=BE?= =?UTF-8?q?=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_bx/mlog_form.vue | 3 ++- src/views/wpm_bx/mlog_form2.vue | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/wpm_bx/mlog_form.vue b/src/views/wpm_bx/mlog_form.vue index 4532f636..b9cf8c6d 100644 --- a/src/views/wpm_bx/mlog_form.vue +++ b/src/views/wpm_bx/mlog_form.vue @@ -343,9 +343,10 @@ export default { this.userOptions = res.results; }); }, + //获取班组设备 getEquipment() { let that = this; - this.$API.em.equipment.list.req({ page: 0, type: 10,mgroup:that.mgroup}).then((res) => { + this.$API.em.equipment.list.req({ page: 0, type: 10,belong_dept:that.dept}).then((res) => { res.forEach((item) => { let obj = {}; Object.assign(obj, item); diff --git a/src/views/wpm_bx/mlog_form2.vue b/src/views/wpm_bx/mlog_form2.vue index d02325ed..395ab7f1 100644 --- a/src/views/wpm_bx/mlog_form2.vue +++ b/src/views/wpm_bx/mlog_form2.vue @@ -270,10 +270,10 @@ export default { this.routeOriginOptions = res; }); }, - //获取拉丝设备 + //获取班组设备 getEquipment() { let that = this; - this.$API.em.equipment.list.req({ page: 0, type: 10,mgroup:that.mgroup}).then((res) => { + this.$API.em.equipment.list.req({ page: 0, type: 10,belong_dept:that.dept}).then((res) => { res.forEach((item) => { let obj = {}; Object.assign(obj, item);