feat(chat): 调拨工作台接入类型配置与待匹配面板
来源选择卡改为加载启用类型(单一飞行请求,空态引导先到管理页配置), 调拨类型为匹配必选项(422 提示);批次号派生接转换规则(deriveBatchNo 三态: 原始值/前缀替换/无规则),与后端转换引擎同口径。 首页面板新增第四张待匹配卡(indigo):待匹配桶=启用类型范围并集内无有效明细的 异动档记录,只读抽屉查看、去匹配直达;四语言文案补齐。
This commit is contained in:
1 parent
3a19f9c27d
commit
e4100815a0
18 files changed
+651
-100
No files matched your search
@@ -7,6 +7,8 @@
|
||||
matching_id 时按 ID 恢复匹配卡(最近匹配入口);勾选/执行按明细 item_id;
|
||||
来源选择卡重试收料 RPA 为 202 异步——存在抓取中来源时组合式函数自动轮询
|
||||
GET /sources,RPA 回调收口后状态自动刷新,离开来源卡即停轮询;
|
||||
来源选择卡挂载时并行拉取来源列表与调拨类型配置(Task 7 接口化,
|
||||
类型选项=GET /transfer-types 接口下发);
|
||||
恢复处理 = 按明细 id 重查库存(batch-requery 唯一后端),完成后刷新待处理池并
|
||||
统计提示,不再跳转匹配卡;预检卡提交 202(D8)→ 切融合卡 kind='run'(run_no 传卡,
|
||||
轮询由融合卡自驱动,父级停自身轮询),门禁 4xx → useMessage 行内报错 + 预检状态刷新;
|
||||
@@ -82,6 +84,8 @@ onMounted(() => {
|
||||
}
|
||||
if (kind.value === 'source-select') {
|
||||
void transfer.loadSources();
|
||||
// 调拨类型配置(Task 7 接口化):类型选项=接口下发,与来源列表并行拉取。
|
||||
void transfer.loadTransferTypes();
|
||||
}
|
||||
if (kind.value === 'executable') {
|
||||
void transfer.loadExecutableItems();
|
||||
@@ -412,6 +416,7 @@ async function onSourceRetry(sourceCodes: string[]) {
|
||||
<TransferSourceSelectCard
|
||||
v-else-if="mode === 'source-select'"
|
||||
:sources="transfer.sourceOptions.value"
|
||||
:transfer-types="transfer.transferTypes.value"
|
||||
:busy="busy"
|
||||
:retrying="retryingSource"
|
||||
@confirm="onSourceConfirm"
|
||||
|
||||
Reference in new issue
Block a user