From daf45c68386df20851bac63c26c8f72da815d2d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=93=E8=B1=86=E8=B1=86?= <3346088772@qq.comcd> Date: Fri, 12 Jan 2024 14:23:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=87=BA=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mes/pro/proroute/routeprocess.vue | 120 +++++++++++++------- 1 file changed, 77 insertions(+), 43 deletions(-) diff --git a/src/views/mes/pro/proroute/routeprocess.vue b/src/views/mes/pro/proroute/routeprocess.vue index fa82b0d..9951e3d 100644 --- a/src/views/mes/pro/proroute/routeprocess.vue +++ b/src/views/mes/pro/proroute/routeprocess.vue @@ -191,11 +191,11 @@
- F-to-S:当前工序结束生产,下一道工序才可开始生产
- S-to-F:当前工序开始生产,下一道工序才可结束生产
- F-to-F:当前工序结束生产,下一道工序才可结束生产
- S-to-S:当前工序开始生产,下一道工序才可开始生产
-
+
F-to-S:当前工序结束生产,下一道工序才可开始生产
+
S-to-F:当前工序开始生产,下一道工序才可结束生产
+
F-to-F:当前工序结束生产,下一道工序才可结束生产
+
S-to-S:当前工序开始生产,下一道工序才可开始生产
+
- 是:整个工单的生产进度将根据当前工序的生产报工数量进行更新
- 每个工艺流程只能有一个关键工序 -
+
+ 是:整个工单的生产进度将根据当前工序的生产报工数量进行更新 +
+
每个工艺流程只能有一个关键工序
+
- 是:当前工序报工时需要进行质检确认
- 质检合格数量作为最终生产数量 -
+
是:当前工序报工时需要进行质检确认
+
质检合格数量作为最终生产数量
+ + + + + + 出库 + 入库 + + + + @@ -348,7 +360,7 @@ - + { + this.form = response.data; + this.open = true; + this.title = "修改工艺组成"; + }); + if (row.machineryTypeId == null) { + this.TypeId = false; + this.Typefile = false; + } else { + if (row.machineryTypeId == 229) { + this.TypeId = true; + this.Typefile = false; + } else { + this.TypeId = false; + this.Typefile = true; } } var name = {}; @@ -694,18 +727,19 @@ export default { this.$set(name, "name", row.originalName); this.fileList.push(name); } - const recordId = row.recordId || this.ids; - getRouteprocess(recordId).then((response) => { - this.form = response.data; - this.open = true; - this.title = "修改工艺组成"; - }); }, /** 提交按钮 */ submitForm() { this.$refs["form"].validate((valid) => { if (valid) { if (this.form.recordId != null) { + if (this.form.machineryTypeId == 229) { + this.form.originalName = ""; + this.form.url = ""; + } else { + this.form.lineId = ""; + this.form.pointId = ""; + } updateRouteprocess(this.form).then((response) => { this.$modal.msgSuccess("修改成功"); this.open = false;