调整支付信息接口

This commit is contained in:
唐明明
2023-06-07 10:35:03 +08:00
parent 3616646dd0
commit 23aaf13ffa
6 changed files with 18 additions and 14 deletions

View File

@@ -48,7 +48,7 @@
<view class="block-item">
<view class="block-item-flex">
<label>支付方式</label>
<view class="val">现金</view>
<view class="val">{{payType || '-'}}</view>
</view>
<view class="block-item-flex">
<label>业务姓名</label>
@@ -81,7 +81,8 @@
createdAt: '',
user : {},
lawyer : null,
price : '0.00'
price : '0.00',
payType : '',
};
},
created() {
@@ -90,7 +91,7 @@
mask : true
})
servicesInfo(this.$Route.query.id).then(res => {
let { service, params, created_at, user, order_no, total, lawyer } = res;
let { service, params, created_at, user, order_no, total, lawyer, pay_driver_text } = res;
this.lawyer = lawyer
this.service = service
this.params = params
@@ -98,6 +99,7 @@
this.user = user
this.no = order_no
this.price = total
this.payType = pay_driver_text || ''
}).catch(err => {
uni.showToast({
title: err.message,