From 4e8250ba5456917870bec3f3fb64048df7a4526d Mon Sep 17 00:00:00 2001 From: leiqiaozhen Date: Thu, 22 May 2025 16:31:04 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=94=9F=E4=BA=A7=E6=97=A5=E6=8A=A5)?= =?UTF-8?q?=EF=BC=9A=201.=E7=94=9F=E4=BA=A7=E6=97=A5=E6=8A=A5=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E9=9C=80=E8=A6=81=E5=8A=A0=E5=9C=A8=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=94=B6=E5=8D=B7=E7=9A=84=E7=95=8C=E9=9D=A2=E4=B8=8A=EF=BC=9B?= =?UTF-8?q?=202.=E8=BF=87=E6=B8=A1=E8=86=9C=E4=BA=A7=E9=87=8F=EF=BC=9A?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=B8=BA=E8=BF=87=E6=B8=A1=E8=86=9C=E7=B1=B3?= =?UTF-8?q?=E6=95=B0=EF=BC=88m=EF=BC=89=203.=E5=86=B2=E5=87=BB=E6=96=99?= =?UTF-8?q?=EF=BC=9A=E8=B0=83=E6=95=B4=E4=B8=BA=E5=86=B2=E6=9C=BA=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mes/prd/product-daily-report/index.vue | 88 ++++++++++--------- .../mes/wip-nalinv/jm-auto-reeling/index.vue | 28 +++++- 2 files changed, 74 insertions(+), 42 deletions(-) diff --git a/src/views/mes/prd/product-daily-report/index.vue b/src/views/mes/prd/product-daily-report/index.vue index 780a48a..7bcb351 100644 --- a/src/views/mes/prd/product-daily-report/index.vue +++ b/src/views/mes/prd/product-daily-report/index.vue @@ -27,7 +27,7 @@ > - + - + - - - + + + + - + - - - - + + + + 搜索 保存 清空 + 导出 - - - - - + + + + - - - - - - - + + + + + + + - + - + - - + + - - + + - - - - - - - + + + + + + +
@@ -209,7 +209,7 @@ import {resrceDialogObj, shopOrderDialogObj} from "@/views/mes/prd/product-daily import moment from "moment/moment"; export default { - name: 'product-storag-request', + name: 'product-daily-report', mixins: [], components: {}, data() { @@ -254,13 +254,21 @@ export default { page: { total: 0, current: 1, - size: 20 + size: 10 }, } }, created() { // 初始化数据 this.form = Object.assign({}, this.initData); + // 获取跳转参数 + if (this.$route.query.resrce) { + this.form.resrce = this.$route.query.resrce + } + if (this.$route.query.shopOrder) { + console.log(this.$route.query.shopOrder) + this.form.shopOrder = this.$route.query.shopOrder + } this.getUserWorkShiftList(); }, @@ -430,7 +438,7 @@ export default { this.page = { total: 0, current: 1, - size: 20 + size: 10 }; this.$refs.productDailyReportData.clearSelection(); this.multipleSelection = []; diff --git a/src/views/mes/wip-nalinv/jm-auto-reeling/index.vue b/src/views/mes/wip-nalinv/jm-auto-reeling/index.vue index eaddad4..f3786ea 100755 --- a/src/views/mes/wip-nalinv/jm-auto-reeling/index.vue +++ b/src/views/mes/wip-nalinv/jm-auto-reeling/index.vue @@ -48,6 +48,19 @@
+ + +
+ +
+
收卷完成标签打印 手动创建检验任务 手动打印取样标签 + 生产日报
@@ -276,13 +290,13 @@ import {getByResourceHandle} from "@/api/mes/smd/work-center"; import FlowPanelManuallyCreated from '@/views/mes/qms/job-manually-created/index' import FlowPanelSamplingLabel from '@/views/mes/qms/print-sampling-label/index' import FlowPanelIntInDataLogReport from '@/views/mes/wip/int-in-data-log-report/index' - +import FlowPanelProductDaily from '@/views/mes/prd/product-daily-report/index' const uuid = require('uuid'); export default { name: 'jm-auto-reeling', mixins: [common], - components: {lotCompleteConfirm, agvReelingManualCall, agvRollOffLoading, FlowPanelManuallyCreated, FlowPanelSamplingLabel, FlowPanelIntInDataLogReport}, + components: {lotCompleteConfirm, agvReelingManualCall, agvRollOffLoading, FlowPanelManuallyCreated, FlowPanelSamplingLabel, FlowPanelIntInDataLogReport, FlowPanelProductDaily}, props: {}, data() { @@ -379,8 +393,10 @@ export default { filmItemGroupOption: '', manuallyCreatedVisible: false, samplingLabelVisible: false, + productDailyVisible: false, intInDataLogReportVisible: false, samplingLabelDialogKey: 1, + productDailyDialogKey: 1, manuallyCreatedDialogKey: 1, intInDataLogReportDialogKey: 1, } @@ -435,6 +451,14 @@ export default { this.samplingLabelDialogKey += 1; // 更新 key 以强制重新渲染 this.samplingLabelVisible = true; }, + // 生产日报 + doProductDaily() { + this.productDailyDialogKey += 1; // 更新 key 以强制重新渲染 + this.$router.push({ + query: { ...this.$route.query, shopOrder: this.formObj.shopOrder } + }); + this.productDailyVisible = true; + }, // 呼叫AGV日志报表 doIntInDataLogReport() { this.intInDataLogReportDialogKey += 1; // 更新 key 以强制重新渲染