调整支付信息接口
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name" : "抖火",
|
||||
"appid" : "__UNI__C305C03",
|
||||
"description" : "纵有疾风起,人生不言弃",
|
||||
"versionName" : "1.4.7",
|
||||
"versionName" : "1.4.6",
|
||||
"versionCode" : 104,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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>
|
||||
@@ -80,6 +80,7 @@
|
||||
params : [],
|
||||
createdAt: '',
|
||||
user : {},
|
||||
payType : '',
|
||||
lawyer : null,
|
||||
price : '0.00'
|
||||
};
|
||||
@@ -90,7 +91,7 @@
|
||||
mask : true
|
||||
})
|
||||
expandInfo(this.$Route.query.id).then(res => {
|
||||
let { expand, params, created_at, user, order_no, total, lawyer } = res;
|
||||
let { expand, params, created_at, user, order_no, total, lawyer, pay_driver_text } = res;
|
||||
this.lawyer = lawyer
|
||||
this.expand = expand
|
||||
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,
|
||||
|
||||
@@ -419,7 +419,6 @@
|
||||
this.status = page.has_more ? 'loading' : 'nomore'
|
||||
uni.hideLoading()
|
||||
}).catch(err => {
|
||||
console.log(err)
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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>
|
||||
@@ -80,6 +80,7 @@
|
||||
params : [],
|
||||
createdAt: '',
|
||||
user : {},
|
||||
payType : '',
|
||||
lawyer : null,
|
||||
price : '0.00'
|
||||
};
|
||||
@@ -90,7 +91,7 @@
|
||||
mask : true
|
||||
})
|
||||
synthesisInfo(this.$Route.query.id).then(res => {
|
||||
let { synthesis, params, created_at, user, order_no, price, lawyer } = res;
|
||||
let { synthesis, params, created_at, user, order_no, price, lawyer, pay_driver_text } = res;
|
||||
this.synthesis = synthesis
|
||||
this.params = params
|
||||
this.createdAt = created_at
|
||||
@@ -98,6 +99,7 @@
|
||||
this.no = order_no
|
||||
this.price = price
|
||||
this.lawyer = lawyer
|
||||
this.payType = pay_driver_text || '-'
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
|
||||
Reference in New Issue
Block a user