feat(web-admin): show brand on inventory ledger and transactions
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
38b1613fee
commit
e7d7e731ba
2 files changed
+24
-2
No files matched your search
@@ -73,6 +73,16 @@
|
||||
:index="(index) => (pagination.page - 1) * pagination.pageSize + index + 1"
|
||||
/>
|
||||
<el-table-column prop="productName" label="产品名称" min-width="180" show-overflow-tooltip />
|
||||
<el-table-column
|
||||
v-if="isColumnVisible('brandName')"
|
||||
label="品牌"
|
||||
min-width="110"
|
||||
show-overflow-tooltip
|
||||
>
|
||||
<template #default="{ row }">
|
||||
{{ row.brandName || '—' }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
v-if="isColumnVisible('productNo')"
|
||||
prop="productNo"
|
||||
@@ -167,6 +177,7 @@ import { usePersistedListColumns } from '@/composables/usePersistedListColumns'
|
||||
import { useDbInstantSearch } from '@/composables/useDbInstantSearch'
|
||||
|
||||
const listColumnDefs = [
|
||||
{ prop: 'brandName', label: '品牌' },
|
||||
{ prop: 'productNo', label: '产品编号' },
|
||||
{ prop: 'model', label: '规格型号' },
|
||||
{ prop: 'unit', label: '单位' },
|
||||
|
||||
Reference in new issue
Block a user