|
|
|
|
@ -352,7 +352,7 @@
|
|
|
|
|
<view class="bottom-bar">
|
|
|
|
|
<view class="price">
|
|
|
|
|
<text>实付:</text>
|
|
|
|
|
<text>¥ {{ accompanyProduct.price }}</text>
|
|
|
|
|
<text>¥ {{ orderId?paidPrice:accompanyProduct.price }}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<u-button
|
|
|
|
|
v-if="form.pay_status === 0"
|
|
|
|
|
@ -623,6 +623,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
paidPrice:0,
|
|
|
|
|
workStatus: new Map([
|
|
|
|
|
[0, '待处理'],
|
|
|
|
|
[1, '已到客户家'],
|
|
|
|
|
@ -781,6 +782,7 @@ export default {
|
|
|
|
|
this.fileList = res.files.map(i => ({
|
|
|
|
|
url: i.url
|
|
|
|
|
}))
|
|
|
|
|
this.paidPrice = res.price
|
|
|
|
|
uni.setNavigationBarTitle({
|
|
|
|
|
title: res.accompany_product?res.accompany_product.name:'订单详情'
|
|
|
|
|
})
|
|
|
|
|
@ -886,6 +888,7 @@ export default {
|
|
|
|
|
const res = await this.$u.api.accompanyProductOrder(this.form);
|
|
|
|
|
if (res) {
|
|
|
|
|
this.orderId = res.id;
|
|
|
|
|
this.paidPrice = res.price
|
|
|
|
|
uni.showModal({
|
|
|
|
|
title: "下单成功",
|
|
|
|
|
content: "下单成功,是否立即支付?",
|
|
|
|
|
|