添加物流bugfix
This commit is contained in:
@ -51,7 +51,7 @@ export function getExpressData () {
|
|||||||
|
|
||||||
// 添加快递单号
|
// 添加快递单号
|
||||||
export function addExpressData (params) {
|
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
|
login: true
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -171,6 +171,7 @@ export default {
|
|||||||
path: '/pages/order/submitExpress/index',
|
path: '/pages/order/submitExpress/index',
|
||||||
query: {
|
query: {
|
||||||
orderCode: this.orderId,
|
orderCode: this.orderId,
|
||||||
|
id: this.id,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -44,6 +44,7 @@ export default {
|
|||||||
name: '', // 快递公司名称
|
name: '', // 快递公司名称
|
||||||
postalCode: '', // 快递编号
|
postalCode: '', // 快递编号
|
||||||
orderCode: '', // 订单编号
|
orderCode: '', // 订单编号
|
||||||
|
id: '', // 售后订单id
|
||||||
},
|
},
|
||||||
expressList: [],
|
expressList: [],
|
||||||
expressPicker: [],
|
expressPicker: [],
|
||||||
@ -52,6 +53,7 @@ export default {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.expressQuery.orderCode = this.$yroute.query.orderCode
|
this.expressQuery.orderCode = this.$yroute.query.orderCode
|
||||||
|
this.expressQuery.id = this.$yroute.query.id
|
||||||
this.getExpress()
|
this.getExpress()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
Reference in New Issue
Block a user