|
|
@@ -24,7 +24,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="module-com order-msg" v-if="!$util.isEmpty(orderInfo.receiveMobile)">
|
|
|
+ <view class="module-com order-msg">
|
|
|
<view class="module-tit">
|
|
|
收花人信息
|
|
|
<button class="admin-button-com mini-btn" @click="edit" style="float:right;">编辑</button>
|
|
|
@@ -32,7 +32,7 @@
|
|
|
<view class="module-det">
|
|
|
<view class="order-msg-blo">
|
|
|
<view class="msg-list">
|
|
|
- <view class="label">收花:</view>
|
|
|
+ <view class="label">名称:</view>
|
|
|
<view class="value">{{ orderInfo.receiveUserName }}</view>
|
|
|
</view>
|
|
|
<view class="msg-list">
|
|
|
@@ -43,15 +43,13 @@
|
|
|
<view class="label">地址:</view>
|
|
|
<view class="value">{{ orderInfo.fullAddress }}<text v-if="!$util.isEmpty(orderInfo.showAddress)">({{orderInfo.showAddress}})</text></view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="order-msg-blo">
|
|
|
<view class="msg-list" v-if="orderInfo.anonymity && Number(orderInfo.anonymity) == 1">
|
|
|
<view class="label">要求:</view>
|
|
|
<view class="value" style="font-weight:bold;color:red;">匿名派送</view>
|
|
|
</view>
|
|
|
<view class="msg-list">
|
|
|
- <view class="label">送达:</view>
|
|
|
- <view v-if="orderInfo.reachDate == '0000-00-00'" class="value">-</view>
|
|
|
+ <view class="label">时间:</view>
|
|
|
+ <view v-if="orderInfo.reachDate == '0000-00-00'" class="value"></view>
|
|
|
<view v-else class="value"><span style="margin-right:10upx;">{{orderInfo.reachDate}}</span> <span v-if="orderInfo.reachPeriod == 0">上午</span><span v-else-if="orderInfo.reachPeriod == 1">下午</span><span v-else>晚上</span></view>
|
|
|
</view>
|
|
|
<view v-if="orderInfo.reachDate != '0000-00-00'" class="msg-list">
|
|
|
@@ -60,7 +58,7 @@
|
|
|
</view>
|
|
|
<view class="msg-list">
|
|
|
<view class="label">寄语:</view>
|
|
|
- <view class="value">{{ orderInfo.cardInfo || '-' }}</view>
|
|
|
+ <view class="value">{{ orderInfo.cardInfo || '' }}</view>
|
|
|
</view>
|
|
|
<view class="msg-list">
|
|
|
<view class="label">订花人电话:</view>
|
|
|
@@ -77,6 +75,16 @@
|
|
|
</view>
|
|
|
<view class="module-det">
|
|
|
<view class="order-msg-blo">
|
|
|
+
|
|
|
+ <view class="msg-list" v-if="Number(dj)>0">
|
|
|
+ <view class="label">订金:</view>
|
|
|
+ <view class="value">¥{{dj}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="msg-list" v-if="Number(orderInfo.remainDebtPrice)>0">
|
|
|
+ <view class="label" style="color:red;">尾款:</view>
|
|
|
+ <view class="value" style="color:red;font-weight:bold;">¥{{ orderInfo.remainDebtPrice ? parseFloat(orderInfo.remainDebtPrice) : 0 }}</view>
|
|
|
+ </view>
|
|
|
+
|
|
|
<view class="msg-list">
|
|
|
<view class="label">状态:</view>
|
|
|
<view class="value">{{orderInfo.status == 1?'待付款':orderInfo.status==2?'待配送':orderInfo.status == 3?'配送中':orderInfo.status ==4?'已完成':orderInfo.status == 5?'已取消':'待付款'}}</view>
|
|
|
@@ -102,7 +110,7 @@
|
|
|
<view class="value">-¥{{ orderInfo.discountAmount ? parseFloat(orderInfo.discountAmount) : 0 }}</view>
|
|
|
</view>
|
|
|
<view class="msg-list">
|
|
|
- <view class="label">金额:</view>
|
|
|
+ <view class="label">原价:</view>
|
|
|
<view class="value">¥{{ orderInfo.orderPrice ? parseFloat(orderInfo.orderPrice) : 0 }}</view>
|
|
|
</view>
|
|
|
<view class="msg-list" v-if="Number(orderInfo.tkPrice)>0">
|
|
|
@@ -111,9 +119,10 @@
|
|
|
<view style="color: #3385ff;margin-left:50upx;" @click="pageTo({url: '/admin/order/refundList',query: {orderSn: orderInfo.orderSn}})">退款记录</view>
|
|
|
</view>
|
|
|
<view class="msg-list">
|
|
|
- <view class="label">实付:</view>
|
|
|
+ <view class="label">实价:</view>
|
|
|
<view class="value">¥{{ orderInfo.realPrice ? parseFloat(orderInfo.realPrice) : 0 }}</view>
|
|
|
</view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -142,7 +151,8 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
constant: this.$constant,
|
|
|
- orderInfo: {}
|
|
|
+ orderInfo: {},
|
|
|
+ dj:0
|
|
|
};
|
|
|
},
|
|
|
onLoad() {
|
|
|
@@ -175,6 +185,8 @@ export default {
|
|
|
return getDetB({ id: this.option.id }).then(res => {
|
|
|
this.orderInfo = res.data;
|
|
|
this.orderInfo.deadline = commonUtil.getFormatDate(this.orderInfo.deadline,'MM-dd hh:mm')
|
|
|
+ this.dj = this.orderInfo.actPrice - this.orderInfo.debtPrice
|
|
|
+ this.dj = parseFloat(this.dj.toFixed(2))
|
|
|
});
|
|
|
}
|
|
|
}
|