[修改综法下单]
This commit is contained in:
@@ -300,7 +300,6 @@
|
||||
|
||||
let subData = {};
|
||||
let dataArr = []
|
||||
|
||||
for(let val of this.paramsArr){
|
||||
if(val.type === 'pro_city'){
|
||||
subData[val.key] = this.address
|
||||
@@ -315,9 +314,12 @@
|
||||
value: subData[key]
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
entrustPost(this.entrustId, {...dataArr}).then(res => {
|
||||
entrustPost(this.entrustId, {
|
||||
data: dataArr,
|
||||
type: 'self',
|
||||
channel: 'h5',
|
||||
user_id: ''
|
||||
}).then(res => {
|
||||
this.disabled = true
|
||||
this.expressSheet(res.entrust_order_id, res.order_type, res.can, res.price)
|
||||
}).catch( err => {
|
||||
|
||||
@@ -240,7 +240,12 @@
|
||||
})
|
||||
}
|
||||
|
||||
entrustPost(this.$Route.query.entrustId, {...dataArr}).then(res => {
|
||||
entrustPost(this.$Route.query.entrustId, {
|
||||
data: dataArr,
|
||||
type: 'self',
|
||||
channel: 'h5',
|
||||
user_id: ''
|
||||
}).then(res => {
|
||||
this.disabled = true
|
||||
this.expressSheet(res.entrust_order_id, res.order_type, res.can, res.price )
|
||||
}).catch( err => {
|
||||
|
||||
@@ -223,7 +223,12 @@
|
||||
})
|
||||
}
|
||||
|
||||
expandsPost(this.$Route.query.entrustId, {...dataArr}).then(res => {
|
||||
expandsPost(this.$Route.query.entrustId, {
|
||||
data: dataArr,
|
||||
type: 'self',
|
||||
channel: 'h5',
|
||||
user_id: ''
|
||||
}).then(res => {
|
||||
this.disabled = true
|
||||
this.expressSheet(res.expand_order_id, res.order_type, res.can, res.price )
|
||||
}).catch( err => {
|
||||
|
||||
@@ -208,7 +208,12 @@
|
||||
value: subData[key]
|
||||
})
|
||||
}
|
||||
synthPost(this.$Route.query.synthesisId, {...dataArr}).then(res => {
|
||||
synthPost(this.$Route.query.synthesisId, {
|
||||
data: dataArr,
|
||||
type: 'self',
|
||||
channel: 'h5',
|
||||
user_id: ''
|
||||
}).then(res => {
|
||||
this.disabled = true
|
||||
uni.showToast({
|
||||
title: '提交成功',
|
||||
|
||||
@@ -180,7 +180,12 @@
|
||||
value: subData[key]
|
||||
})
|
||||
}
|
||||
yearSynthPost(this.$Route.query.serveId, {...dataArr}).then(res => {
|
||||
yearSynthPost(this.$Route.query.serveId, {
|
||||
data: dataArr,
|
||||
type: 'self',
|
||||
channel: 'h5',
|
||||
user_id: ''
|
||||
}).then(res => {
|
||||
this.disabled = true
|
||||
this.expressSheet(res.service_order_id, res.order_type, res.can, res.price )
|
||||
}).catch( err => {
|
||||
|
||||
@@ -206,8 +206,12 @@
|
||||
value: subData[key]
|
||||
})
|
||||
}
|
||||
|
||||
yearSynthPost(this.$Route.query.serveId, {...dataArr}).then(res => {
|
||||
yearSynthPost(this.$Route.query.serveId, {
|
||||
data: dataArr,
|
||||
type: 'self',
|
||||
channel: 'h5',
|
||||
user_id: ''
|
||||
}).then(res => {
|
||||
this.disabled = true
|
||||
this.expressSheet(res.service_order_id, res.order_type, res.can, res.price )
|
||||
}).catch( err => {
|
||||
|
||||
Reference in New Issue
Block a user