优化
This commit is contained in:
@@ -1395,7 +1395,12 @@
|
|||||||
if (!this.evidenceComplete) { this.showToast('五类有效照片和封签号均为必填', 'warning'); return }
|
if (!this.evidenceComplete) { this.showToast('五类有效照片和封签号均为必填', 'warning'); return }
|
||||||
const contextId = this.evidenceContextId
|
const contextId = this.evidenceContextId
|
||||||
const identity = { ...this.evidenceIdentity }
|
const identity = { ...this.evidenceIdentity }
|
||||||
const savedAttempt = restoreLoadingCompletionAttempt(this.draftIdentity())
|
const serverAttempt = this.remotePick?.completionCommand
|
||||||
|
const savedAttempt = restoreLoadingCompletionAttempt(this.draftIdentity()) || (serverAttempt?.operationId ? {
|
||||||
|
operationId: serverAttempt.operationId,
|
||||||
|
expectedTaskVersion: serverAttempt.expectedTaskVersion,
|
||||||
|
remark: serverAttempt.remark || 'PDA确认装柜完成'
|
||||||
|
} : null)
|
||||||
const expectedTaskVersion = savedAttempt?.expectedTaskVersion ?? Number(this.pickingVersion)
|
const expectedTaskVersion = savedAttempt?.expectedTaskVersion ?? Number(this.pickingVersion)
|
||||||
const operationIdentity = stableTaskOperationIdentity(this.draftIdentity())
|
const operationIdentity = stableTaskOperationIdentity(this.draftIdentity())
|
||||||
const operationId = savedAttempt?.operationId || stableOperationId('complete', operationIdentity, {
|
const operationId = savedAttempt?.operationId || stableOperationId('complete', operationIdentity, {
|
||||||
|
|||||||
Reference in New Issue
Block a user