|
|
@@ -58,7 +58,7 @@
|
|
|
</template>
|
|
|
|
|
|
<template v-slot:code="{ row }">
|
|
|
- <el-link type="primary" :underline="false" @click="handelRouterTo(row)">
|
|
|
+ <el-link type="primary" :underline="false" @click="handelRouterTo('done', row)">
|
|
|
{{ row.code }}
|
|
|
</el-link>
|
|
|
</template>
|
|
|
@@ -175,7 +175,7 @@
|
|
|
v-if="way == 'todo'"
|
|
|
type="primary"
|
|
|
:underline="false"
|
|
|
- @click="handelRouterTo(row)"
|
|
|
+ @click="handelRouterTo('todo', row)"
|
|
|
>
|
|
|
报工
|
|
|
</el-link>
|
|
|
@@ -841,8 +841,8 @@
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
- handelRouterTo(row) {
|
|
|
- window.history.pushState(null, '', '/page-mes/produceOrder?isWt=true&way=' + this.way + '&item=' + JSON.stringify(row));
|
|
|
+ handelRouterTo(way, row) {
|
|
|
+ window.history.pushState(null, '', '/page-mes/produceOrder?isWt=true&way=' + way + '&item=' + JSON.stringify(row));
|
|
|
// this.$router.push(path);
|
|
|
},
|
|
|
//派单
|