...
|
...
|
@@ -50,30 +50,32 @@ |
|
|
</div>
|
|
|
<div class="submit-container">
|
|
|
<div class="agree-container">
|
|
|
<div class="checkbox">
|
|
|
<!--<div class="checkbox">
|
|
|
<Checkbox :option="labelOption" shape="square" v-model="isAgree"></Checkbox>
|
|
|
</div>
|
|
|
<a @click="showAgreement">卖家协议</a>
|
|
|
<a @click="showAgreement">卖家协议</a>-->
|
|
|
<OrderCheck v-model="isAgree" :desc="`卖家协议`" :url="agreementURL"></OrderCheck>
|
|
|
</div>
|
|
|
|
|
|
<div :class="['submit-button', (isAgree && calced) ? 'active' : '']">
|
|
|
<button @click="changePrice">提交</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!--平台费用问号点击弹框-->
|
|
|
<Modal v-model="platformFeeModalVisible" :transfer="true" cancel-text="我知道了">
|
|
|
<div class="fee-dialog-container">
|
|
|
<p class="modal-title">平台费用</p>
|
|
|
|
|
|
<p class="fee-line">
|
|
|
<span class="fee-title">商品鉴定费:</span>
|
|
|
<span class="fee-title">商品鉴定费</span>
|
|
|
<span class="fee-price">{{platformFee.appraiseFee}}</span>
|
|
|
</p>
|
|
|
<p class="fee-line">
|
|
|
<span class="fee-title">商品包装费:</span>
|
|
|
<span class="fee-title">商品包装费</span>
|
|
|
<span class="fee-price">{{platformFee.packageFee}}</span>
|
|
|
</p>
|
|
|
<p class="fee-line total">
|
|
|
<span class="fee-title">平台服务费:</span>
|
|
|
<span class="fee-title">平台服务费({{platformFee.goodsPaymentRatePercent}})</span>
|
|
|
<span class="fee-price">{{platformFee.serviceFee}}</span>
|
|
|
</p>
|
|
|
</div>
|
...
|
...
|
@@ -90,21 +92,25 @@ import InputUfo from './components/input-ufo'; |
|
|
import {Checkbox} from 'cube-ui';
|
|
|
import {get} from 'lodash';
|
|
|
import Modal from './components/modal';
|
|
|
import OrderCheck from '../components/confirm/agree';
|
|
|
|
|
|
const {mapState, mapActions} = createNamespacedHelpers('order/priceChange');
|
|
|
|
|
|
export default {
|
|
|
name: 'noEntryDetail',
|
|
|
components: {Modal, InputUfo, ScrollView, LayoutApp, ImgSize, Checkbox},
|
|
|
components: {OrderCheck, Modal, InputUfo, ScrollView, LayoutApp, ImgSize, Checkbox},
|
|
|
data() {
|
|
|
return {
|
|
|
title: '调价',
|
|
|
agreementURL: 'https://activity.yoho.cn/feature/3187.html?share_id=5851&title=ufo-%E5%8D%96%E5%AE%B6%E5%8D%8F%E8%AE%AE',
|
|
|
platformFeeModalVisible: false,
|
|
|
platformFee: {
|
|
|
amount: '-¥0',
|
|
|
appraiseFee: '¥0.00',
|
|
|
packageFee: '¥0.00',
|
|
|
serviceFee: '¥0.00'
|
|
|
serviceFee: '¥0.00',
|
|
|
goodsPaymentRatePercent: '0.00%',
|
|
|
payChannelPercentage: '0.00%'
|
|
|
},
|
|
|
bankTransferFee: '-¥0',
|
|
|
income: '¥0',
|
...
|
...
|
@@ -126,19 +132,24 @@ export default { |
|
|
// this.inputChange = debounce(this.onChange.bind(this), 500);
|
|
|
},
|
|
|
computed: {
|
|
|
...mapState(['noEntryOrderInfo', 'fetching']),
|
|
|
postLoading() {
|
|
|
return this.fetchingChangePrice || !this.calced;
|
|
|
}
|
|
|
...mapState(['noEntryOrderInfo'])
|
|
|
},
|
|
|
watch: {
|
|
|
chgPrice() {
|
|
|
this.calced = false;
|
|
|
this.platformFee = '-¥0';
|
|
|
this.platformFee = {
|
|
|
amount: '-¥0',
|
|
|
appraiseFee: '¥0.00',
|
|
|
packageFee: '¥0.00',
|
|
|
serviceFee: '¥0.00',
|
|
|
goodsPaymentRatePercent: '0.00%',
|
|
|
payChannelPercentage: '0.00%'
|
|
|
};
|
|
|
this.bankTransferFee = '-¥0';
|
|
|
this.income = '¥0';
|
|
|
this.earnestMoney = '¥0';
|
|
|
}
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
...mapActions(['fetchOrder', 'postNoEntryCalcPrice', 'postNoEntryChangePrice']),
|
...
|
...
|
@@ -226,9 +237,7 @@ export default { |
|
|
|
|
|
showEarnestQuestion() { // 跳转保证金页面
|
|
|
console.log('showEarnest');
|
|
|
},
|
|
|
showAgreement() { // 跳转卖家协议
|
|
|
console.log('showAgreement');
|
|
|
|
|
|
},
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -498,11 +507,11 @@ export default { |
|
|
display: flex;
|
|
|
|
|
|
.fee-title {
|
|
|
width: 50%;
|
|
|
width: 55%;
|
|
|
}
|
|
|
|
|
|
.fee-price {
|
|
|
width: 50%;
|
|
|
width: 45%;
|
|
|
text-align: right;
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -517,9 +526,9 @@ export default { |
|
|
|
|
|
.agree-container {
|
|
|
width: 100%;
|
|
|
height: 80px;
|
|
|
border-top: 1px solid #f0f0f0;
|
|
|
background-color: #fff;
|
|
|
padding: 20px 48px;
|
|
|
|
|
|
a {
|
|
|
display: inline-block;
|
...
|
...
|
|