|
@@ -120,26 +120,26 @@
|
|
|
<el-tag prop="cateId" v-for="(item, index) in cateOptions" v-if="scope.row.cateId==item.dictValue">{{item.dictLabel}}</el-tag>
|
|
<el-tag prop="cateId" v-for="(item, index) in cateOptions" v-if="scope.row.cateId==item.dictValue">{{item.dictLabel}}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column label="所属公司" align="center" width="220px">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <div v-if="scope.row.companyIds">
|
|
|
|
|
- <el-tag
|
|
|
|
|
- v-for="company in companyOptions.filter(company => {
|
|
|
|
|
- if (!scope.row.companyIds) return false;
|
|
|
|
|
- const ids = scope.row.companyIds.split(',').map(id => id.trim());
|
|
|
|
|
- return ids.includes(String(company.companyId));
|
|
|
|
|
- })"
|
|
|
|
|
- :key="company.companyId"
|
|
|
|
|
- size="small"
|
|
|
|
|
- style="margin: 2px;"
|
|
|
|
|
- >
|
|
|
|
|
- {{ company.companyName }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
- </div>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
|
+<!-- <el-table-column label="所属公司" align="center" width="220px">-->
|
|
|
|
|
+<!-- <template slot-scope="scope">-->
|
|
|
|
|
+<!-- <div v-if="scope.row.companyIds">-->
|
|
|
|
|
+<!-- <el-tag-->
|
|
|
|
|
+<!-- v-for="company in companyOptions.filter(company => {-->
|
|
|
|
|
+<!-- if (!scope.row.companyIds) return false;-->
|
|
|
|
|
+<!-- const ids = scope.row.companyIds.split(',').map(id => id.trim());-->
|
|
|
|
|
+<!-- return ids.includes(String(company.companyId));-->
|
|
|
|
|
+<!-- })"-->
|
|
|
|
|
+<!-- :key="company.companyId"-->
|
|
|
|
|
+<!-- size="small"-->
|
|
|
|
|
+<!-- style="margin: 2px;"-->
|
|
|
|
|
+<!-- >-->
|
|
|
|
|
+<!-- {{ company.companyName }}-->
|
|
|
|
|
+<!-- </el-tag>-->
|
|
|
|
|
+<!-- </div>-->
|
|
|
|
|
+<!-- </template>-->
|
|
|
|
|
+<!-- </el-table-column>-->
|
|
|
<el-table-column label="标题" align="center" prop="title" show-overflow-tooltip />
|
|
<el-table-column label="标题" align="center" prop="title" show-overflow-tooltip />
|
|
|
- <el-table-column label="描述" align="center" prop="descs" show-overflow-tooltip />
|
|
|
|
|
|
|
+<!-- <el-table-column label="描述" align="center" prop="descs" show-overflow-tooltip />-->
|
|
|
<el-table-column label="原价" align="center" >
|
|
<el-table-column label="原价" align="center" >
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<div v-if="scope.row.money!=null" >
|
|
<div v-if="scope.row.money!=null" >
|
|
@@ -154,14 +154,14 @@
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column label="支付类型" align="center" prop="payType" width="150px" >
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-tag prop="payType" v-for="(item, index) in storePayTypeOptions" v-if="scope.row.payType==item.dictValue">{{item.dictLabel}}</el-tag>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
|
+<!-- <el-table-column label="支付类型" align="center" prop="payType" width="150px" >-->
|
|
|
|
|
+<!-- <template slot-scope="scope">-->
|
|
|
|
|
+<!-- <el-tag prop="payType" v-for="(item, index) in storePayTypeOptions" v-if="scope.row.payType==item.dictValue">{{item.dictLabel}}</el-tag>-->
|
|
|
|
|
+<!-- </template>-->
|
|
|
|
|
+<!-- </el-table-column>-->
|
|
|
|
|
|
|
|
- <el-table-column label="限购次数" align="center" prop="limitCount" />
|
|
|
|
|
- <el-table-column label="赠送积分" align="center" prop="integral" />
|
|
|
|
|
|
|
+<!-- <el-table-column label="限购次数" align="center" prop="limitCount" />-->
|
|
|
|
|
+<!-- <el-table-column label="赠送积分" align="center" prop="integral" />-->
|
|
|
<el-table-column label="排序" align="center" prop="sort" />
|
|
<el-table-column label="排序" align="center" prop="sort" />
|
|
|
<!-- <el-table-column label="所属部门" align="center" prop="deptName" /> -->
|
|
<!-- <el-table-column label="所属部门" align="center" prop="deptName" /> -->
|
|
|
<el-table-column label="状态" align="center" prop="status" >
|
|
<el-table-column label="状态" align="center" prop="status" >
|
|
@@ -169,6 +169,8 @@
|
|
|
<el-tag prop="status" v-for="(item, index) in statusOptions" v-if="scope.row.status==item.dictValue">{{item.dictLabel}}</el-tag>
|
|
<el-tag prop="status" v-for="(item, index) in statusOptions" v-if="scope.row.status==item.dictValue">{{item.dictLabel}}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
+ <el-table-column label="创建日期" align="center" prop="createTime" />
|
|
|
|
|
+ <el-table-column label="更新日期" align="center" prop="updateTime" />
|
|
|
|
|
|
|
|
<el-table-column label="操作" align="center" fixed="right" width="120px" class-name="small-padding fixed-width">
|
|
<el-table-column label="操作" align="center" fixed="right" width="120px" class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|