From 9254d6cac7552176f18880bbdf9e6fb0d6eba2db Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Wed, 10 Sep 2025 12:53:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E7=A8=8B=E6=A3=80=E9=AA=8C=E5=BC=B9?= =?UTF-8?q?=E5=87=BA=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yieldReport/com_process_inspection.vue | 1458 +++++++++++++++++ .../yieldReport/com_produce_report_normal.vue | 237 ++- 2 files changed, 1639 insertions(+), 56 deletions(-) create mode 100644 src/views/modules/yieldReport/com_process_inspection.vue diff --git a/src/views/modules/yieldReport/com_process_inspection.vue b/src/views/modules/yieldReport/com_process_inspection.vue new file mode 100644 index 0000000..3c48bc3 --- /dev/null +++ b/src/views/modules/yieldReport/com_process_inspection.vue @@ -0,0 +1,1458 @@ + + + + + diff --git a/src/views/modules/yieldReport/com_produce_report_normal.vue b/src/views/modules/yieldReport/com_produce_report_normal.vue index b04ef3b..70386ef 100644 --- a/src/views/modules/yieldReport/com_produce_report_normal.vue +++ b/src/views/modules/yieldReport/com_produce_report_normal.vue @@ -5,7 +5,7 @@ - @@ -102,13 +102,49 @@ -
+
{{ labels.listDesc }} - + +
+ +
+ + + +
+ + +
+ + + +
+ + +
+ + + +
+
+
+ + +
+ + {{ buttons.refreshButton }} + + + {{ buttons.switchOperator }} + +
+
+ style="margin-left: 680px; width: 200px; height: 100px;"> {{ labels.produceButtons }} - - - {{ buttons.refreshButton }} - - - - - {{ buttons.switchOperator }} - - - + {{ buttons.startTuning }} - + + style="margin-left: 20px; margin-bottom: 5px;margin-top: 10px"> {{ buttons.startProduce }} - + + style="margin-left: 15px; margin-bottom: 5px;margin-top: 10px"> {{ buttons.sopView }}
- -
- {{ labels.defectButtons }} - - - - {{ buttons.reportDefect }} - - - - - - -
@@ -470,10 +491,26 @@
+ +
+ {{ labels.defectButtons }} + + + + {{ buttons.reportDefect }} + + + + + + +
+ style="margin-left: 680px; width: 200px; height: 80px;"> {{ labels.downTimeButtons }} @@ -486,7 +523,7 @@
+ style="margin-left: 680px; margin-bottom: 10px; width: 200px; height: 80px;"> {{ buttons.otherOperation }} @@ -549,6 +586,42 @@
+ + +
+ {{ labels.qualityInspection }} + + + + {{ buttons.qualityInspection }} + + + + + + {{ buttons.mrb }} + + + + +
+ + +
+ {{ labels.tidBanding }} + + + + {{ buttons.tidBand }} + + + +
@@ -662,6 +735,10 @@ + + + +
@@ -813,6 +890,7 @@ import comProduceDown from "./com_produce_down";/*停机组件*/ import comFinishSchedule from "./com_finish_schedule";/*结束派工单组件*/ import notOverFinishRoll from "./not_over_finish_roll";/*生产过程的停机组件*/ import ComMalformedMaterial from "./com_malformed_material";/*生产过程的停机组件*/ +import ComProcessInspection from "./com_process_inspection";/*过程检验组件*/ var functionId = 'C10000002'; export default { data() { @@ -823,6 +901,7 @@ export default { selectSfdcRollData: '',// 2022-11-17 showMalformedMaterialFlag: false,// 2022-11-17 malformedMaterialButtonFlag: true,// 2022-11-17 + showProcessInspectionFlag: false,// 过程检验弹窗显示状态 showDefault: false, popoverFlag: false, showNotOverFlag: false, @@ -849,7 +928,13 @@ export default { sopPageIndex: 1, // SOP预览分页当前页 sopPageSize: 20, // SOP预览分页大小 sopTotalPage: 0, // SOP预览总页数 - activeTable: 'sfdc_time', + activeTable: 'order_info', + orderInfo: { + technicalNotes: '', + customerRequirements: '', + orderNotes: '' + }, + orderInfoList: [], sfdcTimeList: [], orderToolList: [], sfdcToolList: [], @@ -3094,14 +3179,19 @@ export default { startProduce: '开始生产', sopView:'SOP预览', reportDefect: '报告不良', - toolButton: '刀模板', - materialButton: '材料', - downTime: '报告其他停机', + toolButton: '刀模上机', + materialButton: '材料上机', + downTime: '异常停机', otherOperation: '其他操作', preReport: '产量报告', deleteRoll: '删除卷', notProduce: '未生产下机拆卷', scannerRoll: '扫描卷', + qualityInspection: '过程检验', + updateSample: '更换样片', + mrb: 'MRB异常单', + updateResult: '更换结果', + tidBand: 'TID文件', }, buttonList: [ { @@ -3230,6 +3320,7 @@ export default { onlyCurrentRoll: '仅显示当前卷信息', rollButtons: '卷操作', listDesc: '列表信息', + orderInfo: '订单信息', timeList: '时间', toolList: '刀模板记录', materialList: '材料', @@ -3237,10 +3328,12 @@ export default { defectList: '不良记录', rollList: '机器下机卷', produceButtons: '生产调机', - defectButtons: '不良', - scanButtons: '扫描', - downTimeButtons: '停机', + defectButtons: '过程不良', + scanButtons: '过程控制', + downTimeButtons: '过程异常', otherButtons: '其他操作', + qualityInspection: '质量检验', + tidBanding: 'TID绑定', toolListReplace: '刀模替换', toolListFinish: '结束使用', materialListReplace: '换料', @@ -3621,6 +3714,7 @@ export default { comFinishSchedule,/*结束派工单的组件*/ notOverFinishRoll,/*异常下级报工*/ ComMalformedMaterial, // 材料一场,扫描 + ComProcessInspection,/*过程检验组件*/ }, methods: { // 删除不良 @@ -3860,6 +3954,15 @@ export default { //刷新列表数据 this.refreshCurrentTabTable(); }, + //获取订单信息列表 + getOrderInfoList() { + // 获取订单相关的备注信息 + this.orderInfo = { + technicalNotes: this.scheduleData.technicalNotes || '', + customerRequirements: this.scheduleData.customerRequirements || '', + orderNotes: this.scheduleData.orderNotes || '' + }; + }, //刷新派工单的时间的记录 async getSfdcTimeList() { await getSfdcTimeByCon(this.searchData).then(({data}) => { @@ -3923,7 +4026,9 @@ export default { } //区分不同的页签刷新不同的列表数据 - if (this.activeTable == 'sfdc_time') { + if (this.activeTable == 'order_info') { + this.getOrderInfoList(); + } else if (this.activeTable == 'sfdc_time') { await this.getSfdcTimeList(); } else if (this.activeTable == 'sfdc_tool') { this.getOrderToolList(); @@ -3954,7 +4059,7 @@ export default { this.sfdcDefectList = []; this.sfdcRollList = []; //设置table页签 - this.activeTable = 'sfdc_time'; + this.activeTable = 'order_info'; //刷新当前派工单的信息 this.refreshPageData(); // 操作权限 @@ -4517,6 +4622,26 @@ export default { }); }, + // 质量检验相关方法 + qualityInspectionModal() { + this.showProcessInspectionFlag = true; + }, + + updateSampleModal() { + this.$message.info('更换样片功能'); + // TODO: 实现更换样片功能 + }, + + mrbModal() { + this.$message.info('MRB异常单功能'); + // TODO: 实现MRB异常单功能 + }, + + updateResultModal() { + this.$message.info('更换结果功能'); + // TODO: 实现更换结果功能 + }, + // 保存 默认配置 列 async saveMultiLanguage() { // 保存页面 button label title 属性