yyw提交 #10

Merged
vivanlina merged 1 commits from yyw into master 2025-08-23 01:58:18 +00:00
Showing only changes of commit 41e848d46d - Show all commits

View File

@ -25,8 +25,20 @@
</div>
<el-table :data="goodsList" style="width: 100%" border v-loading="loading">
<el-table-column prop="id" label="ID" width="80" align="center" />
<el-table-column prop="target_type" label="来源" align="center" />
<el-table-column prop="goods.title" label="商品名称" align="center" />
<el-table-column prop="target_type" label="来源信息" header-align="center">
<template #default="scope">
<div>{{ scope.row.target_type }}</div>
<div v-if="scope.row.outbound" style="font-size: 12px;color: #f90;line-height: 16px;">
<span v-if="scope.row.outbound.out_put_time">出库时间{{ scope.row.outbound.out_put_time.slice(0, 10) }}</span>
<div v-if="scope.row.outbound.note">备注{{ scope.row.outbound.note }}</div>
</div>
<div v-if="scope.row.purchase" style="font-size: 12px;color: #f90;line-height: 16px;">
<span v-if="scope.row.purchase.in_put_time">采购时间{{ scope.row.purchase.in_put_time.slice(0, 10) }}</span>
<div v-if="scope.row.purchase.note">备注{{ scope.row.purchase.note }}</div>
</div>
</template>
</el-table-column>
<el-table-column prop="goods.title" label="商品名称" header-align="center" />
<el-table-column prop="goods.brand.name" label="商品品牌" align="center" />
<el-table-column prop="goods_id" label="商品ID" align="center" />
<el-table-column prop="sku.title" label="规格名称" align="center" min-width="120" />