|
@@ -536,7 +536,7 @@ export default {
|
|
newTask[`userTaskName${key}`] = recordValues[i].userName;
|
|
newTask[`userTaskName${key}`] = recordValues[i].userName;
|
|
newTasks.push(newTask);
|
|
newTasks.push(newTask);
|
|
// 调用用户选择方法,映射到组件中
|
|
// 调用用户选择方法,映射到组件中
|
|
- this.handleUserChange(recordValues[i].userId, newTask, 0);
|
|
|
|
|
|
+ // this.handleUserChange(recordValues[i].userId, newTask, 0);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -677,6 +677,12 @@ export default {
|
|
// 零部件DVP 计划/验证审批
|
|
// 零部件DVP 计划/验证审批
|
|
if (this.inputArgs.approveType === '71') {
|
|
if (this.inputArgs.approveType === '71') {
|
|
userTask[v] = num === 1 ? this.materialsEngineerInfo.name : this.testEngineerInfo.name;
|
|
userTask[v] = num === 1 ? this.materialsEngineerInfo.name : this.testEngineerInfo.name;
|
|
|
|
+ this.userList.forEach(item => {
|
|
|
|
+ if (item.value === val) {
|
|
|
|
+ userTask[v] = item.name;
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ this.handleUserSearch(undefined);
|
|
} else {
|
|
} else {
|
|
this.userList.forEach(item => {
|
|
this.userList.forEach(item => {
|
|
if (item.value === val) {
|
|
if (item.value === val) {
|