Merge pull request 'fix : 分摊研发人员回显' (#480) from dd into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/480
This commit is contained in:
@@ -214,13 +214,14 @@ const showPersonnelPicker = (row, index) => {
|
|||||||
accountType: row.accountType,
|
accountType: row.accountType,
|
||||||
}
|
}
|
||||||
userList.value=[userObj]
|
userList.value=[userObj]
|
||||||
|
}else if(!row.researchPersonnel){
|
||||||
|
userList.value=[]
|
||||||
}
|
}
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
userPicker.value.showUserPicker()
|
userPicker.value.showUserPicker()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const selected = (select) => {
|
const selected = (select) => {
|
||||||
console.log('select',select)
|
|
||||||
if (!select || select.length === 0) {
|
if (!select || select.length === 0) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -232,7 +233,7 @@ const selected = (select) => {
|
|||||||
item.accountType = select[0].accountType
|
item.accountType = select[0].accountType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
// userList.value=select
|
userList.value=select
|
||||||
}
|
}
|
||||||
const getResearchOptions = async () => {
|
const getResearchOptions = async () => {
|
||||||
const res = await getResearchUser()
|
const res = await getResearchUser()
|
||||||
@@ -272,6 +273,8 @@ const handleCopy = (row) => {
|
|||||||
let copyObj = {
|
let copyObj = {
|
||||||
projectId: row.projectId,
|
projectId: row.projectId,
|
||||||
projectName: '',
|
projectName: '',
|
||||||
|
accountType: row.accountType,
|
||||||
|
companyName: row.companyName,
|
||||||
researchPersonnelId: row.researchPersonnelId,
|
researchPersonnelId: row.researchPersonnelId,
|
||||||
researchPersonnel: row.researchPersonnel,
|
researchPersonnel: row.researchPersonnel,
|
||||||
wagesPayable: row.wagesPayable,
|
wagesPayable: row.wagesPayable,
|
||||||
|
|||||||
Reference in New Issue
Block a user