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

指令号跳转

parent fc6d3095
......@@ -149,11 +149,45 @@ export default {
width: '70'
},
columns: [
{
title: '指令号',
key: 'extProcessPlan.serialNumber',
align: 'left',
minWidth: 330,
component: {
render: (h, params) => {
return h('div', [
h(
'span',
{
class: 'link-style',
on: {
click: () => {
this.$router.push({
path: '/dee-mes/taskExecution',
query: {
id: params.id,
title: '装配任务执行',
showMenu: false,
showTag: 'false',
isOK: 'false',
backFlag: true
}
})
this.$store.dispatch('app/closeSideBar', false)
}
}
},
params.extProcessPlan.serialNumber
)
])
}
}
},
{ title: '指令名称', key: 'extProcessPlan.name', align: 'left', minWidth: 280 },
{ title: '机型', key: 'extProcessPlan.planeType', align: 'left' },
{ title: '架次', key: 'extProcessPlan.sorties', align: 'left' },
{ title: '站位', key: 'extProcessPlan.positionNumber', align: 'left' },
{ title: '指令号', key: 'extProcessPlan.serialNumber', align: 'left' },
{ title: '指令名称', key: 'extProcessPlan.name', align: 'left' },
{ title: '工时定额', key: 'extProcessPlan.workHour', align: 'left' },
{ title: '计划员', key: 'planner.name', align: 'left' },
{ title: '工艺员', key: 'extProcessPlan.noteName', align: 'left' },
......
......@@ -205,11 +205,45 @@ export default {
width: '70'
},
columns: [
{
title: '指令号',
key: 'extProcessPlan.serialNumber',
align: 'left',
minWidth: 330,
component: {
render: (h, params) => {
return h('div', [
h(
'span',
{
class: 'link-style',
on: {
click: () => {
this.$router.push({
path: '/dee-mes/taskExecution',
query: {
id: params.id,
title: '装配任务执行',
showMenu: false,
showTag: 'false',
isOK: 'false',
backFlag: true
}
})
this.$store.dispatch('app/closeSideBar', false)
}
}
},
params.extProcessPlan.serialNumber
)
])
}
}
},
{ title: '指令名称', key: 'extProcessPlan.name', align: 'left', minWidth: 280 },
{ title: '机型', key: 'extProcessPlan.planeType', align: 'left' },
{ title: '架次', key: 'extProcessPlan.sorties', align: 'left' },
{ title: '站位', key: 'extProcessPlan.positionNumber', align: 'left' },
{ title: '指令号', key: 'extProcessPlan.serialNumber', align: 'left' },
{ title: '指令名称', key: 'extProcessPlan.name', align: 'left' },
{ title: '工时定额', key: 'extProcessPlan.workHour', align: 'left' },
{ title: '计划员', key: 'planner.name', align: 'left' },
{ title: '工艺员', key: 'extProcessPlan.noteName', align: 'left' },
......
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