更新了商品详情页面的展示内容和格式

This commit is contained in:
weipengfei 2024-06-01 18:01:37 +08:00
parent f62f956914
commit ec76cf3b94
2 changed files with 7 additions and 2 deletions

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"Codegeex.Comment.LanguagePreference": "中文",
"Codegeex.Chat.LanguagePreference": "中文",
"Codegeex.CommitMessageStyle": "Default"
}

View File

@ -7,13 +7,13 @@
<el-descriptions-item label="商品名称"> <el-descriptions-item label="商品名称">
{{ formData.store_name }} {{ formData.store_name }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="商品图片"> <el-descriptions-item label="商品分类">{{ formData.cate_name }}</el-descriptions-item>
<el-descriptions-item label="商品图片" :span="2">
<el-image :src="formData.image" class="w-20 h-20" /> <el-image :src="formData.image" class="w-20 h-20" />
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="商品条码"> <el-descriptions-item label="商品条码">
{{ formData.bar_code }} {{ formData.bar_code }}
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="商品分类">{{ formData.cate_name }}</el-descriptions-item>
<el-descriptions-item label="商品售价">{{ formData.price }}</el-descriptions-item> <el-descriptions-item label="商品售价">{{ formData.price }}</el-descriptions-item>
<el-descriptions-item label="商品单位">{{ formData.unit_name }}</el-descriptions-item> <el-descriptions-item label="商品单位">{{ formData.unit_name }}</el-descriptions-item>
<el-descriptions-item label="库存">{{ formData.stock }}</el-descriptions-item> <el-descriptions-item label="库存">{{ formData.stock }}</el-descriptions-item>