From 59d8c6f3dfc509bfc1c7f79b705006309b8f6b53 Mon Sep 17 00:00:00 2001 From: shijing Date: Tue, 24 Oct 2023 14:58:57 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=A3=80=E9=AA=8C?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/em/equipmentc.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/em/equipmentc.vue b/src/views/em/equipmentc.vue index 9fff45dd..a6aabd31 100644 --- a/src/views/em/equipmentc.vue +++ b/src/views/em/equipmentc.vue @@ -160,7 +160,7 @@ @closed="visibleRecord=false" > - + Date: Wed, 25 Oct 2023 10:27:10 +0800 Subject: [PATCH 2/6] =?UTF-8?q?6=E8=BD=A6=E9=97=B4=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/model/wpm.js | 8 ++ src/views/pm/mtask2.vue | 160 ++++++++++++++++++++++++--------- src/views/pm/mtask_form.vue | 42 +++------ src/views/wpm/flog_form.vue | 118 +++++++++++++----------- src/views/wpm/worktask.vue | 3 +- src/views/wpm/worktask2.vue | 38 +++++++- src/views/wpm/worktaskFlog.vue | 24 ++--- 7 files changed, 258 insertions(+), 135 deletions(-) diff --git a/src/api/model/wpm.js b/src/api/model/wpm.js index f570412e..02158cdb 100644 --- a/src/api/model/wpm.js +++ b/src/api/model/wpm.js @@ -187,6 +187,14 @@ export default { `${config.API_URL}/wpm/mlog/${id}/`); } }, + relatedFirst:{ + name: "获取相关任务的第一道工序日志", + req: async function(data){ + return await http.post( + `${config.API_URL}/wpm/mlog/related_first/`, + data); + } + } }, //车间库存 wmaterial: { diff --git a/src/views/pm/mtask2.vue b/src/views/pm/mtask2.vue index df9d332b..ed3e41ca 100644 --- a/src/views/pm/mtask2.vue +++ b/src/views/pm/mtask2.vue @@ -1,11 +1,11 @@