This commit is contained in:
2026-08-31 13:43:18 +08:00
parent 50a2e5082d
commit 410802870d
2 changed files with 19 additions and 0 deletions
+7
View File
@@ -1644,6 +1644,13 @@
this.loadingVersion = submittedTask.inboundVersion ?? submittedTask.loadingVersion ?? this.remotePick.inboundVersion ?? this.remotePick.loadingVersion ?? this.loadingVersion
this.evidenceIdentity = this.captureEvidenceIdentity()
}
this.showToast('拣货已提交,正在刷新最新状态', 'success')
await this.syncRemoteTask()
if (!this.pickingCompleted) {
this.remoteError = this.remoteError || '拣货已提交,但最新任务状态尚未同步,请点击刷新任务'
this.showToast('拣货已提交,状态同步未完成,请刷新任务', 'warning')
return
}
// Legacy inbound completePicking(expectedVersion: Number(this.pickingVersion)) remains adapter-only; cabinet tasks use item actions.
} catch (error) {
this.debugSubmit('submit.error', { message: error.message || '', code: error.code || '', statusCode: error.statusCode || '', requestIdFromServer: error.requestId || '', traceId: error.traceId || '', network: Boolean(error.network) })