|
|
@ -14,9 +14,11 @@ |
|
|
|
<view class="row"> |
|
|
|
<view class="row"> |
|
|
|
<view class="goods-info"> |
|
|
|
<view class="goods-info"> |
|
|
|
<view class="img"> |
|
|
|
<view class="img"> |
|
|
|
<image mode="widthFix" :src="imageUrl+rec.goodsImg" v-if="rec.goodsType == 1 || rec.goodsType == 7"></image> |
|
|
|
<image mode="widthFix" :src="imageUrl+rec.goodsImg" |
|
|
|
|
|
|
|
v-if="rec.goodsType == 1 || rec.goodsType == 7"></image> |
|
|
|
<image mode="widthFix" :src="imagewxUrl+imgadres1" v-if="rec.goodsType == 6"></image> |
|
|
|
<image mode="widthFix" :src="imagewxUrl+imgadres1" v-if="rec.goodsType == 6"></image> |
|
|
|
<image mode="widthFix" :src="rec.goodsImg" v-if="rec.goodsType != 1 && rec.goodsType != 6 && rec.goodsType != 7"></image> |
|
|
|
<image mode="widthFix" :src="rec.goodsImg" |
|
|
|
|
|
|
|
v-if="rec.goodsType != 1 && rec.goodsType != 6 && rec.goodsType != 7"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="info"> |
|
|
|
<view class="info"> |
|
|
|
<view class="title">{{rec.goodsName}}</view> |
|
|
|
<view class="title">{{rec.goodsName}}</view> |
|
|
@ -110,8 +112,7 @@ |
|
|
|
¥{{recinfo.totalPrice}} |
|
|
|
¥{{recinfo.totalPrice}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="right" v-else> |
|
|
|
<view class="right" v-else> |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" src="../../../static/img/jfx.png"> |
|
|
|
src="../../../static/img/jfx.png"> |
|
|
|
|
|
|
|
</image>{{(recinfo.totalPrice * 10 * 10).toFixed(0)}} |
|
|
|
</image>{{(recinfo.totalPrice * 10 * 10).toFixed(0)}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -123,8 +124,7 @@ |
|
|
|
¥{{recinfo.payPrice}} |
|
|
|
¥{{recinfo.payPrice}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="right" v-else> |
|
|
|
<view class="right" v-else> |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" src="../../../static/img/jfx.png"> |
|
|
|
src="../../../static/img/jfx.png"> |
|
|
|
|
|
|
|
</image>{{(recinfo.payPrice* 10 * 10).toFixed(0)}} |
|
|
|
</image>{{(recinfo.payPrice* 10 * 10).toFixed(0)}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -136,8 +136,7 @@ |
|
|
|
¥{{recinfo.payRealPrice}} |
|
|
|
¥{{recinfo.payRealPrice}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="right" v-else> |
|
|
|
<view class="right" v-else> |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" src="../../../static/img/jfx.png"> |
|
|
|
src="../../../static/img/jfx.png"> |
|
|
|
|
|
|
|
</image>{{(recinfo.payRealPrice * 10 * 10).toFixed(0)}} |
|
|
|
</image>{{(recinfo.payRealPrice * 10 * 10).toFixed(0)}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -149,8 +148,7 @@ |
|
|
|
¥{{recinfo.deductionPrice}} |
|
|
|
¥{{recinfo.deductionPrice}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="right" v-else> |
|
|
|
<view class="right" v-else> |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" src="../../../static/img/jfx.png"> |
|
|
|
src="../../../static/img/jfx.png"> |
|
|
|
|
|
|
|
</image>{{(recinfo.deductionPrice * 10 * 10).toFixed(0)}} |
|
|
|
</image>{{(recinfo.deductionPrice * 10 * 10).toFixed(0)}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -194,6 +192,30 @@ |
|
|
|
{{recinfo.refusalRefundContent}} |
|
|
|
{{recinfo.refusalRefundContent}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="row" v-if="materialData"> |
|
|
|
|
|
|
|
<view class="left"> |
|
|
|
|
|
|
|
联系人 : |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="right"> |
|
|
|
|
|
|
|
{{materialData.user}} |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="row" v-if="materialData"> |
|
|
|
|
|
|
|
<view class="left"> |
|
|
|
|
|
|
|
联系电话 : |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="right"> |
|
|
|
|
|
|
|
{{materialData.phone}} |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="row" v-if="materialData"> |
|
|
|
|
|
|
|
<view class="left"> |
|
|
|
|
|
|
|
联系地址 : |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="right"> |
|
|
|
|
|
|
|
{{materialData.address}} |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
<view class="row" v-if="recinfo.finishTime"> |
|
|
|
<view class="row" v-if="recinfo.finishTime"> |
|
|
|
<view class="left"> |
|
|
|
<view class="left"> |
|
|
|
完成时间 : |
|
|
|
完成时间 : |
|
|
@ -297,8 +319,7 @@ |
|
|
|
<view class="sum">合计: |
|
|
|
<view class="sum">合计: |
|
|
|
<view class="money" v-if="recinfo.payType != 3">¥{{recinfo.payPrice}}</view> |
|
|
|
<view class="money" v-if="recinfo.payType != 3">¥{{recinfo.payPrice}}</view> |
|
|
|
<view class="money" v-else> |
|
|
|
<view class="money" v-else> |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" |
|
|
|
<image style="width: 15px;height: 15px;vertical-align: sub;" src="../../../static/img/jfx.png"> |
|
|
|
src="../../../static/img/jfx.png"> |
|
|
|
|
|
|
|
</image>{{recinfo.payPrice*100}} |
|
|
|
</image>{{recinfo.payPrice*100}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -332,7 +353,8 @@ |
|
|
|
imageUrl: app.globalData.imgUrl, |
|
|
|
imageUrl: app.globalData.imgUrl, |
|
|
|
imagewxUrl: app.globalData.imageWxImg, |
|
|
|
imagewxUrl: app.globalData.imageWxImg, |
|
|
|
imgadres1: 'dhf.png', |
|
|
|
imgadres1: 'dhf.png', |
|
|
|
preByOrderInfo:'' |
|
|
|
preByOrderInfo: '', |
|
|
|
|
|
|
|
materialData: '' //实物参数 |
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
@ -392,6 +414,9 @@ |
|
|
|
if (res.return_code == '000000') { |
|
|
|
if (res.return_code == '000000') { |
|
|
|
uni.hideLoading(); |
|
|
|
uni.hideLoading(); |
|
|
|
this.recinfo = res.return_data; |
|
|
|
this.recinfo = res.return_data; |
|
|
|
|
|
|
|
if (res.return_data.remarks) { |
|
|
|
|
|
|
|
this.materialData = JSON.parse(res.return_data.remarks); |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
uni.hideLoading() |
|
|
|
uni.hideLoading() |
|
|
|
} |
|
|
|
} |
|
|
@ -409,7 +434,7 @@ |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
//预约商品完成 |
|
|
|
//预约商品完成 |
|
|
|
orderComplete(){ |
|
|
|
orderComplete() { |
|
|
|
let that = this; |
|
|
|
let that = this; |
|
|
|
uni.showModal({ |
|
|
|
uni.showModal({ |
|
|
|
title: '预约完成', |
|
|
|
title: '预约完成', |
|
|
@ -420,7 +445,7 @@ |
|
|
|
title: '加载中...' |
|
|
|
title: '加载中...' |
|
|
|
}) |
|
|
|
}) |
|
|
|
let params = { |
|
|
|
let params = { |
|
|
|
preOrderId : this.preByOrderInfo.id |
|
|
|
preOrderId: this.preByOrderInfo.id |
|
|
|
} |
|
|
|
} |
|
|
|
orderComplete(params).then(res => { |
|
|
|
orderComplete(params).then(res => { |
|
|
|
if (res.return_code == '000000') { |
|
|
|
if (res.return_code == '000000') { |
|
|
@ -507,7 +532,8 @@ |
|
|
|
uni.redirectTo({ |
|
|
|
uni.redirectTo({ |
|
|
|
url: "/pages/pay/payment/payment?amount=" + this.recinfo.payPrice + |
|
|
|
url: "/pages/pay/payment/payment?amount=" + this.recinfo.payPrice + |
|
|
|
'&paytype=' + payTypes + '&orderId=' + this.recinfo.id + '&couponId=' + this.recinfo |
|
|
|
'&paytype=' + payTypes + '&orderId=' + this.recinfo.id + '&couponId=' + this.recinfo |
|
|
|
.highChildOrderList[0].goodsId + '&typeaout='+ this.recinfo.highChildOrderList[0].ext1+'&goodsType='+ this.recinfo.highChildOrderList[0].goodsType |
|
|
|
.highChildOrderList[0].goodsId + '&typeaout=' + this.recinfo.highChildOrderList[0].ext1 + |
|
|
|
|
|
|
|
'&goodsType=' + this.recinfo.highChildOrderList[0].goodsType |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
@ -719,7 +745,7 @@ |
|
|
|
font-size: 20px; |
|
|
|
font-size: 20px; |
|
|
|
font-weight: 600; |
|
|
|
font-weight: 600; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|