diff --git a/src/config/route.js b/src/config/route.js index bcfdfb8b..55b58253 100644 --- a/src/config/route.js +++ b/src/config/route.js @@ -1410,6 +1410,17 @@ const routes = [ // }, // component: "wpm_gx/print", // }, + // { + // name: "printTest", + // path: "/wpm_gx/print", + // meta: { + // title: "打印测试", + // icon: "el-icon-files", + // perms: ["wpm_gx"], + // }, + // component: "setting/print/A4", + // }, + { name: "qiepian", path: "/wpm_gx/qiepian", @@ -1869,7 +1880,16 @@ const routes = [ }, component: "inm/mioitem", }, - + { + name: "workshop_mio", + path: "/inm/workshop_mio", + meta: { + title: "车间出入库记录", + perms: ["workshop_mio"], + // hidden: true, + }, + component: "inm/workshop_mio", + }, ], }, //采购 pum diff --git a/src/views/inm/workshop_mio.vue b/src/views/inm/workshop_mio.vue index 28a6456f..7201de0a 100644 --- a/src/views/inm/workshop_mio.vue +++ b/src/views/inm/workshop_mio.vue @@ -106,41 +106,6 @@ > 查看 - - 编辑 - - - 提交 - - - 删除 - - - 撤销 - @@ -219,7 +184,7 @@ export default { table_edit(row) { this.dialog.save = true; this.$nextTick(() => { - this.$refs.saveDialog.open("edit", type).setData(row); + this.$refs.saveDialog.open("edit", row.type).setData(row); }); }, //查看