|
@@ -210,6 +210,18 @@ const getOptions = () => {
|
|
|
item.str = `${item.supplierName}_${item.name}_${item.mobileNumber}`;
|
|
|
return item;
|
|
|
});
|
|
|
+ let arr3 = res.engineerInfo.allocatedList || [];
|
|
|
+ for (let i = 0; i < arr3.length; i++) {
|
|
|
+ let item = arr3[i];
|
|
|
+ let id = item.userId;
|
|
|
+ if (!options3.value.find((v) => v.userId == id)) {
|
|
|
+ options3.value.push({
|
|
|
+ str: `${item.supplierName}_${item.name}_${item.mobileNumber || ''}`,
|
|
|
+ ...item,
|
|
|
+ disabled: true,
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
formData.allocationParams[0].userIdList = (
|
|
|
res.regionCoordinatorInfo.allocatedList || []
|
|
|
).map((item) => item.userId);
|