From 45c60c7fe66430d2bca5a562cc0e75f768b236ca Mon Sep 17 00:00:00 2001 From: "[li_she]" <[li.she@xujiesoft.com]> Date: Fri, 20 May 2022 10:24:46 +0800 Subject: [PATCH] =?UTF-8?q?FQC=E6=A0=87=E7=AD=BE=E6=89=93=E5=8D=B0=202022-?= =?UTF-8?q?05-20=20sxm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/common/column.vue | 2 +- src/views/modules/common/com-roll-label.vue | 616 ++++++++++++++++++ .../otherReport/fqc_merge_roll.vue | 405 ++++++++++++ .../otherReport/fqc_produce_report_normal.vue | 19 +- 4 files changed, 1040 insertions(+), 2 deletions(-) create mode 100644 src/views/modules/common/com-roll-label.vue create mode 100644 src/views/modules/yieldReport/otherReport/fqc_merge_roll.vue diff --git a/src/views/modules/common/column.vue b/src/views/modules/common/column.vue index f55e101..414d3af 100644 --- a/src/views/modules/common/column.vue +++ b/src/views/modules/common/column.vue @@ -60,7 +60,7 @@ 确定 - 取消 + 取消 diff --git a/src/views/modules/common/com-roll-label.vue b/src/views/modules/common/com-roll-label.vue new file mode 100644 index 0000000..a924ec1 --- /dev/null +++ b/src/views/modules/common/com-roll-label.vue @@ -0,0 +1,616 @@ + + + + diff --git a/src/views/modules/yieldReport/otherReport/fqc_merge_roll.vue b/src/views/modules/yieldReport/otherReport/fqc_merge_roll.vue new file mode 100644 index 0000000..e01cb6e --- /dev/null +++ b/src/views/modules/yieldReport/otherReport/fqc_merge_roll.vue @@ -0,0 +1,405 @@ + + + + + diff --git a/src/views/modules/yieldReport/otherReport/fqc_produce_report_normal.vue b/src/views/modules/yieldReport/otherReport/fqc_produce_report_normal.vue index a683490..c18f70b 100644 --- a/src/views/modules/yieldReport/otherReport/fqc_produce_report_normal.vue +++ b/src/views/modules/yieldReport/otherReport/fqc_produce_report_normal.vue @@ -263,6 +263,9 @@ width="115" :label="'操作'"> @@ -474,12 +479,13 @@ import { checkSfdcDefect } from "@/api/yieldReport/produce_report_normal.js"; /*引入组件*/ +import comRollLabel from "../../common/com-roll-label";/*切换操作员*/ import comSwitchOperator from "../com_switch_operator";/*切换操作员*/ import otherSwitchRoll from "./other_switch_roll";/*切换卷操作*/ import comSeparateRoll from "../com_separate_roll"; import comFinishRoll from "../com_finish_roll";/*结束卷数的组件*/ import comFinishPartRoll from "../com_finish_part_roll";//产量报告的组件 -import comMergeRoll from "../com_merge_roll";/*合并卷的组件*/ +import comMergeRoll from "./fqc_merge_roll";/*合并卷的组件*/ import comStartTuning from "../com_start_tuning";/*开始调机组件*/ import comStartProduce from "../com_start_produce";/*开始生产组件*/ import comDefectRoll from "../com_defect_roll";/*报告不良品卷*/ @@ -2788,6 +2794,7 @@ export default { } }, components: { + comRollLabel,// 打印组件 comSwitchOperator,/*切换用户的组件*/ otherSwitchRoll,/*切换卷操作*/ comSeparateRoll,/*創建分卷组件*/ @@ -2810,6 +2817,12 @@ export default { notOverFinishRoll, /*未结生产订单下机*/ }, methods: { + // 卷标签打印 + rollPrintLabel(val){ + this.$nextTick(() => { + this.$refs.comRollLabel.init(val.rollNo) + }); + }, // 不良记录 sfdcDefectListSummaries(param){ const { columns, data } = param; @@ -3341,6 +3354,10 @@ export default { this.$message.error(data.msg); } else if (data.code == 200) { this.$message.success(data.msg) + // 打印 + this.$nextTick(() => { + this.$refs.comRollLabel.init(data.rollNos) + }); //刷新报工的页面 this.getSfdcRollList() }else {