From ec14dc5c20ab9f2fd6689b4713282f4fa6a6728d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Wed, 10 Sep 2025 14:21:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yieldReport/com_produce_report_normal.vue | 215 +++++++++--------- 1 file changed, 105 insertions(+), 110 deletions(-) diff --git a/src/views/modules/yieldReport/com_produce_report_normal.vue b/src/views/modules/yieldReport/com_produce_report_normal.vue index b98684d..85a475d 100644 --- a/src/views/modules/yieldReport/com_produce_report_normal.vue +++ b/src/views/modules/yieldReport/com_produce_report_normal.vue @@ -9,54 +9,54 @@ label-width="80px"> - + - + - + - + - + - + - + - + - + - + - + {{ labels.onlyCurrentRoll }} + v-model="scheduleData.currentRollFlag">仅显示当前卷信息
- {{ labels.rollButtons }} + 卷操作 @@ -64,38 +64,38 @@ {{ buttons.newRollButton }} + style="margin-left: 5px; margin-bottom: 5px;">创建新卷 {{ buttons.switchRoll }} + style="margin-left: 10px; margin-bottom: 5px;">切换卷 - {{ buttons.separateRoll }} + 创建分卷 - {{ buttons.finishRoll }} + 结束卷 - {{ buttons.mergeRoll }} + 合并卷 - {{ buttons.finishSchedule }} + 结单 @@ -103,10 +103,10 @@
- {{ labels.listDesc }} + 列表信息 - +
@@ -142,7 +142,7 @@
- + + label="操作"> - + + label="操作"> - + + label="操作"> - + - + + label="操作"> - + + label="操作"> @@ -435,37 +429,37 @@
- {{ buttons.refreshButton }} + 刷新 - {{ buttons.switchOperator }} + 切换用户
- {{ labels.produceButtons }} + 生产调机 - {{ buttons.startTuning }} + 开始调机 - {{ buttons.startProduce }} + 开始生产 - {{ buttons.sopView }} + SOP预览 @@ -474,32 +468,32 @@
- {{ labels.scanButtons }} + 过程控制 - {{ buttons.toolButton }} + 刀模上机 - {{ buttons.materialButton }} + 材料上机
- {{ labels.defectButtons }} + 过程不良 - {{ buttons.reportDefect }} + 报告不良 @@ -511,12 +505,12 @@
- {{ labels.downTimeButtons }} + 过程异常 - {{ buttons.downTime }} + 异常停机 @@ -524,7 +518,7 @@
- {{ buttons.otherOperation }} + 其他操作 @@ -537,26 +531,26 @@
- {{ buttons.preReport }} + 产量报告 - {{ buttons.deleteRoll }} + 删除卷 - {{ buttons.notProduce }} + 未生产下机拆卷 + + + 扫描卷 - - - - -
{{ labels.otherButtons }} + slot="reference">其他操作
@@ -570,17 +564,17 @@
- {{ labels.rollSplit }} + 创建分卷 - {{ labels.scannerMaterial }} + 扫描材料
- {{ labels.materialMalformed }} + slot="reference">材料异常处理 @@ -590,19 +584,19 @@
- {{ labels.qualityInspection }} + 质量检验 - {{ buttons.qualityInspection }} + 过程检验 - {{ buttons.mrb }} + MRB异常单 @@ -612,12 +606,12 @@
- {{ labels.tidBanding }} + TID绑定 - {{ buttons.tidBand }} + TID文件 @@ -3163,6 +3157,7 @@ export default { downTimeFlag: true, finishScheduleFlag: true, otherBunFlag: true, + materialMalformedFlag: true, malformedMaterialFlag: true, }, dataListLoading: false, @@ -3308,7 +3303,7 @@ export default { componentTitle: '机台工作台', orderNo: '订单号', partNo: '物料编码', - partDesc: '物料名称/规则', + partDesc: '物料名称/规格', seqNo: '派工单号', needDate: '要求完工日期', planStartDate: '刷新', @@ -3386,7 +3381,7 @@ export default { tableId: '*' }, { functionId: functionId, - languageValue: '物料名称/规则', + languageValue: '物料名称/规格', objectId: 'partDesc', objectType: 'label', tableId: '*' @@ -3821,7 +3816,7 @@ export default { const sums = []; columns.forEach((column, index) => { if (index === 1) { - sums[index] = this.labels.totalSum; + sums[index] = '合计: '; return; } if (index == 4) { @@ -3849,7 +3844,7 @@ export default { const sums = []; columns.forEach((column, index) => { if (index === 0) { - sums[index] = this.labels.sfdcRollSum; + sums[index] = '下机卷总数:'; return; } if (index == 14) { @@ -3875,13 +3870,13 @@ export default { // 删除卷 switchRollReverse() { if (this.currentRollOps.rollNo === '暂无卷号') { - this.$message.warning(this.labels.noneRollNo); + this.$message.warning('暂无卷号!'); this.popoverFlag = false return; } - this.$confirm(this.labels.sureDeleteRoll + this.currentRollOps.rollNo + this.labels.currentRollNo, '提示', { - confirmButtonText: this.labels.confirmLabel, - celButtonText: this.labels.cancelLabel, + this.$confirm('确定要删除' + this.currentRollOps.rollNo + '当前卷?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { //执行删除卷 @@ -4088,7 +4083,7 @@ export default { this.scheduleData.preItemNo = data.row.preItemNo; this.scheduleData.closedFlag = data.row.closedFlag; //设置弹窗的标题 - this.titleCon = this.labels.componentTitle + ' - ' + data.row.itemDesc + ' ' + this.titleCon = '机台工作台' + ' - ' + data.row.itemDesc + ' ' + data.row.resourceDesc + ' (' + this.operatorData.operatorName + ')'; }) //刷新页面的卷信息 @@ -4209,7 +4204,7 @@ export default { this.operatorData = JSON.parse(JSON.stringify(operatorData)); //切换当前账户的信息 //设置弹窗的标题 - this.titleCon = this.labels.componentTitle + ' - ' + this.scheduleData.workCenterDesc + ' ' + this.titleCon = '机台工作台' + ' - ' + this.scheduleData.workCenterDesc + ' ' + this.scheduleData.resourceDesc + ' (' + this.operatorData.operatorName + ')'; //刷新菜单 }, @@ -4225,7 +4220,7 @@ export default { this.operatorData.operatorName = ''; this.operatorData.showFlag = false; //刷新标题 - this.titleCon = this.labels.componentTitle + ' - ' + this.scheduleData.workCenterDesc + ' ' + this.titleCon = '机台工作台' + ' - ' + this.scheduleData.workCenterDesc + ' ' + this.scheduleData.resourceDesc + ' (' + this.operatorData.operatorName + ')'; }, @@ -4233,7 +4228,7 @@ export default { switchOperatorModal() { //首先判断是否选择好派工单 if (JSON.stringify(this.currentRow) == '{}') { - this.$message.error(this.labels.pleaseSelectSeqNo); + this.$message.error('请先选择派工单!'); return false; } //打开操作员切换功能 @@ -4248,9 +4243,9 @@ export default { //禁用当按钮 操作完成 恢复 this.buttonTags.createNewRollFlag = true; //提示操作 - this.$confirm(this.labels.sureCreateNewRoll, '提示', { - confirmButtonText: this.labels.confirmLabel, - celButtonText: this.labels.cancelLabel, + this.$confirm('确实要创建一个新卷吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { //执行创建新卷的操作 @@ -4326,7 +4321,7 @@ export default { //判断是否是暂无卷号 let currentRollNo = this.currentRollOps.rollNo; if (currentRollNo === '暂无卷号') { - this.$message.error(this.labels.noRollCantMerge); + this.$message.error('暂无卷号参与无法合并卷!'); return false; } //打开合并卷的页面 @@ -4483,9 +4478,9 @@ export default { /*提醒是否重新打开的提示*/ warnReopenSfdcRollsConfirm(sfdcRollRow) { - this.$confirm(this.labels.sureReopenSfdcRoll + sfdcRollRow.rollNo + this.labels.sureLabel, '提示', { - confirmButtonText: this.labels.confirmLabel, - celButtonText: this.labels.cancelLabel, + this.$confirm('确实要重新打开卷' + sfdcRollRow.rollNo + '吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { //执行重新打开sfdcRolls记录的操作 @@ -4514,9 +4509,9 @@ export default { /*提醒是否删除的提示*/ warnDeleteSfdcRollsConfirm(sfdcRollRow) { - this.$confirm(this.labels.sureDeleteCurrentRoll, '提示', { - confirmButtonText: this.labels.confirmLabel, - celButtonText: this.labels.cancelLabel, + this.$confirm('确实要删除该卷吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { //执行重新打开sfdcRolls记录的操作 @@ -4546,9 +4541,9 @@ export default { /*结束使用 工具确认功能*/ warnFinishToolConfirm(toolRow) { - this.$confirm(this.labels.sureEndThisToolUsed, '提示', { - confirmButtonText: this.labels.confirmLabel, - celButtonText: this.labels.cancelLabel, + this.$confirm('确实要结束该工具的使用吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { //执行结束使用工具的的操作 @@ -4578,9 +4573,9 @@ export default { /*结束使用 材料确认功能*/ warnFinishMaterialWithNoRemainderConfirm(materialRow) { - this.$confirm(this.labels.sureEndThisToolUsed, '提示', { - confirmButtonText: this.labels.confirmLabel, - celButtonText: this.labels.cancelLabel, + this.$confirm('确实要结束该材料的使用吗?', '提示', { + confirmButtonText: '确定', + cancelButtonText: '取消', type: 'warning' }).then(() => { //执行结束使用材料的的操作 @@ -4637,7 +4632,7 @@ export default { // TODO: 实现MRB异常单功能 }, - updateResultModal() { + updateResultModal() { this.$message.info('更换结果功能'); // TODO: 实现更换结果功能 },