[综法]
This commit is contained in:
@@ -46,7 +46,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">
|
||||
@@ -73,7 +73,7 @@
|
||||
<view v-else-if="item.can.pay_status == 3" @click="$Router.push({name: 'VoucherOpen', params: {payId: item.offline_pays.offline_pay_id, orderId: item.entrust_order_id, orderType: item.order_type, type: 'edit'}})" class="listItem-labor-go">
|
||||
审核驳回
|
||||
</view>
|
||||
<view v-if="item.can.sign" @click="returnGo(item.entrust_order_id, item.order_type, item.can, item.price)" class="listItem-labor-go yellow">
|
||||
<view v-if="item.can.sign" @click="esignClick(item.entrust_order_id, item.order_type)" class="listItem-labor-go yellow">
|
||||
去签约
|
||||
</view>
|
||||
<view v-if="item.can.diff_price" @click="returnGo(item.entrust_order_id, item.order_type, item.can, item.price)" class="listItem-labor-go">
|
||||
@@ -130,7 +130,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { entrustOrder, entrustPay } from '@/apis/interfaces/synthesis'
|
||||
import { entrustOrder, entrustPay, esignUrl } from '@/apis/interfaces/synthesis'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -139,6 +139,7 @@
|
||||
yearArr : [], // 委托单列表
|
||||
orderType : '', // 委托单列表-类型
|
||||
orderId : '', // 委托单列表-id
|
||||
orderPrice : '', // 订单金额
|
||||
orderCan : '', // 委托单列表-操作
|
||||
price : '', // 缴费金额
|
||||
payStatus : false, // 缴费弹出
|
||||
@@ -198,6 +199,25 @@
|
||||
this.yearServe();
|
||||
},
|
||||
|
||||
// 去签约
|
||||
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
|
||||
@@ -231,6 +251,7 @@
|
||||
expressSheet(id, type, can, price) {
|
||||
this.orderId = id
|
||||
this.orderType = type
|
||||
this.orderPrice = price
|
||||
uni.showActionSheet({
|
||||
itemList: ['线上支付', '线下支付'],
|
||||
success: sheetRes => {
|
||||
@@ -241,7 +262,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}})
|
||||
}
|
||||
|
||||
this.price = ''
|
||||
@@ -253,7 +274,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}})
|
||||
},
|
||||
|
||||
// 后台-补差价
|
||||
|
||||
Reference in New Issue
Block a user