...
|
...
|
@@ -11,7 +11,7 @@ |
|
|
</div>
|
|
|
<div class="middle">
|
|
|
<p class="size-store">¥{{value.goodsInfo.price}},{{value.goodsInfo.storageNum}}个库存</p>
|
|
|
<p class="low-price">当前最低价¥{{value.goodsInfo.leastPrice}}</p>
|
|
|
<p class="low-price">{{lastPriceTxt}}¥{{value.goodsInfo.leastPrice || '-'}}</p>
|
|
|
</div>
|
|
|
<div class="right">
|
|
|
<Button class="chg-price" @click.native="onChgPrice">调 价</Button>
|
...
|
...
|
@@ -43,6 +43,9 @@ export default { |
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
lastPriceTxt() {
|
|
|
return this.isPreSale ? '预售最低售价' : '现货最低售价';
|
|
|
},
|
|
|
isPreSale() {
|
|
|
return this.value.isAdvance === 'Y';
|
|
|
},
|
...
|
...
|
@@ -69,7 +72,8 @@ export default { |
|
|
methods: {
|
|
|
onNoSale() {
|
|
|
this.$emit('on-no-sale', Object.assign({
|
|
|
isAdvance: this.value.isAdvance
|
|
|
isAdvance: this.value.isAdvance,
|
|
|
attributes: this.value.attributes
|
|
|
}, this.value.goodsInfo));
|
|
|
|
|
|
this.$root.reportApp('', 'BUSINESS_UFO_SELL_CHANGE', {
|
...
|
...
|
@@ -78,7 +82,8 @@ export default { |
|
|
},
|
|
|
onChgPrice() {
|
|
|
this.$emit('on-change-price', Object.assign({
|
|
|
isAdvance: this.value.isAdvance
|
|
|
isAdvance: this.value.isAdvance,
|
|
|
attributes: this.value.attributes
|
|
|
}, this.value.goodsInfo));
|
|
|
|
|
|
this.$root.reportApp('', 'BUSINESS_UFO_SELL_CHANGE', {
|
...
|
...
|
|