...
|
...
|
@@ -18,7 +18,7 @@ export default function() { |
|
|
* @returns ts ILogisticsInfo
|
|
|
*/
|
|
|
async fetchLogisticInfo({ commit }, { owner, code } = {}) {
|
|
|
const res = await this.$api.get('/api/order/express', {
|
|
|
const res = await this.$api.post('/api/order/express', {
|
|
|
tabType: owner,
|
|
|
orderCode: +code,
|
|
|
});
|
...
|
...
|
@@ -27,17 +27,17 @@ export default function() { |
|
|
commit('initData', res.data);
|
|
|
}
|
|
|
},
|
|
|
async flawReject({commit}, {orderCode} = {}) {
|
|
|
async flawReject(_, { orderCode } = {}) {
|
|
|
return this.$api.get('/api/order/flawreject', {
|
|
|
orderCode
|
|
|
})
|
|
|
orderCode,
|
|
|
});
|
|
|
},
|
|
|
|
|
|
async flawAccept({commit}, {orderCode} = {}) {
|
|
|
async flawAccept(_, { orderCode } = {}) {
|
|
|
return this.$api.get('/api/order/flawaccept', {
|
|
|
orderCode
|
|
|
})
|
|
|
}
|
|
|
orderCode,
|
|
|
});
|
|
|
},
|
|
|
},
|
|
|
};
|
|
|
} |
...
|
...
|
|