|
|
@@ -371,7 +371,9 @@ const loadDeviceOptions = async (init = false) => {
|
|
|
raw: item,
|
|
|
}));
|
|
|
|
|
|
- form.value.deviceIds = deviceOptions.value.map((item) => item.value);
|
|
|
+ if (!init) {
|
|
|
+ form.value.deviceIds = deviceOptions.value.map((item) => item.value);
|
|
|
+ }
|
|
|
} finally {
|
|
|
deviceLoading.value = false;
|
|
|
}
|
|
|
@@ -561,7 +563,7 @@ defineExpose({
|
|
|
align="right"
|
|
|
placeholder="请选择施工设备"
|
|
|
:localdata="deviceOptions"
|
|
|
- placement="bottom"
|
|
|
+ placement="top"
|
|
|
hideRight
|
|
|
multiple
|
|
|
:disabled="isReadonly || deviceLoading"
|