|
@@ -26,6 +26,10 @@
|
|
<span :class="loading ? 'el-icon-loading' : ''"></span>
|
|
<span :class="loading ? 'el-icon-loading' : ''"></span>
|
|
{{ info && info.salePrice && $numberFormat(info.salePrice) }}元
|
|
{{ info && info.salePrice && $numberFormat(info.salePrice) }}元
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item label="划线价:" v-if="info.type == 'online'">
|
|
|
|
+ <span :class="loading ? 'el-icon-loading' : ''"></span>
|
|
|
|
+ {{ info && info.originPrice && $numberFormat(info.originPrice) }}元
|
|
|
|
+ </el-form-item>
|
|
<el-form-item label="盲票总数:">
|
|
<el-form-item label="盲票总数:">
|
|
<span :class="loading ? 'el-icon-loading' : ''"></span>
|
|
<span :class="loading ? 'el-icon-loading' : ''"></span>
|
|
{{ info && info.quantity }}张
|
|
{{ info && info.quantity }}张
|
|
@@ -58,6 +62,7 @@
|
|
<div class="prize-top">
|
|
<div class="prize-top">
|
|
<div>奖级名称:{{ item.name }}</div>
|
|
<div>奖级名称:{{ item.name }}</div>
|
|
<div>奖级:{{ item.sort }}</div>
|
|
<div>奖级:{{ item.sort }}</div>
|
|
|
|
+ <div v-if="info.type == 'online'" >关联奖级:{{ item.awardsLabel }}</div>
|
|
<div>奖级数量:{{ item.quantity }}</div>
|
|
<div>奖级数量:{{ item.quantity }}</div>
|
|
</div>
|
|
</div>
|
|
<div class="prize-table">
|
|
<div class="prize-table">
|
|
@@ -86,7 +91,12 @@
|
|
<div v-if="row.prizeType.value == 'coin'">盲豆</div>
|
|
<div v-if="row.prizeType.value == 'coin'">盲豆</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="排序" prop="title" align="center">
|
|
|
|
|
|
+ <el-table-column v-if="info.type == 'online'" label="奖品数量" prop="quantity" align="center">
|
|
|
|
+ <template slot-scope="{ row }">
|
|
|
|
+ <div>{{ row.quantity }}</div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
|
|
+ <el-table-column label="排序" prop="sortWeight" align="center">
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
<div>{{ row.sortWeight }}</div>
|
|
<div>{{ row.sortWeight }}</div>
|
|
</template>
|
|
</template>
|
|
@@ -134,7 +144,7 @@ export default {
|
|
})
|
|
})
|
|
this.info = {
|
|
this.info = {
|
|
...data,
|
|
...data,
|
|
- type: JSON.parse(data.type),
|
|
|
|
|
|
+ type: JSON.parse(data.type).value,
|
|
picUrl: picUrl,
|
|
picUrl: picUrl,
|
|
channelTitle: data.channelList.map(item => item.name).join(',')
|
|
channelTitle: data.channelList.map(item => item.name).join(',')
|
|
};
|
|
};
|