From 365a7f7bc44544580fe35ec89d33bb67f438fbe1 Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Mon, 28 Sep 2026 17:11:10 +0100 Subject: [PATCH] fix(admin): type sailing warehouse change handler --- src/modules/sailing-calendar/pages/SailingCalendarView.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/sailing-calendar/pages/SailingCalendarView.vue b/src/modules/sailing-calendar/pages/SailingCalendarView.vue index 40d28e32..5385c88d 100644 --- a/src/modules/sailing-calendar/pages/SailingCalendarView.vue +++ b/src/modules/sailing-calendar/pages/SailingCalendarView.vue @@ -235,6 +235,7 @@ function onTemplateChannelChanged(id: string) { templateForm.vesselName = '待订舱确认' } function onTemplateWarehouseChanged(id: string) { applyWarehouse(id, templateForm) } +function onFormWarehouseChanged(id: string) { applyWarehouse(id, form) } async function openTemplateCreate() { await ensureWarehouseOptions() editingTemplateId.value = '' @@ -421,7 +422,7 @@ onMounted(() => void load()) - 选择已有渠道,自动带入排船默认资料。
{{ form.vesselName || '待订舱确认' }} / {{ form.voyageNo || '待订舱确认' }}
未确认船名、航次时可先排船,显示为待订舱确认。
按开船前 N 天自定义时间
提前天数2 天3 天4 天
截止时刻
建议截止{{ dateTime(form.cutoffAt) }}按开船本地日期倒推自然日
+ 选择已有渠道,自动带入排船默认资料。
{{ form.vesselName || '待订舱确认' }} / {{ form.voyageNo || '待订舱确认' }}
未确认船名、航次时可先排船,显示为待订舱确认。
按开船前 N 天自定义时间
提前天数2 天3 天4 天
截止时刻
建议截止{{ dateTime(form.cutoffAt) }}按开船本地日期倒推自然日
查看已有船期渠道及默认收货规则。
设置每周开船日和收货截止,预览后批量生成;重复日期自动跳过。新增周模板