Commit b0eedfed authored by “lixuyan”'s avatar “lixuyan”

装配计划添加暂停状态

parent 1d580a87
...@@ -67,6 +67,9 @@ ...@@ -67,6 +67,9 @@
<div v-show="item.isException"> <div v-show="item.isException">
<span>例外放行</span> <span>例外放行</span>
</div> </div>
<div v-show="item.status === 'Paused'">
<span>暂停</span>
</div>
</div> </div>
</div> </div>
<div class="bottom-content"> <div class="bottom-content">
...@@ -220,21 +223,23 @@ export default { ...@@ -220,21 +223,23 @@ export default {
// }) // })
// return // return
// } // }
this.$router.push({ if (item.status !== 'Paused') {
path: '/dee-mes/taskExecution', this.$router.push({
query: { path: '/dee-mes/taskExecution',
id: item.id, query: {
title: this.$route.query.title + '执行', id: item.id,
showMenu: false, title: this.$route.query.title + '执行',
showTag: 'false', showMenu: false,
isOK: item.isOK, showTag: 'false',
backFlag: true isOK: item.isOK,
backFlag: true
// materNo: item.materNo, // materNo: item.materNo,
// airModelId: item.airModelId, // airModelId: item.airModelId,
// sortiesId: item.sortiesId, // sortiesId: item.sortiesId,
} }
}) })
this.$store.dispatch('app/closeSideBar', false) this.$store.dispatch('app/closeSideBar', false)
}
}, },
getTaskAcceptance() { getTaskAcceptance() {
const that = this const that = this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment