diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js index 91006e6..2fd07a6 100644 --- a/hb_client/src/router/index.js +++ b/hb_client/src/router/index.js @@ -179,6 +179,13 @@ export const asyncRoutes = [ meta: { title: '生产资源配置', icon: 'example', perms: ['pm_resources'] } } , + { + path: 'management', + name: 'management', + component: () => import('@/views/pm/management'), + meta: { title: '生产任务管理', icon: 'example', perms: ['pm_resources'] } + } + , { path: 'gantt', name: 'gantt', diff --git a/hb_client/src/views/pm/management.vue b/hb_client/src/views/pm/management.vue new file mode 100644 index 0000000..c14913d --- /dev/null +++ b/hb_client/src/views/pm/management.vue @@ -0,0 +1,207 @@ + + + + + diff --git a/hb_client/src/views/wpm/operationdo.vue b/hb_client/src/views/wpm/operationdo.vue index e5f1c5a..93b070a 100644 --- a/hb_client/src/views/wpm/operationdo.vue +++ b/hb_client/src/views/wpm/operationdo.vue @@ -501,6 +501,27 @@
工序工装
+ + + + + + + + + + + + + @@ -660,6 +681,7 @@ export default { wmaterialData: [], outputData: [], tprogressData: [], + tool:"", }; }, computed: {}, @@ -674,6 +696,7 @@ export default { this.getoutputLists(); //产出物料 this.getwmaterialList(); this.getprogressList(); //产出物料调出 + this. gettoolList();//工序工装 }, methods: { checkPermission, @@ -778,6 +801,18 @@ export default { }); this.dialogVisibleForm = true; }, + + //工序工装列表 + gettoolList() { + gettoolList({ operation: this.id, page: 0 }).then( + (response) => { + if (response.data) { + this.tool = response.data; + } + } + ); + }, + //提交表单内容 recordconfirm() { let _this = this; diff --git a/hb_client/src/views/wpm/worktask.vue b/hb_client/src/views/wpm/worktask.vue index 2de6677..22ed361 100644 --- a/hb_client/src/views/wpm/worktask.vue +++ b/hb_client/src/views/wpm/worktask.vue @@ -18,9 +18,7 @@ @current-change="handleCurrentChange" > - - - +