From 398bc268a5c64bf8b2fbca09d88f0efc02a23992 Mon Sep 17 00:00:00 2001 From: liuxy Date: Thu, 7 Jul 2022 09:16:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=B2=89=E4=BD=9C=E4=B8=9A=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/wms/pf/flourwork/ShowWorkDialog.vue | 337 ++++++++++++++++++ mes/qd/src/views/wms/pf/flourwork/index.vue | 18 +- 2 files changed, 351 insertions(+), 4 deletions(-) create mode 100644 mes/qd/src/views/wms/pf/flourwork/ShowWorkDialog.vue diff --git a/mes/qd/src/views/wms/pf/flourwork/ShowWorkDialog.vue b/mes/qd/src/views/wms/pf/flourwork/ShowWorkDialog.vue new file mode 100644 index 00000000..97386b3a --- /dev/null +++ b/mes/qd/src/views/wms/pf/flourwork/ShowWorkDialog.vue @@ -0,0 +1,337 @@ + + + + + diff --git a/mes/qd/src/views/wms/pf/flourwork/index.vue b/mes/qd/src/views/wms/pf/flourwork/index.vue index e9a2dae1..4507d327 100644 --- a/mes/qd/src/views/wms/pf/flourwork/index.vue +++ b/mes/qd/src/views/wms/pf/flourwork/index.vue @@ -110,7 +110,11 @@ - + + + @@ -134,6 +138,7 @@ + @@ -148,13 +153,13 @@ import pagination from '@crud/Pagination' import DateRangePicker from '@/components/DateRangePicker' import WorkDialog from '@/views/wms/pf/flourwork/WorkDialog' import ExceptionDialog from '@/views/wms/pf/flourwork/ExceptionDialog' -import crudMaterialparameters from "@/api/wms/basedata/master/materialparameters"; - +import crudMaterialparameters from '@/api/wms/basedata/master/materialparameters' +import ShowWorkDialog from '@/views/wms/pf/flourwork/ShowWorkDialog' export default { name: 'Flourwork', dicts: ['product_series'], - components: { pagination, crudOperation, rrOperation, udOperation, DateRangePicker, WorkDialog, ExceptionDialog }, + components: { pagination, crudOperation, rrOperation, udOperation, DateRangePicker, WorkDialog, ExceptionDialog, ShowWorkDialog }, mixins: [presenter(), header(), crud()], cruds() { return CRUD({ @@ -180,6 +185,7 @@ export default { biz_date: new Date().format('yyyy-MM-dd'), openParam: null, openWorkDialog: false, + openShowWorkDialog: false, exceptionDialog: false, serieseList: [], deviceList: [], @@ -233,6 +239,10 @@ export default { this.openWorkDialog = true }) }, + openShowWork(index, row) { + this.openParam = row + this.openShowWorkDialog = true + }, exception() { this.exceptionDialog = true },