调整支付信息接口
This commit is contained in:
@@ -49,7 +49,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>
|
||||
@@ -80,6 +80,7 @@
|
||||
entrust : {},
|
||||
params : [],
|
||||
createdAt: '',
|
||||
payType : '',
|
||||
user : {},
|
||||
lawyer : null,
|
||||
price : '0.00'
|
||||
@@ -91,10 +92,7 @@
|
||||
mask : true
|
||||
})
|
||||
entrustInfo(this.$Route.query.id).then(res => {
|
||||
|
||||
console.log(res)
|
||||
|
||||
let { entrust, params, created_at, user, order_no, total, lawyer } = res;
|
||||
let { entrust, params, created_at, user, order_no, total, lawyer, pay_driver_text } = res;
|
||||
this.entrust = entrust
|
||||
this.params = params
|
||||
this.createdAt = created_at
|
||||
@@ -102,6 +100,7 @@
|
||||
this.no = order_no
|
||||
this.price = total
|
||||
this.lawyer = lawyer
|
||||
this.payType = pay_driver_text || '-'
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
|
||||
Reference in New Issue
Block a user