@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.35 → 0.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -61,7 +61,7 @@ declare class PreAllocationOrderService extends BaseService implements PreAlloca
|
|
|
61
61
|
/**
|
|
62
62
|
* 导出预配货单
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
exportExcel(request: PreAllocationOrderTypes.Request.ExportPreAllocationOrders): Promise<PreAllocationOrderTypes.Response.ExportPreAllocationOrders>;
|
|
65
65
|
/**
|
|
66
66
|
* 删除预配货单
|
|
67
67
|
*/
|
|
@@ -108,8 +108,8 @@ let PreAllocationOrderService = class PreAllocationOrderService extends BaseServ
|
|
|
108
108
|
/**
|
|
109
109
|
* 导出预配货单
|
|
110
110
|
*/
|
|
111
|
-
|
|
112
|
-
return (0, http_1.callApi)(this.getApiUrl(this.
|
|
111
|
+
exportExcel(request) {
|
|
112
|
+
return (0, http_1.callApi)(this.getApiUrl(this.exportExcel), request);
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
115
|
* 删除预配货单
|
|
@@ -187,9 +187,9 @@ __decorate([
|
|
|
187
187
|
__param(0, (0, tsoa_1.Body)())
|
|
188
188
|
], PreAllocationOrderService.prototype, "details", null);
|
|
189
189
|
__decorate([
|
|
190
|
-
(0, tsoa_1.Post)('export'),
|
|
190
|
+
(0, tsoa_1.Post)('export-excel'),
|
|
191
191
|
__param(0, (0, tsoa_1.Body)())
|
|
192
|
-
], PreAllocationOrderService.prototype, "
|
|
192
|
+
], PreAllocationOrderService.prototype, "exportExcel", null);
|
|
193
193
|
__decorate([
|
|
194
194
|
(0, tsoa_1.Post)('delete'),
|
|
195
195
|
__param(0, (0, tsoa_1.Body)())
|
|
@@ -196,7 +196,8 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
196
196
|
}
|
|
197
197
|
/** 搜索商品 */
|
|
198
198
|
interface SearchProducts {
|
|
199
|
-
|
|
199
|
+
warehouseId: string;
|
|
200
|
+
batchNos?: string[];
|
|
200
201
|
preAllocationOrderIds?: string[];
|
|
201
202
|
productIds?: string[];
|
|
202
203
|
skuCodes?: string[];
|
|
@@ -205,10 +206,12 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
205
206
|
}
|
|
206
207
|
/** 批量修改配货数量 */
|
|
207
208
|
interface BatchUpdatePickingNum {
|
|
208
|
-
|
|
209
|
+
warehouseId: string;
|
|
210
|
+
batchNos?: string[];
|
|
211
|
+
preAllocationOrderIds?: string[];
|
|
209
212
|
adjustments: Array<{
|
|
210
|
-
|
|
211
|
-
adjustmentType: 'ADD' | 'REDUCE';
|
|
213
|
+
skuId: string;
|
|
214
|
+
adjustmentType: 'ADD' | 'REDUCE' | 'SET';
|
|
212
215
|
adjustmentNum: number;
|
|
213
216
|
adjustmentReason: string;
|
|
214
217
|
}>;
|
|
@@ -224,6 +227,9 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
224
227
|
}
|
|
225
228
|
/** 导出预配货单 */
|
|
226
229
|
interface ExportPreAllocationOrders {
|
|
230
|
+
warehouseId?: string;
|
|
231
|
+
batchNos?: string[];
|
|
232
|
+
preAllocationOrderIds?: string[];
|
|
227
233
|
filters?: {
|
|
228
234
|
batchNos?: string[];
|
|
229
235
|
warehouseIds?: string[];
|
|
@@ -235,8 +241,6 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
235
241
|
batchStatus?: number;
|
|
236
242
|
status?: number;
|
|
237
243
|
};
|
|
238
|
-
batchIds?: string[];
|
|
239
|
-
preAllocationOrderIds?: string[];
|
|
240
244
|
pageIndex?: number;
|
|
241
245
|
pageSize?: number;
|
|
242
246
|
}
|
|
@@ -443,7 +447,7 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
443
447
|
/** 查询预配货单商品明细 */
|
|
444
448
|
details(request: PreAllocationOrderTypes.Request.GetPreAllocationOrderDetails): Promise<PreAllocationOrderTypes.Response.GetPreAllocationOrderDetails>;
|
|
445
449
|
/** 导出预配货单 */
|
|
446
|
-
|
|
450
|
+
exportExcel(request: PreAllocationOrderTypes.Request.ExportPreAllocationOrders): Promise<PreAllocationOrderTypes.Response.ExportPreAllocationOrders>;
|
|
447
451
|
/** 删除预配货单 */
|
|
448
452
|
delete(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrder): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrder>;
|
|
449
453
|
/** 删除预配货单明细 */
|