|
@@ -11,7 +11,7 @@ |
|
@@ -11,7 +11,7 @@ |
11
|
</div>
|
11
|
</div>
|
12
|
<div class="middle">
|
12
|
<div class="middle">
|
13
|
<p class="size-store">¥{{value.goodsInfo.price}},{{value.goodsInfo.storageNum}}个库存</p>
|
13
|
<p class="size-store">¥{{value.goodsInfo.price}},{{value.goodsInfo.storageNum}}个库存</p>
|
14
|
- <p class="low-price">当前最低价¥{{value.goodsInfo.leastPrice}}</p>
|
14
|
+ <p class="low-price">{{lastPriceTxt}}¥{{value.goodsInfo.leastPrice || '-'}}</p>
|
15
|
</div>
|
15
|
</div>
|
16
|
<div class="right">
|
16
|
<div class="right">
|
17
|
<Button class="chg-price" @click.native="onChgPrice">调 价</Button>
|
17
|
<Button class="chg-price" @click.native="onChgPrice">调 价</Button>
|
|
@@ -43,6 +43,9 @@ export default { |
|
@@ -43,6 +43,9 @@ export default { |
43
|
};
|
43
|
};
|
44
|
},
|
44
|
},
|
45
|
computed: {
|
45
|
computed: {
|
|
|
46
|
+ lastPriceTxt() {
|
|
|
47
|
+ return this.isPreSale ? '预售最低售价' : '现货最低售价';
|
|
|
48
|
+ },
|
46
|
isPreSale() {
|
49
|
isPreSale() {
|
47
|
return this.value.isAdvance === 'Y';
|
50
|
return this.value.isAdvance === 'Y';
|
48
|
},
|
51
|
},
|
|
@@ -69,7 +72,8 @@ export default { |
|
@@ -69,7 +72,8 @@ export default { |
69
|
methods: {
|
72
|
methods: {
|
70
|
onNoSale() {
|
73
|
onNoSale() {
|
71
|
this.$emit('on-no-sale', Object.assign({
|
74
|
this.$emit('on-no-sale', Object.assign({
|
72
|
- isAdvance: this.value.isAdvance
|
75
|
+ isAdvance: this.value.isAdvance,
|
|
|
76
|
+ attributes: this.value.attributes
|
73
|
}, this.value.goodsInfo));
|
77
|
}, this.value.goodsInfo));
|
74
|
|
78
|
|
75
|
this.$root.reportApp('', 'BUSINESS_UFO_SELL_CHANGE', {
|
79
|
this.$root.reportApp('', 'BUSINESS_UFO_SELL_CHANGE', {
|
|
@@ -78,7 +82,8 @@ export default { |
|
@@ -78,7 +82,8 @@ export default { |
78
|
},
|
82
|
},
|
79
|
onChgPrice() {
|
83
|
onChgPrice() {
|
80
|
this.$emit('on-change-price', Object.assign({
|
84
|
this.$emit('on-change-price', Object.assign({
|
81
|
- isAdvance: this.value.isAdvance
|
85
|
+ isAdvance: this.value.isAdvance,
|
|
|
86
|
+ attributes: this.value.attributes
|
82
|
}, this.value.goodsInfo));
|
87
|
}, this.value.goodsInfo));
|
83
|
|
88
|
|
84
|
this.$root.reportApp('', 'BUSINESS_UFO_SELL_CHANGE', {
|
89
|
this.$root.reportApp('', 'BUSINESS_UFO_SELL_CHANGE', {
|