|
@@ -2,7 +2,7 @@ |
|
@@ -2,7 +2,7 @@ |
2
|
<LayoutApp :show-back="true" title="出售" :back-action="backAction">
|
2
|
<LayoutApp :show-back="true" title="出售" :back-action="backAction">
|
3
|
<div class="body">
|
3
|
<div class="body">
|
4
|
<ProductInfo :data="productDetail" class="product-info"></ProductInfo>
|
4
|
<ProductInfo :data="productDetail" class="product-info"></ProductInfo>
|
5
|
- <InputPrice @input="changePrice" class="input-price"
|
5
|
+ <InputPrice @input="changePrice"
|
6
|
:num="num" :value="price"
|
6
|
:num="num" :value="price"
|
7
|
@on-blur="compute" :super-sell="superSell"
|
7
|
@on-blur="compute" :super-sell="superSell"
|
8
|
@on-num-change="onNumChange"
|
8
|
@on-num-change="onNumChange"
|
|
@@ -110,9 +110,11 @@ export default { |
|
@@ -110,9 +110,11 @@ export default { |
110
|
return {
|
110
|
return {
|
111
|
goodImg: get(state.product.selectedProductInfo, 'product.goods_list[0].image_list[0].image_url', ''),
|
111
|
goodImg: get(state.product.selectedProductInfo, 'product.goods_list[0].image_list[0].image_url', ''),
|
112
|
productName: get(state.product.selectedProductInfo, 'product.product_name', ''),
|
112
|
productName: get(state.product.selectedProductInfo, 'product.product_name', ''),
|
|
|
113
|
+ productId: get(state.product.selectedProductInfo, 'product.product_id', ''),
|
113
|
colorName: get(state.product.selectedProductInfo, 'product.goods_list[0].color_name', ''),
|
114
|
colorName: get(state.product.selectedProductInfo, 'product.goods_list[0].color_name', ''),
|
114
|
sizeName: get(state.product.selectedProductInfo, 'size.size_name', ''),
|
115
|
sizeName: get(state.product.selectedProductInfo, 'size.size_name', ''),
|
115
|
skup: get(state.product.selectedProductInfo, 'size.skup', ''),
|
116
|
skup: get(state.product.selectedProductInfo, 'size.skup', ''),
|
|
|
117
|
+ bidSkup: get(state.product.selectedProductInfo, 'size.bid_skup', ''),
|
116
|
goodPrice,
|
118
|
goodPrice,
|
117
|
priceType,
|
119
|
priceType,
|
118
|
goodBidPrice,
|
120
|
goodBidPrice,
|
|
@@ -149,11 +151,21 @@ export default { |
|
@@ -149,11 +151,21 @@ export default { |
149
|
disabled: false
|
151
|
disabled: false
|
150
|
},
|
152
|
},
|
151
|
onCancel: () => {
|
153
|
onCancel: () => {
|
152
|
- this.$router.replace({
|
154
|
+ this.$store.commit('order/sellerAskOrder/SELLER_ASK_SET_PRODUCTINFO', {
|
|
|
155
|
+ goodImg: this.productDetail.goodImg,
|
|
|
156
|
+ colorName: this.productDetail.colorName,
|
|
|
157
|
+ sizeName: this.productDetail.sizeName,
|
|
|
158
|
+ goodPrice: this.productDetail.bidPrice,
|
|
|
159
|
+ productId: this.productDetail.productId,
|
|
|
160
|
+ bid_moster_price: this.productDetail.bidPrice,
|
|
|
161
|
+ });
|
|
|
162
|
+
|
|
|
163
|
+ // 跳转变现
|
|
|
164
|
+ this.$router.push({
|
153
|
name: 'sellAskOrder',
|
165
|
name: 'sellAskOrder',
|
154
|
query: {
|
166
|
query: {
|
155
|
- skup: this.productDetail.skup,
|
|
|
156
|
- price: this.productDetail.bidPrice
|
167
|
+ skup: this.productDetail.bidSkup,
|
|
|
168
|
+ price: this.productDetail.bidPrice,
|
157
|
}
|
169
|
}
|
158
|
});
|
170
|
});
|
159
|
}
|
171
|
}
|
|
@@ -375,6 +387,11 @@ export default { |
|
@@ -375,6 +387,11 @@ export default { |
375
|
padding: 0 50px;
|
387
|
padding: 0 50px;
|
376
|
}
|
388
|
}
|
377
|
|
389
|
|
|
|
390
|
+.product-info {
|
|
|
391
|
+ height: 240px;
|
|
|
392
|
+ margin-bottom: 20px;
|
|
|
393
|
+}
|
|
|
394
|
+
|
378
|
.submit-btn {
|
395
|
.submit-btn {
|
379
|
height: 80px;
|
396
|
height: 80px;
|
380
|
line-height: 80px;
|
397
|
line-height: 80px;
|