From ffeac53e07214c29e1bfa0de59f148acfc153c74 Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 11 Mar 2025 17:15:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=96=87=E6=A1=88=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wpm_gx/mlog_form.vue | 12 ++++++++++++ src/views/wpm_gx/mlogb_form.vue | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/views/wpm_gx/mlog_form.vue b/src/views/wpm_gx/mlog_form.vue index d97c8339..df2754f0 100644 --- a/src/views/wpm_gx/mlog_form.vue +++ b/src/views/wpm_gx/mlog_form.vue @@ -311,6 +311,18 @@ export default { }, methods: { + //获取操作项 + gettestitem(){ + let that = this; + that.$API.qm.testitem.list.req({ process: that.process,type:20 }).then((res) => { + res.results.forEach((item) => { + let obj = {}; + Object.assign(obj, item); + obj.value = ''; + that.testitems.push(obj); + }) + }); + }, disabledDateFn(time) { return time.getTime() > new Date().getTime(); }, diff --git a/src/views/wpm_gx/mlogb_form.vue b/src/views/wpm_gx/mlogb_form.vue index d2700323..e4d53fc6 100644 --- a/src/views/wpm_gx/mlogb_form.vue +++ b/src/views/wpm_gx/mlogb_form.vue @@ -36,7 +36,7 @@ @@ -65,7 +65,7 @@ controls-position="right" /> - +