提交
This commit is contained in:
@@ -88,7 +88,17 @@
|
||||
</image>
|
||||
<view class="normal_box">
|
||||
<view class="normal_box_top" style="justify-content: space-between">
|
||||
<view class="curriulum_title">{{ v.productName }} </view>
|
||||
<view
|
||||
class="curriulum_title"
|
||||
style="width: calc(100% - 160rpx); font-size: 14px"
|
||||
>{{ v.productName }}
|
||||
</view>
|
||||
<u-number-box
|
||||
:min="1"
|
||||
:input-width="30"
|
||||
v-model="orderNumber"
|
||||
button-size="20"
|
||||
></u-number-box>
|
||||
</view>
|
||||
|
||||
<view>
|
||||
@@ -97,16 +107,16 @@
|
||||
v.isVipPrice == 1 && v.vipPrice != 0 && v.vipPrice != null
|
||||
"
|
||||
>
|
||||
<text style="color: #e97512; font-size: 12px; font-weight: bold"
|
||||
<text style="color: #e97512; font-size: 14px; font-weight: bold"
|
||||
>¥{{ v.vipPrice.toFixed(2) }}</text
|
||||
>
|
||||
<text style="color: #fa2d12; font-size: 10px; margin-left: 4px"
|
||||
<text style="color: #fa2d12; font-size: 12px; margin-left: 4px"
|
||||
>VIP到手价</text
|
||||
>
|
||||
<text
|
||||
style="
|
||||
color: #8a8a8a;
|
||||
font-size: 10px;
|
||||
font-size: 12px;
|
||||
margin-left: 4px;
|
||||
font-weight: bold;
|
||||
text-decoration: line-through;
|
||||
@@ -116,16 +126,16 @@
|
||||
</text>
|
||||
|
||||
<text v-else-if="v.activityPrice && v.activityPrice > 0">
|
||||
<text style="color: #e97512; font-size: 12px; font-weight: bold"
|
||||
<text style="color: #e97512; font-size: 14px; font-weight: bold"
|
||||
>¥{{ v.activityPrice.toFixed(2) }}</text
|
||||
>
|
||||
<text style="color: #613804; font-size: 10px; margin-left: 4px"
|
||||
<text style="color: #613804; font-size: 12px; margin-left: 4px"
|
||||
>活动价</text
|
||||
>
|
||||
<text
|
||||
style="
|
||||
color: #8a8a8a;
|
||||
font-size: 10px;
|
||||
font-size: 12px;
|
||||
margin-left: 4px;
|
||||
font-weight: bold;
|
||||
text-decoration: line-through;
|
||||
@@ -134,25 +144,9 @@
|
||||
>
|
||||
</text>
|
||||
|
||||
<text v-else style="font-size: 12px"
|
||||
<text v-else style="font-size: 14px"
|
||||
>¥{{ Number(v.price).toFixed(2) }}</text
|
||||
>
|
||||
<!-- <u-number-box v-model="orderNumber" style="float: right">
|
||||
<view slot="minus" class="minus">
|
||||
<u-icon name="minus" size="12"></u-icon>
|
||||
</view>
|
||||
<text
|
||||
slot="input"
|
||||
style="width: auto; text-align: center; border: none"
|
||||
class="input"
|
||||
>{{ orderNumber }}</text
|
||||
>
|
||||
<view slot="plus" class="plus">
|
||||
<u-icon name="plus" color="#FFFFFF" size="12"></u-icon>
|
||||
</view>
|
||||
</u-number-box> -->
|
||||
<u-number-box :min="1" v-model="orderNumber" ></u-number-box>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -941,7 +935,12 @@ export default {
|
||||
this.jfNumberShow = this.jfNumber.toFixed(2);
|
||||
}
|
||||
|
||||
this.actualPayment = this.totalPrice - this.jfNumber -this.districtAmount -this.vipPrice + this.freightNum;
|
||||
this.actualPayment =Number(
|
||||
this.totalPrice -
|
||||
this.jfNumber -
|
||||
this.districtAmount -
|
||||
this.vipPrice +
|
||||
this.freightNum).toFixed(2);
|
||||
|
||||
if (this.actualPayment == 0) {
|
||||
this.isDefaultCurrency = true;
|
||||
@@ -1200,23 +1199,23 @@ export default {
|
||||
}
|
||||
if (that.jfNumber == 0 || that.jfNumber == null) {
|
||||
that.jfNumberShow = "0.00";
|
||||
that.actualPayment = that.totalPrice;
|
||||
that.actualPayment = that.totalPrice.toFixed(2);
|
||||
} else {
|
||||
that.jfNumberShow = that.jfNumber.toFixed(2);
|
||||
that.actualPayment = that.totalPrice - that.jfNumber;
|
||||
that.actualPayment = Number(that.totalPrice - that.jfNumber).toFixed(2);
|
||||
}
|
||||
that.actualPayment =
|
||||
that.actualPayment =Number(
|
||||
that.actualPayment +
|
||||
that.freightNum -
|
||||
that.districtAmount -
|
||||
that.vipPrice;
|
||||
that.vipPrice).toFixed(2);
|
||||
} else {
|
||||
that.actualPayment =
|
||||
that.actualPayment =Number(
|
||||
that.totalPrice +
|
||||
that.freightNum -
|
||||
couponAmount -
|
||||
that.districtAmount -
|
||||
that.vipPrice;
|
||||
that.vipPrice).toFixed(2);
|
||||
}
|
||||
|
||||
if (this.actualPayment == 0 && !this.isShowAddress) {
|
||||
@@ -1314,12 +1313,13 @@ export default {
|
||||
couponId: null, //优惠券Id
|
||||
// isSend: this.isSend,
|
||||
couponName: "", //优惠券名称
|
||||
districtMoney: 0, //优惠金额
|
||||
vipDiscountAmount: this.vipPrice, //折扣金额
|
||||
districtMoney: this.districtAmount, //折扣金额
|
||||
|
||||
productList: this.goodsDataList.map((e) => {
|
||||
return {
|
||||
productId: e.productId,
|
||||
quantity: 1,
|
||||
quantity: this.orderNumber,
|
||||
};
|
||||
}), //订单列表商品
|
||||
orderType: "order", //订单类型
|
||||
|
||||
Reference in New Issue
Block a user