委托单新增 price,首页案件委托接收参数 id 和order orderId

This commit is contained in:
2023-05-26 11:24:05 +08:00
parent aa1312f5da
commit c2d7083757
2 changed files with 4 additions and 2 deletions

View File

@@ -236,7 +236,7 @@
this.payStatus = false
// 选择支付方式
this.expressSheet(res.synthesis_diff_price_id, res.order_type, res.can)
this.expressSheet(res.synthesis_diff_price_id, res.order_type, res.can,this.price)
}).catch(err => {
this.payStatus = false
uni.showToast({
@@ -249,6 +249,7 @@
// 选择支付方式
expressSheet(id, type, can, price) {
console.log(price)
this.orderId = id
this.orderType = type
this.orderPrice = price

View File

@@ -134,10 +134,11 @@
}
},
onShow() {
console.log(this.$Route.query)
this.token = this.$store.getters.getToken
this.payPrice = this.$Route.query.price
this.payForm = this.$Route.query.payForm
this.orderId = this.$Route.query.id
this.orderId = this.$Route.query.id || this.$Route.query.orderId
},
methods: {
// 选择支付方式