Commit 6b42dc0f authored by jingnan's avatar jingnan 👀

Merge branch 'dev' of http://94.191.100.41/tfmom/tf-mom-web into dev

parents a7c0ccda 944190d8
...@@ -253,10 +253,7 @@ export default { ...@@ -253,10 +253,7 @@ export default {
{ {
'fieldName': 'planState', 'fieldName': 'planState',
'operator': 'IN', 'operator': 'IN',
'value': [ 'value': this.$route.query.title === '装配任务' ? ['Delivery', 'Run', 'Paused'] : ['Delivery', 'Run']
'Delivery',
'Run'
]
} }
// { // {
// 'fieldName': 'prodTask.extProcessSkillUser.dxUserInfoId', // 'fieldName': 'prodTask.extProcessSkillUser.dxUserInfoId',
...@@ -343,9 +340,13 @@ export default { ...@@ -343,9 +340,13 @@ export default {
item.inspectPerson = [] item.inspectPerson = []
item.prodTask.forEach(element => { item.prodTask.forEach(element => {
if (element.subTypeName === 'CheckOut') { if (element.subTypeName === 'CheckOut') {
item.inspectPerson.push(element.extProcessSkillUser.dxUserInfo.name) if (element.extProcessSkillUser) {
item.inspectPerson.push(element.extProcessSkillUser.dxUserInfo.name)
}
} else if (element.subTypeName === 'FitOut') { } else if (element.subTypeName === 'FitOut') {
item.operatPerson.push(element.extProcessSkillUser.dxUserInfo.name) if (element.extProcessSkillUser) {
item.operatPerson.push(element.extProcessSkillUser.dxUserInfo.name)
}
} }
}) })
} }
......
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