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 },