feat(web-admin): stock inbound/outbound tabs show filtered plan lists
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
ce06f0f4e8
commit
c2ddf344dc
3 files changed
+5
-4
No files matched your search
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<IoOrderListPage kind="inbound" title="入库单列表" />
|
||||
<PlanListPage stock-role="inbound" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import IoOrderListPage from '../_shared/IoOrderListPage.vue'
|
||||
import PlanListPage from '../plan/index.vue'
|
||||
</script>
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<IoOrderListPage kind="outbound" title="出库单列表" />
|
||||
<PlanListPage stock-role="outbound" />
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import IoOrderListPage from '../_shared/IoOrderListPage.vue'
|
||||
import PlanListPage from '../plan/index.vue'
|
||||
</script>
|
||||
@@ -1413,6 +1413,7 @@ tableEl: planTableWrapRef,
|
||||
]
|
||||
for (const def of listColumnDefs) {
|
||||
if (!isColumnVisible(def.prop)) continue
|
||||
if (isStockList.value && def.prop === 'arrangeCopy') continue
|
||||
cols.push({
|
||||
key: def.prop,
|
||||
interactive: def.prop !== 'arrangeCopy',
|
||||
|
||||
Reference in new issue
Block a user