feat(shipping-notice): 增强发货通知候选管理功能,支持候选选择、重复检测与业务摘要修订
This commit is contained in:
1 parent
70f684b94a
commit
b595e157e9
83 files changed
+5857
-200
No files matched your search
@@ -130,6 +130,13 @@ const detailStepDetail = computed(() =>
|
||||
const detailErrorMessage = computed(() =>
|
||||
sanitizeShippingRuntimeStatusText(String(detail.value?.error_message || '').trim()),
|
||||
);
|
||||
const detailIssues = computed(() => (
|
||||
Array.isArray(detail.value?.ui_state?.summary?.issues)
|
||||
? detail.value.ui_state.summary.issues
|
||||
.map((item) => sanitizeShippingRuntimeStatusText(String(item || '').trim()))
|
||||
.filter(Boolean)
|
||||
: []
|
||||
));
|
||||
|
||||
const inventorySnapshotLabel = (triggerType?: string | null) => {
|
||||
const key = String(triggerType || 'on_demand');
|
||||
@@ -489,6 +496,10 @@ onMounted(async () => {
|
||||
{{ detailErrorMessage }}
|
||||
</div>
|
||||
|
||||
<div v-if="detailIssues.length" class="rounded-xl border border-amber-200 bg-amber-50 px-3 py-2 text-sm text-amber-800">
|
||||
<div v-for="issue in detailIssues" :key="issue" class="py-0.5">{{ issue }}</div>
|
||||
</div>
|
||||
|
||||
<ShippingMatchResultCard
|
||||
v-if="hasMatchCard"
|
||||
:task-id="detail.task_no"
|
||||
|
||||
Reference in new issue
Block a user