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 {