Merge branch 'hugo-shipping-notice' into test

This commit is contained in:
hugo committed 2026-09-16 10:13:55 +08:00
commit 933ac8ebcc
18 files changed
+1050 -73

No files matched your search

@@ -12,6 +12,7 @@
逻辑:建单前订单检查为主卡;正式 OT 后保持 standard,不自动切 formal_task 空壳;
当前 Case 的明确恢复动作优先右栏 CurrentProcessingCard,
不回落至底栏;库存动作仅明细行浮层;表单保存校验仅底栏;
STP waiting_to_start/queued/running 时 automating=true 且后端剥离 edit_draft;
货代上传确认成功后须 refreshReviewQueue,左侧本批阶段与五阶段对齐。
-->
<script setup lang="ts">
@@ -2163,11 +2164,11 @@ const customerResolutionWideRef = ref<{ openSelectDialog: () => Promise<void> }
const fieldConflictPanelRef = ref<{ focusFirstConflict: () => void } | null>(null);
const duplicatePanelRef = ref<{ focusAdjudication: () => void } | null>(null);
/** 系统自动推进中:仅当存在确认 Job 时隐藏主写按钮;资格达标不算 automating。 */
/** 系统自动推进中:STP 等待入队/排队/执行时隐藏主写按钮。 */
const isProcessingAutomating = computed(() => {
// STP 建单前没有正式 OT 投影;已入队/运行时由 Case automation 作为唯一运行事实。
// STP 建单前没有正式 OT 投影;等待入队与已入队/运行均由 Case automation 作为唯一运行事实。
const stpStatus = String(activeCase.value?.automation?.status || '').trim().toLowerCase();
if (!hasFormalOt.value && ['queued', 'running'].includes(stpStatus)) return true;
if (!hasFormalOt.value && ['waiting_to_start', 'queued', 'running'].includes(stpStatus)) return true;
if (!hasConfirmedAutomationJob.value) return false;
const status = String(
shippingProcessingProjection.value?.uiState?.status