|
@@ -2747,10 +2747,14 @@ function getEngineeringHtml(engineeringList) {//
|
|
|
for(let tmp of engineering) {
|
|
|
engineeringObject[tmp.value] = tmp.name;
|
|
|
}
|
|
|
-
|
|
|
+ let engLibNames = [];
|
|
|
for(let i = 0; i < engineeringList.length; i++){
|
|
|
let tmp = engineeringList[i];
|
|
|
+ if(engLibNames.includes(tmp.lib.name)){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
result += `<option ${i === 0 ? 'selected' : ''} value="${tmp.lib.name}">${tmp.lib.name}</option>`;
|
|
|
+ engLibNames.push(tmp.lib.name);
|
|
|
}
|
|
|
return result;
|
|
|
}
|