|
@@ -14,6 +14,10 @@
|
|
<h4>{{ (detailsData && detailsData.name) || '--' }}</h4>
|
|
<h4>{{ (detailsData && detailsData.name) || '--' }}</h4>
|
|
<div class="productHead">
|
|
<div class="productHead">
|
|
<div class="productInfo">
|
|
<div class="productInfo">
|
|
|
|
+ <!--
|
|
|
|
+ ***省级经销商:市场价、特约价1显示 0不显示
|
|
|
|
+ ***市级经销商:特约价1显示 0不显示
|
|
|
|
+ -->
|
|
<a-descriptions bordered :column="2" size="small">
|
|
<a-descriptions bordered :column="2" size="small">
|
|
<a-descriptions-item label="产品品牌:">{{ (detailsData && detailsData.productBrandName) || '--' }}</a-descriptions-item>
|
|
<a-descriptions-item label="产品品牌:">{{ (detailsData && detailsData.productBrandName) || '--' }}</a-descriptions-item>
|
|
<a-descriptions-item label="产品编码:">{{ (detailsData && detailsData.code) || '--' }}</a-descriptions-item>
|
|
<a-descriptions-item label="产品编码:">{{ (detailsData && detailsData.code) || '--' }}</a-descriptions-item>
|
|
@@ -21,47 +25,10 @@
|
|
<a-descriptions-item label="商品尺寸:">{{ (detailsData && detailsData.size) || '--' }}</a-descriptions-item>
|
|
<a-descriptions-item label="商品尺寸:">{{ (detailsData && detailsData.size) || '--' }}</a-descriptions-item>
|
|
<a-descriptions-item label="重量:">{{ (detailsData && detailsData.weight) || '--' }}</a-descriptions-item>
|
|
<a-descriptions-item label="重量:">{{ (detailsData && detailsData.weight) || '--' }}</a-descriptions-item>
|
|
<a-descriptions-item label="计量单位:">{{ (detailsData && detailsData.unit) || '--' }}</a-descriptions-item>
|
|
<a-descriptions-item label="计量单位:">{{ (detailsData && detailsData.unit) || '--' }}</a-descriptions-item>
|
|
- </a-descriptions>
|
|
|
|
- <a-descriptions bordered :column="2" layout="vertical" size="small" style="margin-top:10px;">
|
|
|
|
- <a-descriptions-item label="省级经销商:" :span="2">
|
|
|
|
- <a-row :gutter="16">
|
|
|
|
- <a-col class="gutter-row" :span="6">
|
|
|
|
- 市场价:{{ detailsData&&(detailsData.cityPrice || detailsData.cityPrice==0)?toThousands(detailsData.cityPrice):'--' }}
|
|
|
|
- </a-col>
|
|
|
|
- <a-col class="gutter-row" :span="6" v-if="specialPriceObj&&specialPriceObj.isShowSpecialPrice&&specialPriceObj.isShowSpecialPrice==1">
|
|
|
|
- 特约价:{{ specialPriceObj.specialPrice==0?toThousands(specialPriceObj.specialPrice):'--' }}
|
|
|
|
- </a-col>
|
|
|
|
- <a-col class="gutter-row" :span="6">
|
|
|
|
- 终端价:{{ detailsData&&(detailsData.terminalPrice || detailsData.terminalPrice==0)?toThousands(detailsData.terminalPrice):'--' }}
|
|
|
|
- </a-col>
|
|
|
|
- <a-col class="gutter-row" :span="6">
|
|
|
|
- 车主价:{{ detailsData&&(detailsData.carOwnersPrice || detailsData.carOwnersPrice==0)?toThousands(detailsData.carOwnersPrice):'--' }}
|
|
|
|
- </a-col>
|
|
|
|
- </a-row>
|
|
|
|
- </a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="市级经销商:" :span="2">
|
|
|
|
- <a-row :gutter="16">
|
|
|
|
- <a-col class="gutter-row" :span="6" v-if="specialPriceObj&&specialPriceObj.isShowSpecialPrice&&specialPriceObj.isShowSpecialPrice==1">
|
|
|
|
- 特约价:{{ specialPriceObj.specialPrice==0?toThousands(specialPriceObj.specialPrice):'--' }}
|
|
|
|
- </a-col>
|
|
|
|
- <a-col class="gutter-row" :span="6">
|
|
|
|
- 终端价:{{ detailsData&&(detailsData.terminalPrice || detailsData.terminalPrice==0)?toThousands(detailsData.terminalPrice):'--' }}
|
|
|
|
- </a-col>
|
|
|
|
- <a-col class="gutter-row" :span="6">
|
|
|
|
- 车主价:{{ detailsData&&(detailsData.carOwnersPrice || detailsData.carOwnersPrice==0)?toThousands(detailsData.carOwnersPrice):'--' }}
|
|
|
|
- </a-col>
|
|
|
|
- </a-row>
|
|
|
|
- </a-descriptions-item>
|
|
|
|
- <a-descriptions-item label="特约经销商:" :span="2" v-if="specialPriceObj && specialPriceObj.dealerLevel == 'SPECIAL'">
|
|
|
|
- <a-row :gutter="16">
|
|
|
|
- <a-col class="gutter-row" :span="6">
|
|
|
|
- 终端价:{{ detailsData&&(detailsData.terminalPrice || detailsData.terminalPrice==0)?toThousands(detailsData.terminalPrice):'--' }}
|
|
|
|
- </a-col>
|
|
|
|
- <a-col class="gutter-row" :span="6">
|
|
|
|
- 车主价:{{ detailsData&&(detailsData.carOwnersPrice || detailsData.carOwnersPrice==0)?toThousands(detailsData.carOwnersPrice):'--' }}
|
|
|
|
- </a-col>
|
|
|
|
- </a-row>
|
|
|
|
- </a-descriptions-item>
|
|
|
|
|
|
+ <a-descriptions-item label="市场价:" v-if="this.specialPriceObj.dealerLevel&&this.specialPriceObj.dealerLevel == 'PROVINCE'">{{ detailsData&&(detailsData.cityPrice||detailsData.cityPrice==0) ? toThousands(detailsData.cityPrice):'--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="特约价:" v-if="(this.specialPriceObj.dealerLevel&&this.specialPriceObj.dealerLevel != 'SPECIAL')&&(specialPriceObj&&specialPriceObj.specialPrice==1) ">{{ detailsData && (detailsData.specialPrice||detailsData.specialPrice==0)?toThousands(detailsData.specialPrice) : '--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="终端价:">{{ detailsData && (detailsData.terminalPrice || detailsData.terminalPrice==0)?toThousands(detailsData.terminalPrice):'--' }}</a-descriptions-item>
|
|
|
|
+ <a-descriptions-item label="车主价:">{{ detailsData && (detailsData.carOwnersPrice || detailsData.carOwnersPrice==0)?toThousands(detailsData.carOwnersPrice):'--' }}</a-descriptions-item>
|
|
</a-descriptions>
|
|
</a-descriptions>
|
|
<div class="productDetail">
|
|
<div class="productDetail">
|
|
<h4>产品介绍</h4>
|
|
<h4>产品介绍</h4>
|
|
@@ -117,7 +84,7 @@ export default {
|
|
maskColor: 'red',
|
|
maskColor: 'red',
|
|
maskOpacity: 0.2
|
|
maskOpacity: 0.2
|
|
},
|
|
},
|
|
- specialPriceObj: null
|
|
|
|
|
|
+ specialPriceObj: {}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|