商品库存,添加规格

This commit is contained in:
duan 2024-06-21 14:42:16 +08:00
parent 0392fc7d25
commit 776ad6dc26
1 changed files with 6 additions and 0 deletions

View File

@ -41,11 +41,17 @@
</div>
</template>
</el-table-column>
<el-table-column label="规格" prop="number">
<template v-slot="scope">
{{scope.row.specSnap }}
</template>
</el-table-column>
<el-table-column label="库存" prop="number">
<template v-slot="scope">
{{ `${scope.row.number} ${scope.row.unitName}` }}
</template>
</el-table-column>
<el-table-column label="库存开关">
<template v-slot="scope">
<el-switch v-model="scope.row.isStock" :active-value="1" :inactive-value="0"