...
|
...
|
@@ -8,10 +8,9 @@ export default { |
|
|
*/
|
|
|
getOrders(params) {
|
|
|
return api.get({
|
|
|
data: {
|
|
|
...params,
|
|
|
data: Object.assign({
|
|
|
method: 'app.SpaceOrders.get'
|
|
|
}
|
|
|
}, params)
|
|
|
});
|
|
|
},
|
|
|
|
...
|
...
|
@@ -22,10 +21,9 @@ export default { |
|
|
*/
|
|
|
delOrder(params) {
|
|
|
return api.get({
|
|
|
data: {
|
|
|
...params,
|
|
|
data: Object.assign({
|
|
|
method: 'app.SpaceOrders.delOrderByCode'
|
|
|
}
|
|
|
}, params)
|
|
|
});
|
|
|
},
|
|
|
|
...
|
...
|
@@ -36,10 +34,9 @@ export default { |
|
|
*/
|
|
|
cancelOrder(params) {
|
|
|
return api.get({
|
|
|
data: {
|
|
|
...params,
|
|
|
data: Object.assign({
|
|
|
method: 'app.SpaceOrders.close'
|
|
|
}
|
|
|
}, params)
|
|
|
});
|
|
|
},
|
|
|
|
...
|
...
|
@@ -63,10 +60,9 @@ export default { |
|
|
*/
|
|
|
confirmReceive(params) {
|
|
|
return api.get({
|
|
|
data: {
|
|
|
...params,
|
|
|
data: Object.assign({
|
|
|
method: 'app.SpaceOrders.confirm'
|
|
|
}
|
|
|
}, params)
|
|
|
});
|
|
|
},
|
|
|
|
...
|
...
|
@@ -77,10 +73,9 @@ export default { |
|
|
*/
|
|
|
expressDetail(params) {
|
|
|
return api.get({
|
|
|
data: {
|
|
|
...params,
|
|
|
data: Object.assign({
|
|
|
method: 'app.express.li'
|
|
|
}
|
|
|
}, params)
|
|
|
});
|
|
|
},
|
|
|
|
...
|
...
|
|