添加物流bugfix
This commit is contained in:
@ -2,7 +2,7 @@ import request from '@/utils/request'
|
|||||||
|
|
||||||
// 提交售后
|
// 提交售后
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
订单号 orderCode;
|
订单号 orderCode;
|
||||||
服务类型 0仅退款1退货退款 serviceType;
|
服务类型 0仅退款1退货退款 serviceType;
|
||||||
申请原因 reasonForApplication;
|
申请原因 reasonForApplication;
|
||||||
@ -46,12 +46,12 @@ export function rebackAfterSeals (key, id) {
|
|||||||
// 获取物流信息
|
// 获取物流信息
|
||||||
export function getExpressData () {
|
export function getExpressData () {
|
||||||
return request.get('/yxExpress')
|
return request.get('/yxExpress')
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 添加快递单号
|
// 添加快递单号
|
||||||
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