Commit 3be652d8 authored by 15008242619's avatar 15008242619

退库单退库入库,工艺审核节点增加试飞中心工艺员

parent 8c49b7c1
......@@ -90,8 +90,8 @@ export default {
'items': [
{
'fieldName': 'source.name',
'operator': 'EQ',
'value': '工艺员'
'operator': 'IN',
'value': ['工艺员', '试飞工艺员']
}
],
'operator': 'AND'
......@@ -116,14 +116,30 @@ export default {
]
}
post('/DxGroupMemberLink/search', httpParams).then(res => {
const arr = []
const ids = []
res.items.content.forEach(item => {
if (ids.indexOf(item.target.id) === -1) {
ids.push(item.target.id)
arr.push({
value: item.target.id,
label: item.target.name + '/' + item.target.number
})
}
})
this.formData[0].data.forEach(item => {
item.key === 'userIds' && (item.component.options = res.items.content.map(row => {
if (item.key === 'userIds') {
item.component.options = arr
}
/**
item.key === 'userIds' && (item.component.options = arr.map(row => {
return {
value: row.target.id,
label: row.target.name + '/' + row.target.number
value: row.value,
label: row.label
}
}
))
*/
})
}).catch((err) => {
console.log(err)
......
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