This commit is contained in:
zlwu committed 2026-06-30 11:20:36 +08:00
1 parent 5b3edb1700
commit 74e5a0f0cf
30 files changed
+9036 -7974

No files matched your search

@@ -99,6 +99,7 @@
:key="item.id"
:label="item.name"
:value="item.id"
:disabled="isStorageSlotSelectOptionDisabled(item, formData.storageSlotId)"
/>
</el-select>
</el-form-item>
@@ -260,6 +261,9 @@
:key="item.id"
:label="item.name"
:value="item.id"
:disabled="
isStorageSlotSelectOptionDisabled(item, productLines[$index]?.storageSlotId)
"
/>
</el-select>
</template>
@@ -299,8 +303,10 @@
STORAGE_SLOT_REMOTE_SEARCH_DEBOUNCE_MS,
ensureStorageSlotsInOptions,
filterStorageSlotSelectOptions,
isStorageSlotSelectOptionDisabled,
validateUniqueStorageSlotIds
} from '@/utils/storage-slot-options'
import type { StorageSlotSelectOption } from '@/utils/storage-slot-options'
defineOptions({ name: 'TaskOutputProductDialog' })
@@ -343,7 +349,7 @@
const productTypeOptions = ref<
Array<{ id: string; productTypeName: string; productTypeCode?: string }>
>([])
const storageSlotOptions = ref<Array<{ id: string; name: string }>>([])
const storageSlotOptions = ref<StorageSlotSelectOption[]>([])
const productTypeOptionsLoading = ref(false)
const storageSlotOptionsLoading = ref(false)
let storageSlotSearchToken = 0