添加物流bugfix
This commit is contained in:
@ -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
|
||||
})
|
||||
}
|
||||
|
@ -171,6 +171,7 @@ export default {
|
||||
path: '/pages/order/submitExpress/index',
|
||||
query: {
|
||||
orderCode: this.orderId,
|
||||
id: this.id,
|
||||
},
|
||||
})
|
||||
},
|
||||
|
@ -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: {
|
||||
|
Reference in New Issue
Block a user