...
|
...
|
@@ -2,10 +2,10 @@ |
|
|
<LayoutApp :title="title">
|
|
|
<div class="order-page">
|
|
|
<div class="product">
|
|
|
<ImgSize class="pro-img" :src="noEntryOrderInfo.goodsInfo.goodImg || ''" :width="200" :height="200"></ImgSize>
|
|
|
<ImgSize class="pro-img" :src="goodsInfo.goodImg || ''" :width="200" :height="200"></ImgSize>
|
|
|
<div class="pro-info">
|
|
|
<p class="pro-name">{{noEntryOrderInfo.goodsInfo.colorName}}, {{noEntryOrderInfo.goodsInfo.sizeName}}码</p>
|
|
|
<p class="stock-info ufo-font">最低售价: ¥{{noEntryOrderInfo.goodsInfo.leastPrice || noEntryOrderInfo.goodsInfo.price}}</p>
|
|
|
<p class="pro-name">{{goodsInfo.colorName}}, {{goodsInfo.sizeName}}码</p>
|
|
|
<p class="stock-info ufo-font">最低售价: ¥{{goodsInfo.leastPrice || '-'}}</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="input-container">
|
...
|
...
|
@@ -37,12 +37,12 @@ |
|
|
<i class="iconfont iconaddress"></i>
|
|
|
</div>
|
|
|
<div class="address-info">
|
|
|
<p class="user-name">{{noEntryOrderInfo.userAddress.consignee}}</p>
|
|
|
<p class="user-name">{{userAddress.consignee}}</p>
|
|
|
<p class="user-address">
|
|
|
{{noEntryOrderInfo.userAddress.area}} {{noEntryOrderInfo.userAddress.address}}
|
|
|
{{userAddress.area}} {{userAddress.address}}
|
|
|
</p>
|
|
|
<p class="user-phone">
|
|
|
{{noEntryOrderInfo.userAddress.mobile}}
|
|
|
{{userAddress.mobile}}
|
|
|
</p>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -95,7 +95,7 @@ import Modal from './components/modal'; |
|
|
import OrderCheck from '../components/confirm/agree';
|
|
|
|
|
|
const {mapState, mapActions} = createNamespacedHelpers('order/priceChange');
|
|
|
|
|
|
// orderCode = 1233499619151
|
|
|
export default {
|
|
|
name: 'noEntryDetail',
|
|
|
components: {OrderCheck, Modal, InputUfo, ScrollView, LayoutApp, ImgSize, Checkbox},
|
...
|
...
|
@@ -132,7 +132,13 @@ export default { |
|
|
// this.inputChange = debounce(this.onChange.bind(this), 500);
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState(['noEntryOrderInfo'])
|
|
|
...mapState(['noEntryOrderInfo']),
|
|
|
goodsInfo() {
|
|
|
return this.noEntryOrderInfo.goodsInfo || {};
|
|
|
},
|
|
|
userAddress() {
|
|
|
return this.noEntryOrderInfo.userAddress || {};
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
chgPrice() {
|
...
|
...
|
@@ -188,7 +194,7 @@ export default { |
|
|
onCancel: () => {
|
|
|
this.onPriceChangeConfirm({
|
|
|
price: this.chgPrice,
|
|
|
skup: this.noEntryOrderInfo.goodsInfo.skup
|
|
|
skup: this.goodsInfo.skup
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
@@ -198,7 +204,7 @@ export default { |
|
|
async calcPrice(price) {
|
|
|
const result = await this.postNoEntryCalcPrice({
|
|
|
price: price,
|
|
|
skup: this.noEntryOrderInfo.goodsInfo.skup
|
|
|
skup: this.goodsInfo.skup
|
|
|
});
|
|
|
|
|
|
console.log(result);
|
...
|
...
|
@@ -259,6 +265,18 @@ export default { |
|
|
orderCode: result.data.orderCode,
|
|
|
price: price,
|
|
|
desc: '保证金',
|
|
|
extra: JSON.stringify({
|
|
|
type: 'sell',
|
|
|
back: {
|
|
|
name: 'InSaleOrderList'
|
|
|
},
|
|
|
forward: {
|
|
|
name: 'SellPayOk',
|
|
|
query: {
|
|
|
orderCode: result.data.orderCode
|
|
|
}
|
|
|
}
|
|
|
}),
|
|
|
onCloseAction() {
|
|
|
that.clearData();
|
|
|
that.$router.replace({
|
...
|
...
|
@@ -279,6 +297,7 @@ export default { |
|
|
// console.log(result);
|
|
|
},
|
|
|
clearData() { // 清空数据状态
|
|
|
console.log(this.$router);
|
|
|
this.platformFeeModalVisible = false;
|
|
|
this.platformFee = {
|
|
|
amount: '-¥0',
|
...
|
...
|
|