diff --git a/src/views/wpm/mlog_hun.vue b/src/views/wpm/mlog_hun.vue index 6b4de710..39e79333 100644 --- a/src/views/wpm/mlog_hun.vue +++ b/src/views/wpm/mlog_hun.vue @@ -154,6 +154,7 @@ diff --git a/src/views/wpm/mlog_tui.vue b/src/views/wpm/mlog_tui.vue index 4d7bb3cd..f335439c 100644 --- a/src/views/wpm/mlog_tui.vue +++ b/src/views/wpm/mlog_tui.vue @@ -196,6 +196,7 @@ @@ -250,7 +251,7 @@ export default { }); }, tomio() { - this.$router.push({ name: "mio" }); + this.$router.push({ name: "halfgood_mio" }); }, async table_del(row) { this.$confirm(`确定删除吗?`, "提示", { diff --git a/src/views/wpm/worktask_form.vue b/src/views/wpm/worktask_form.vue index 682aa184..a4d6f3ab 100644 --- a/src/views/wpm/worktask_form.vue +++ b/src/views/wpm/worktask_form.vue @@ -16,7 +16,7 @@ label-width="80px" > - + - + - + - + - + - + - + { - this.shiftOptions = res; + this.$API.mtm.shift.list.req({ page: 0}).then((res) => { + this.shiftOptions = []; + if(this.activeType == "10车间"){ + res.forEach(item=>{ + if(item.rule=='两倒'){ + this.shiftOptions.push(item); + } + }) + }else{ + res.forEach(item=>{ + if(item.rule=='默认'){ + this.form.shift = item.id; + } + }) + } }); }, getUserList() { @@ -1364,7 +1378,6 @@ export default { //表单注入数据 setData(data) { Object.assign(this.form, data); - this.getRouteOptions(); if (this.activeType == "8车间") { if (this.form.handle_user.indexOf(",") > -1) { this.handle_user = this.form.handle_user.split(",");