fix(web-admin): fix stock plan list followStatus funnel and view-only dialog

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-10-14 23:40:41 +08:00
1 parent c2ddf344dc
commit a07568f546
1 file changed
+7 -1
+7 -1
View File
@@ -901,7 +901,7 @@
:seed-plan="viewingPlan" :seed-plan="viewingPlan"
show-inbound-outbound-qty show-inbound-outbound-qty
> >
<template v-if="viewingPlan" #hero-actions> <template v-if="viewingPlan && !isStockList" #hero-actions>
<el-button <el-button
v-if="canEditPlan(viewingPlan)" v-if="canEditPlan(viewingPlan)"
class="btn-main" class="btn-main"
@@ -1542,6 +1542,12 @@ tableEl: planTableWrapRef,
} else { } else {
// 库存变体:无 Tab / 无快捷搜(工具栏已隐藏);列头漏斗仍走 colParams // 库存变体:无 Tab / 无快捷搜(工具栏已隐藏);列头漏斗仍走 colParams
params.stockRole = props.stockRole params.stockRole = props.stockRole
// 跟进状态列漏斗:与正常路径一致,followStatusIn → followStatus(无 Tab 覆盖)
if (colParams.followStatusIn) {
params.followStatus = colParams.followStatusIn
delete params.followStatusIn
}
// planTypeIn 后端 `_filters_from_params` 已直接支持,无需 remap
// 不传 includeArrangeCopyFlags // 不传 includeArrangeCopyFlags
} }