添加物流bugfix

This commit is contained in:
taozi
2023-04-09 00:16:40 +08:00
parent 0c391fcdbc
commit 1b54f87365
3 changed files with 6 additions and 3 deletions

View File

@ -51,7 +51,7 @@ export function getExpressData () {
// 添加快递单号
export function addExpressData (params) {
return request.post('/addLogisticsInformation?' + `code=${params.code}&name=${params.name}&postalCode=${params.postalCode}&orderCode=${params.orderCode}&`, '', {
return request.post('/addLogisticsInformation?' + `code=${params.code}&name=${params.name}&id=${params.id}&postalCode=${params.postalCode}&orderCode=${params.orderCode}&`, '', {
login: true
})
}

View File

@ -171,6 +171,7 @@ export default {
path: '/pages/order/submitExpress/index',
query: {
orderCode: this.orderId,
id: this.id,
},
})
},

View File

@ -44,6 +44,7 @@ export default {
name: '', // 快递公司名称
postalCode: '', // 快递编号
orderCode: '', // 订单编号
id: '', // 售后订单id
},
expressList: [],
expressPicker: [],
@ -52,6 +53,7 @@ export default {
},
mounted() {
this.expressQuery.orderCode = this.$yroute.query.orderCode
this.expressQuery.id = this.$yroute.query.id
this.getExpress()
},
methods: {