feat: 提货清单隐藏取货码
This commit is contained in:
@@ -21,6 +21,32 @@ const OrderStoreApi = {
|
||||
},
|
||||
});
|
||||
},
|
||||
getRecentCompleted: (pickUpStoreId, days = 7) => {
|
||||
return request({
|
||||
url: '/trade/order-store/staff/recent-completed',
|
||||
method: 'GET',
|
||||
params: {
|
||||
pickUpStoreId,
|
||||
days,
|
||||
},
|
||||
custom: {
|
||||
showLoading: false,
|
||||
},
|
||||
});
|
||||
},
|
||||
getPreparationStatus: (pickUpStoreId, orderId) => {
|
||||
return request({
|
||||
url: '/trade/order-store/preparation-status',
|
||||
method: 'GET',
|
||||
params: {
|
||||
pickUpStoreId,
|
||||
orderId,
|
||||
},
|
||||
custom: {
|
||||
showLoading: false,
|
||||
},
|
||||
});
|
||||
},
|
||||
markSorted: (ids) => {
|
||||
const idText = Array.isArray(ids) ? ids.filter(Boolean).join(',') : String(ids || '');
|
||||
return request({
|
||||
@@ -35,13 +61,11 @@ const OrderStoreApi = {
|
||||
},
|
||||
});
|
||||
},
|
||||
verify: (ids, pickUpVerifyCode) => {
|
||||
const idText = Array.isArray(ids) ? ids.filter(Boolean).join(',') : String(ids || '');
|
||||
verify: (pickUpVerifyCode) => {
|
||||
return request({
|
||||
url: '/trade/order-store/staff/verify',
|
||||
method: 'PUT',
|
||||
params: {
|
||||
ids: idText,
|
||||
pickUpVerifyCode: String(pickUpVerifyCode || '').trim(),
|
||||
},
|
||||
custom: {
|
||||
|
||||
Reference in New Issue
Block a user