优化
This commit is contained in:
@@ -598,7 +598,7 @@
|
||||
async refreshAvailableBoxes() {
|
||||
if (!session.token) return
|
||||
try {
|
||||
const result = await listLoadingOrders({ page: 1, size: 50 })
|
||||
const result = await listLoadingOrders({ page: 1, size: 50, warehouseId: session.currentUser?.warehouseId })
|
||||
const records = (result.records || []).filter((task) => this.isSelectableTask(task))
|
||||
const previousBoxes = [...this.boxes]
|
||||
const selectedTaskId = String(this.remoteTaskId || this.currentBox.taskId || '')
|
||||
|
||||
Reference in New Issue
Block a user