This commit is contained in:
2026-10-21 17:27:13 +08:00
parent a95cfe0684
commit a181239cbf
8 changed files with 109 additions and 22 deletions
@@ -1,6 +1,7 @@
<template>
<view class="loading-documents">
<view class="heading"><text>装车资料</text><button :disabled="busy" @tap="load">刷新</button></view>
<text v-if="snapshot?.stage === 'LOADING'">可边装车边上传 5 张装车照片;确认装车完成且照片齐全后自动进入派送中。</text>
<text v-if="snapshot?.stage === 'AFTER_LOADING'">上传并保存 5 张装车照片后,本车自动进入派送中。</text>
<view v-if="error" class="error" role="alert"><text>{{ error.message }}</text><text v-if="error.requestId">requestId:{{ error.requestId }}</text><text v-if="error.traceId">traceId:{{ error.traceId }}</text></view>
<view v-if="pending"><text>有装车照片尚未确认保存。</text><button :disabled="busy || !editable" @tap="recover">{{ pending.conflict ? '刷新并重试保存' : '核对原请求并继续保存' }}</button></view>