|
@@ -48,26 +48,72 @@
|
|
|
class="marginT-10 order-table"
|
|
|
border
|
|
|
:max-height="vheight">
|
|
|
- <el-table-column label="农产品名字" prop="product_title"></el-table-column>
|
|
|
- <el-table-column label="类型" prop="product_sale_at">
|
|
|
- <template slot-scope="scope">{{ scope.row.product_sale_at > 0 ? '现货' : '预售' }}</template>
|
|
|
+ <el-table-column label="商品主图" prop="product_img_url" min-width="100">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-image
|
|
|
+ style="display:block;width: 80px; height: 80px;font-size: 0;"
|
|
|
+ :src="scope.row.product_img_url"
|
|
|
+ :preview-src-list="[scope.row.product_img_url]">
|
|
|
+ </el-image>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="商品轮播图" prop="product_rotation_img_list" min-width="100">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <template v-if="scope.row.product_rotation_img_list.length > 0">
|
|
|
+ <el-image
|
|
|
+ style="display:block;width: 80px; height: 80px;font-size: 0;"
|
|
|
+ :src="scope.row.product_rotation_img_list[0]"
|
|
|
+ :preview-src-list="scope.row.product_rotation_img_list">
|
|
|
+ </el-image>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="商品详情图" prop="product_detail_img_list" min-width="100">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <template v-if="scope.row.product_detail_img_list.length > 0">
|
|
|
+ <el-image
|
|
|
+ style="display:block;width: 80px; height: 80px;font-size: 0;"
|
|
|
+ :src="scope.row.product_detail_img_list[0]"
|
|
|
+ :preview-src-list="scope.row.product_detail_img_list">
|
|
|
+ </el-image>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="农产品名字" prop="product_title"></el-table-column>
|
|
|
+ <el-table-column label="农产品描述" prop="product_desc" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column label="分类" prop="product_category_name"></el-table-column>
|
|
|
+ <el-table-column label="商品品牌" prop="product_brand_name"></el-table-column>
|
|
|
+ <el-table-column label="商品规格" prop="product_spec"></el-table-column>
|
|
|
+ <el-table-column label="单位" prop="product_unit"></el-table-column>
|
|
|
+ <el-table-column label="商品货号" prop="product_code"></el-table-column>
|
|
|
<el-table-column label="批发价(元)" prop="product_all_price">
|
|
|
<template slot-scope="scope">{{ scope.row.product_all_price | fen2Yuan }}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="零售价(元)" prop="product_price">
|
|
|
<template slot-scope="scope">{{ scope.row.product_price | fen2Yuan }}</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="库存" prop="product_count"></el-table-column>
|
|
|
+ <el-table-column label="发售时间" prop="product_title">
|
|
|
+ <template slot-scope="scope">{{ scope.row.product_sale_at > 0 ? scope.row.product_sale_at : '' }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="类型" prop="product_sale_at">
|
|
|
+ <template slot-scope="scope">{{ scope.row.product_sale_at > 0 ? '现货' : '预售' }}</template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="申请人" prop="user_id" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.user_id }}{{ scope.row.user_name ? scope.row.user_name + '/' : '' }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="店铺名称" prop="shop_name" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">{{ scope.row.shop_name }}</template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="审核状态" prop="product_status">
|
|
|
<template slot-scope="scope">{{ getProductStatusText(scope.row.product_status) }}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="申请时间" prop="created_at" min-width="120"></el-table-column>
|
|
|
<el-table-column label="审核人" prop="product_check_name"></el-table-column>
|
|
|
+ <el-table-column label="审核备注" prop="product_check_remark" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column label="审核时间" prop="product_check_at"></el-table-column>
|
|
|
<el-table-column label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" @click="edit(scope.row)">操作</el-button>
|