优化
This commit is contained in:
@@ -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) })
|
||||
|
||||
Reference in New Issue
Block a user