feat: 出库/借库记录记录并展示库位快照(DB加列+后端写入+记录页展示)

This commit is contained in:
yueli
2026-09-04 11:42:44 +08:00
parent 8e561836eb
commit 1527d552d4
6 changed files with 26 additions and 1 deletions

View File

@ -56,6 +56,12 @@
<el-table-column v-if="hasColumnPermission('category')" prop="category" label="类别" width="120" show-overflow-tooltip />
<el-table-column v-if="hasColumnPermission('spec_model')" prop="spec_model" label="规格型号" min-width="150" show-overflow-tooltip />
<el-table-column prop="batch_sn" label="批号/SN" min-width="120" />
<el-table-column prop="warehouse_location" label="库位" min-width="120">
<template #default="{row}">
<span v-if="row.warehouse_location">{{ row.warehouse_location }}</span>
<span v-else style="color:#ccc">-</span>
</template>
</el-table-column>
<el-table-column v-if="hasColumnPermission('quantity')" prop="quantity" label="数量" width="100" />
<el-table-column v-if="hasColumnPermission('unit_price')" prop="unit_price" label="单价" width="120">