This commit is contained in:
zlwu committed 2026-08-25 09:19:31 +08:00
1 parent 848517479d
commit d2290eb92c
20 files changed
+497 -807

No files matched your search

@@ -666,7 +666,10 @@
pageSize: 100,
keyword: cellSearchKeyword.value?.trim() || undefined
})
cellProductOptions.value = res.list || []
// 产出作废后仍 del_flag=0,同编码常残留 voided+frozen 两条;选择器不展示作废项
cellProductOptions.value = (res.list || []).filter(
(p) => (p.productStatus || '') !== 'voided'
)
} finally {
cellProductLoading.value = false
}
@@ -551,7 +551,9 @@ export function useTaskStepEditor() {
const next = { ...cellProductMasterById.value }
for (const p of list) if (p?.id) next[p.id] = p
cellProductMasterById.value = next
// 产出作废后仍 del_flag=0,同编码常残留 voided+frozen 两条;下拉不展示作废项
cellProductOptions.value = list
.filter((p) => (p.productStatus || '') !== 'voided')
.filter((p) => (p.productName || '').trim() || (p.productCode || '').trim())
.map((p) => ({
id: p.id,
@@ -326,7 +326,9 @@
pageSize: 100,
keyword: query?.trim() || undefined
})
// 产出作废后仍 del_flag=0,同编码常残留 voided+frozen 两条;下拉不展示作废项
cellProductOptions.value = (res.list || [])
.filter((p) => (p.productStatus || '') !== 'voided')
.filter((p) => (p.productName || '').trim() || (p.productCode || '').trim())
.map((p) => ({
id: p.id,