Authored by TaoHuang

fix price

... ... @@ -2,15 +2,15 @@
<div class="fee-detail">
<div class="item">
<div>平台费用:<i class="iconfont iconquestion icon-class" @click="onClick"></i></div>
<div>{{feeInfo.platformFee.amount || '¥0'}}</div>
<div>{{data.platformFee.amount || '¥0'}}</div>
</div>
<div class="item">
<div>银行转账费(1%):</div>
<div>{{feeInfo.bankTransferFee || '¥0'}}</div>
<div>{{data.bankTransferFee || '¥0'}}</div>
</div>
<div class="item">
<div class="total-fee">实际收入:</div>
<div class="fee">{{feeInfo.income || '¥0'}}</div>
<div class="fee">{{data.income || '¥0'}}</div>
</div>
<Modal ref="dialog" v-model="showModal">
... ... @@ -20,17 +20,17 @@
<div class="item item2">
<span>商品鉴定费</span>
<span>{{feeInfo.platformFee.appraiseFee}}</span>
<span>{{data.platformFee.appraiseFee}}</span>
</div>
<div class="item item2">
<span>商品包装费</span>
<span>{{feeInfo.platformFee.packageFee}}</span>
<span>{{data.platformFee.packageFee}}</span>
</div>
<div class="item item2">
<span>平台服务费({{feeInfo.platformFee.goodsPaymentRatePercent}})</span>
<span>{{feeInfo.platformFee.serviceFee}}</span>
<span>平台服务费({{data.platformFee.goodsPaymentRatePercent}})</span>
<span>{{data.platformFee.serviceFee}}</span>
</div>
<template slot="footer">
... ... @@ -58,8 +58,7 @@ export default {
data() {
return {
confirmBtn: {},
showModal: false,
feeInfo: this.$props.data || {platformFee: {}}
showModal: false
};
},
components: {
... ... @@ -68,7 +67,7 @@ export default {
},
methods: {
onClick() {
if (!this.feeInfo.income) {
if (!this.data?.income) {
return this.$createToast({
txt: '没有价格',
time: 1500,
... ...
<template>
<div>
<div class="tip" v-if="!superSell">
需支付保证金:<span class="red">{{ earnestInfo.earnestMoneyStr || "¥0" }}</span>
需支付保证金:<span class="red">{{ data.earnestMoneyStr || '¥0' }}</span>
<i
v-if="!hiddenIcon"
class="iconfont iconquestion icon-class"
... ... @@ -16,7 +16,7 @@
<script>
export default {
name: "OrderFee",
name: 'OrderMargin',
props: {
data: {
type: Object,
... ... @@ -38,13 +38,11 @@ export default {
},
url: {
type: String,
default: ""
default: ''
}
},
data() {
return {
earnestInfo: this.$props.data || {}
}
return { };
},
methods: {
onClick() {
... ...
... ... @@ -247,7 +247,6 @@ export default {
this[Types.CHANGE_AGREE](val);
},
submit() {
//低于变现价格强制出售
if (
this.productDetail.bidPrice &&
... ...