|
@@ -28,7 +28,13 @@
|
|
|
<span>{{ record.productCode||'--' }}</span>
|
|
|
<a-badge count="促" v-if="record.promotionFlag==='GIFT'" :number-style="{ backgroundColor: '#52c41a', zoom:'80%' }"></a-badge>
|
|
|
</template>
|
|
|
- <!-- 初始价 省 市 特约-->
|
|
|
+ <!-- 初始价 价格级别 省 市 特约-->
|
|
|
+ <template slot="priceLevelOrig" slot-scope="text, record">
|
|
|
+ <span v-if="record.priceLevelOrig">
|
|
|
+ <span :class="record.priceLevelOrig!=record.priceLevel?'redWord':''">{{ record.priceLevelOrigDictValue }}</span>
|
|
|
+ </span>
|
|
|
+ <span v-else>--</span>
|
|
|
+ </template>
|
|
|
<template slot="provincePriceOrig" slot-scope="text, record">
|
|
|
<span v-if="record.provincePriceOrig||record.provincePriceOrig==0">
|
|
|
<span :class="record.provincePriceOrig!=record.provincePrice?'redWord':''">{{ toThousands(record.provincePriceOrig) }}</span>
|
|
@@ -47,7 +53,13 @@
|
|
|
</span>
|
|
|
<span v-else>--</span>
|
|
|
</template>
|
|
|
- <!-- 最新价 省 市 特约 -->
|
|
|
+ <!-- 最新价 价格级别 省 市 特约 -->
|
|
|
+ <template slot="priceLevel" slot-scope="text, record">
|
|
|
+ <span v-if="record.priceLevel">
|
|
|
+ <span :class="record.priceLevel!=record.priceLevelOrig?'redWord':''">{{ record.priceLevelDictValue }}</span>
|
|
|
+ </span>
|
|
|
+ <span v-else>--</span>
|
|
|
+ </template>
|
|
|
<template slot="provincePrice" slot-scope="text, record">
|
|
|
<span v-if="record.provincePrice||record.provincePrice==0">
|
|
|
<span :class="record.provincePrice!=record.provincePriceOrig?'redWord':''">{{ toThousands(record.provincePrice) }}</span>
|
|
@@ -109,9 +121,9 @@ export default {
|
|
|
priceVal: undefined,
|
|
|
columns: [
|
|
|
{ title: '产品编码', dataIndex: 'productCode', scopedSlots: { customRender: 'productCode' }, width: '15%', align: 'center' },
|
|
|
- { title: '价格级别', dataIndex: 'priceLevelDictValue', width: '15%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
{ title: '价格变更前',
|
|
|
children: [
|
|
|
+ { title: '价格级别', dataIndex: 'priceLevelOrigDictValue', scopedSlots: { customRender: 'priceLevelOrig' }, align: 'center' },
|
|
|
{
|
|
|
title: '省级价',
|
|
|
align: 'right',
|
|
@@ -131,9 +143,10 @@ export default {
|
|
|
scopedSlots: { customRender: 'specialPriceOrig' }
|
|
|
}
|
|
|
],
|
|
|
- width: '30%' },
|
|
|
+ width: '40%' },
|
|
|
{ title: '价格变更后',
|
|
|
children: [
|
|
|
+ { title: '价格级别', dataIndex: 'priceLevelDictValue', scopedSlots: { customRender: 'priceLevel' }, align: 'center' },
|
|
|
{
|
|
|
title: '省级价',
|
|
|
dataIndex: 'provincePrice',
|
|
@@ -153,7 +166,7 @@ export default {
|
|
|
scopedSlots: { customRender: 'specialPrice' }
|
|
|
}
|
|
|
],
|
|
|
- width: '30%' }
|
|
|
+ width: '40%' }
|
|
|
],
|
|
|
priceSelectList: [{
|
|
|
id: 0,
|