[修改综法下单]

This commit is contained in:
2023-05-16 10:04:46 +08:00
parent d61dde8bd8
commit b84661015a
7 changed files with 50 additions and 24 deletions

View File

@@ -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 => {