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 以强制重新渲染