[综法]
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
订单金额
|
||||
</view>
|
||||
<view class="listItem-cont-text listItem-cont-price">
|
||||
¥{{item.price}}
|
||||
¥{{item.total}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label" v-if="item.need_pay_diff_prices != 0">
|
||||
@@ -66,6 +66,9 @@
|
||||
<view v-else-if="item.can.pay_status == 3" @click="$Router.push({name: 'VoucherOpen', params: {payId: item.offline_pays.offline_pay_id, orderId: item.expand_order_id, orderType: item.order_type, type: 'edit'}})" class="listItem-labor-go">
|
||||
审核驳回
|
||||
</view>
|
||||
<view v-if="item.can.sign" @click="esignClick(item.expand_order_id, item.order_type)" class="listItem-labor-go yellow">
|
||||
去签约
|
||||
</view>
|
||||
<view v-if="item.can.diff_price" @click="returnGo(item.expand_order_id, item.order_type, item.can, item.price)" class="listItem-labor-go">
|
||||
去缴费
|
||||
</view>
|
||||
@@ -120,7 +123,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { expandOrder, entrustPay } from '@/apis/interfaces/synthesis'
|
||||
import { expandOrder, entrustPay, esignUrl } from '@/apis/interfaces/synthesis'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -133,6 +136,7 @@
|
||||
voucherState : false, // 上传凭证弹出
|
||||
orderType : '', // 委托单列表-类型
|
||||
orderId : '', // 委托单列表-id
|
||||
orderPrice : '', // 订单金额
|
||||
}
|
||||
},
|
||||
|
||||
@@ -177,7 +181,7 @@
|
||||
// 上传凭证
|
||||
clickOpen() {
|
||||
this.voucherState = false
|
||||
this.$Router.push({name: 'VoucherOpen', params: {orderId: this.orderId, orderType: this.orderType }})
|
||||
this.$Router.push({name: 'VoucherOpen', params: {orderId: this.orderId, orderType: this.orderType, price: this.orderPrice }})
|
||||
},
|
||||
|
||||
// 后台-补差价
|
||||
@@ -185,6 +189,25 @@
|
||||
this.$Router.push({name: 'DiffList', params: {orderId: e.expand_order_id, orderType:e.order_type, payForm: 'expand'}})
|
||||
},
|
||||
|
||||
// 去签约
|
||||
esignClick(id,type) {
|
||||
esignUrl({
|
||||
order_id : id,
|
||||
order_type: type,
|
||||
// redirect_url: "https://web.douhuofalv.com/user/index",
|
||||
redirect_url: "https://web.douhuotest.douhuofalv.com/user/index",
|
||||
channel : 'h5',
|
||||
app_scheme : ''
|
||||
}).then(res => {
|
||||
window.location.href= res.sign_url
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon: "none"
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
// 手动支付弹出
|
||||
returnGo(id, type, can) {
|
||||
this.payStatus = !this.payStatus
|
||||
@@ -220,6 +243,7 @@
|
||||
expressSheet(id, type, can, price) {
|
||||
this.orderId = id
|
||||
this.orderType = type
|
||||
this.orderPrice = price
|
||||
uni.showActionSheet({
|
||||
itemList: ['线上支付', '线下支付'],
|
||||
success: sheetRes => {
|
||||
@@ -230,7 +254,7 @@
|
||||
}
|
||||
this.voucherState = true
|
||||
} else if (sheetRes.tapIndex == 1) {
|
||||
this.$Router.push({name: 'VoucherOpen', params: {orderId: id, orderType: type}})
|
||||
this.$Router.push({name: 'VoucherOpen', params: {orderId: id, orderType: type, price: price}})
|
||||
}
|
||||
},
|
||||
fail: sheetFail => {
|
||||
|
||||
Reference in New Issue
Block a user