进销存-商品库存-详情记录增加规格名称

This commit is contained in:
2024-07-26 13:42:49 +08:00
parent b88ae01878
commit 0ce365bbe8

View File

@@ -24,6 +24,11 @@
</div>
<div class="head-container">
<el-table :data="tableData.list" v-loading="tableData.loading">
<el-table-column label="规格名称" prop="specSnap" v-if="goods.specSnap">
<template v-slot="scope">
<span v-if="scope.row.specSnap"> {{ scope.row.specSnap }}</span>
</template>
</el-table-column>
<el-table-column label="类型">
<template v-slot="scope">
<el-tag type="info">{{ scope.row.type }}</el-tag>
@@ -134,6 +139,7 @@ export default {
async show(obj) {
this.dialogVisible = true
this.goods = obj
console.log(obj)
this.tbProductStockDetailSum()
await this.getTableData()
},