...
|
...
|
@@ -2,7 +2,7 @@ |
|
|
<LayoutApp :show-back="true" title="出售" :back-action="backAction">
|
|
|
<div class="body">
|
|
|
<ProductInfo :data="productDetail" class="product-info"></ProductInfo>
|
|
|
<InputPrice @input="changePrice" class="input-price"
|
|
|
<InputPrice @input="changePrice"
|
|
|
:num="num" :value="price"
|
|
|
@on-blur="compute" :super-sell="superSell"
|
|
|
@on-num-change="onNumChange"
|
...
|
...
|
@@ -110,9 +110,11 @@ export default { |
|
|
return {
|
|
|
goodImg: get(state.product.selectedProductInfo, 'product.goods_list[0].image_list[0].image_url', ''),
|
|
|
productName: get(state.product.selectedProductInfo, 'product.product_name', ''),
|
|
|
productId: get(state.product.selectedProductInfo, 'product.product_id', ''),
|
|
|
colorName: get(state.product.selectedProductInfo, 'product.goods_list[0].color_name', ''),
|
|
|
sizeName: get(state.product.selectedProductInfo, 'size.size_name', ''),
|
|
|
skup: get(state.product.selectedProductInfo, 'size.skup', ''),
|
|
|
bidSkup: get(state.product.selectedProductInfo, 'size.bid_skup', ''),
|
|
|
goodPrice,
|
|
|
priceType,
|
|
|
goodBidPrice,
|
...
|
...
|
@@ -149,11 +151,21 @@ export default { |
|
|
disabled: false
|
|
|
},
|
|
|
onCancel: () => {
|
|
|
this.$router.replace({
|
|
|
this.$store.commit('order/sellerAskOrder/SELLER_ASK_SET_PRODUCTINFO', {
|
|
|
goodImg: this.productDetail.goodImg,
|
|
|
colorName: this.productDetail.colorName,
|
|
|
sizeName: this.productDetail.sizeName,
|
|
|
goodPrice: this.productDetail.bidPrice,
|
|
|
productId: this.productDetail.productId,
|
|
|
bid_moster_price: this.productDetail.bidPrice,
|
|
|
});
|
|
|
|
|
|
// 跳转变现
|
|
|
this.$router.push({
|
|
|
name: 'sellAskOrder',
|
|
|
query: {
|
|
|
skup: this.productDetail.skup,
|
|
|
price: this.productDetail.bidPrice
|
|
|
skup: this.productDetail.bidSkup,
|
|
|
price: this.productDetail.bidPrice,
|
|
|
}
|
|
|
});
|
|
|
}
|
...
|
...
|
@@ -375,6 +387,11 @@ export default { |
|
|
padding: 0 50px;
|
|
|
}
|
|
|
|
|
|
.product-info {
|
|
|
height: 240px;
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
|
|
|
.submit-btn {
|
|
|
height: 80px;
|
|
|
line-height: 80px;
|
...
|
...
|
|