feat: 标记分拣、取货门店展示
This commit is contained in:
@@ -21,6 +21,20 @@ const OrderStoreApi = {
|
||||
},
|
||||
});
|
||||
},
|
||||
markSorted: (ids) => {
|
||||
const idText = Array.isArray(ids) ? ids.filter(Boolean).join(',') : String(ids || '');
|
||||
return request({
|
||||
url: '/trade/order-store/staff/mark-sorted',
|
||||
method: 'PUT',
|
||||
params: {
|
||||
ids: idText,
|
||||
},
|
||||
custom: {
|
||||
showSuccess: true,
|
||||
successMsg: '已标记分拣',
|
||||
},
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
export default OrderStoreApi;
|
||||
|
||||
@@ -29,6 +29,18 @@ const StoreApi = {
|
||||
}
|
||||
return res;
|
||||
},
|
||||
getStoreById: (storeId) => {
|
||||
return request({
|
||||
url: '/trade/store/getStoreById',
|
||||
method: 'GET',
|
||||
params: {
|
||||
storeId,
|
||||
},
|
||||
custom: {
|
||||
showLoading: false,
|
||||
},
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
export default StoreApi;
|
||||
|
||||
Reference in New Issue
Block a user