@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.35 → 0.0.37
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.
|
@@ -54,6 +54,14 @@ declare class PreAllocationOrderService extends BaseService implements PreAlloca
|
|
|
54
54
|
* 批量修改配货数量
|
|
55
55
|
*/
|
|
56
56
|
batchUpdatePickingNum(request: PreAllocationOrderTypes.Request.BatchUpdatePickingNum): Promise<PreAllocationOrderTypes.Response.BatchUpdatePickingNum>;
|
|
57
|
+
/**
|
|
58
|
+
* 批量填写配货备注
|
|
59
|
+
*/
|
|
60
|
+
batchUpdatePickingRemark(request: PreAllocationOrderTypes.Request.BatchUpdatePickingRemark): Promise<PreAllocationOrderTypes.Response.BatchUpdatePickingRemark>;
|
|
61
|
+
/**
|
|
62
|
+
* 批量添加商品到预配货单
|
|
63
|
+
*/
|
|
64
|
+
batchAddProducts(request: PreAllocationOrderTypes.Request.BatchAddProducts): Promise<PreAllocationOrderTypes.Response.BatchAddProducts>;
|
|
57
65
|
/**
|
|
58
66
|
* 查询预配货单商品明细
|
|
59
67
|
*/
|
|
@@ -61,7 +69,7 @@ declare class PreAllocationOrderService extends BaseService implements PreAlloca
|
|
|
61
69
|
/**
|
|
62
70
|
* 导出预配货单
|
|
63
71
|
*/
|
|
64
|
-
|
|
72
|
+
exportExcel(request: PreAllocationOrderTypes.Request.ExportPreAllocationOrders): Promise<PreAllocationOrderTypes.Response.ExportPreAllocationOrders>;
|
|
65
73
|
/**
|
|
66
74
|
* 删除预配货单
|
|
67
75
|
*/
|
|
@@ -99,6 +99,18 @@ let PreAllocationOrderService = class PreAllocationOrderService extends BaseServ
|
|
|
99
99
|
batchUpdatePickingNum(request) {
|
|
100
100
|
return (0, http_1.callApi)(this.getApiUrl(this.batchUpdatePickingNum), request);
|
|
101
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* 批量填写配货备注
|
|
104
|
+
*/
|
|
105
|
+
batchUpdatePickingRemark(request) {
|
|
106
|
+
return (0, http_1.callApi)(this.getApiUrl(this.batchUpdatePickingRemark), request);
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* 批量添加商品到预配货单
|
|
110
|
+
*/
|
|
111
|
+
batchAddProducts(request) {
|
|
112
|
+
return (0, http_1.callApi)(this.getApiUrl(this.batchAddProducts), request);
|
|
113
|
+
}
|
|
102
114
|
/**
|
|
103
115
|
* 查询预配货单商品明细
|
|
104
116
|
*/
|
|
@@ -108,8 +120,8 @@ let PreAllocationOrderService = class PreAllocationOrderService extends BaseServ
|
|
|
108
120
|
/**
|
|
109
121
|
* 导出预配货单
|
|
110
122
|
*/
|
|
111
|
-
|
|
112
|
-
return (0, http_1.callApi)(this.getApiUrl(this.
|
|
123
|
+
exportExcel(request) {
|
|
124
|
+
return (0, http_1.callApi)(this.getApiUrl(this.exportExcel), request);
|
|
113
125
|
}
|
|
114
126
|
/**
|
|
115
127
|
* 删除预配货单
|
|
@@ -182,14 +194,22 @@ __decorate([
|
|
|
182
194
|
(0, tsoa_1.Post)('batch-update-picking-num'),
|
|
183
195
|
__param(0, (0, tsoa_1.Body)())
|
|
184
196
|
], PreAllocationOrderService.prototype, "batchUpdatePickingNum", null);
|
|
197
|
+
__decorate([
|
|
198
|
+
(0, tsoa_1.Post)('batch-update-picking-remark'),
|
|
199
|
+
__param(0, (0, tsoa_1.Body)())
|
|
200
|
+
], PreAllocationOrderService.prototype, "batchUpdatePickingRemark", null);
|
|
201
|
+
__decorate([
|
|
202
|
+
(0, tsoa_1.Post)('batch-add-products'),
|
|
203
|
+
__param(0, (0, tsoa_1.Body)())
|
|
204
|
+
], PreAllocationOrderService.prototype, "batchAddProducts", null);
|
|
185
205
|
__decorate([
|
|
186
206
|
(0, tsoa_1.Post)('details'),
|
|
187
207
|
__param(0, (0, tsoa_1.Body)())
|
|
188
208
|
], PreAllocationOrderService.prototype, "details", null);
|
|
189
209
|
__decorate([
|
|
190
|
-
(0, tsoa_1.Post)('export'),
|
|
210
|
+
(0, tsoa_1.Post)('export-excel'),
|
|
191
211
|
__param(0, (0, tsoa_1.Body)())
|
|
192
|
-
], PreAllocationOrderService.prototype, "
|
|
212
|
+
], PreAllocationOrderService.prototype, "exportExcel", null);
|
|
193
213
|
__decorate([
|
|
194
214
|
(0, tsoa_1.Post)('delete'),
|
|
195
215
|
__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,15 +206,35 @@ 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
|
}>;
|
|
215
218
|
operator: string;
|
|
216
219
|
}
|
|
220
|
+
/** 批量填写配货备注 */
|
|
221
|
+
interface BatchUpdatePickingRemark {
|
|
222
|
+
warehouseId: string;
|
|
223
|
+
batchNos?: string[];
|
|
224
|
+
preAllocationOrderIds?: string[];
|
|
225
|
+
pickingRemark: string;
|
|
226
|
+
operator: string;
|
|
227
|
+
}
|
|
228
|
+
/** 批量添加商品到预配货单 */
|
|
229
|
+
interface BatchAddProducts {
|
|
230
|
+
preAllocationOrderId: string;
|
|
231
|
+
products: Array<{
|
|
232
|
+
skuId: string;
|
|
233
|
+
pickingNum: number;
|
|
234
|
+
pickingRemark?: string;
|
|
235
|
+
}>;
|
|
236
|
+
operator: string;
|
|
237
|
+
}
|
|
217
238
|
/** 查询预配货单商品明细 */
|
|
218
239
|
interface GetPreAllocationOrderDetails {
|
|
219
240
|
preAllocationOrderId: string;
|
|
@@ -224,6 +245,9 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
224
245
|
}
|
|
225
246
|
/** 导出预配货单 */
|
|
226
247
|
interface ExportPreAllocationOrders {
|
|
248
|
+
warehouseId?: string;
|
|
249
|
+
batchNos?: string[];
|
|
250
|
+
preAllocationOrderIds?: string[];
|
|
227
251
|
filters?: {
|
|
228
252
|
batchNos?: string[];
|
|
229
253
|
warehouseIds?: string[];
|
|
@@ -235,8 +259,6 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
235
259
|
batchStatus?: number;
|
|
236
260
|
status?: number;
|
|
237
261
|
};
|
|
238
|
-
batchIds?: string[];
|
|
239
|
-
preAllocationOrderIds?: string[];
|
|
240
262
|
pageIndex?: number;
|
|
241
263
|
pageSize?: number;
|
|
242
264
|
}
|
|
@@ -354,6 +376,22 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
354
376
|
message: string;
|
|
355
377
|
data: null;
|
|
356
378
|
}
|
|
379
|
+
/** 批量填写配货备注响应 */
|
|
380
|
+
interface BatchUpdatePickingRemark {
|
|
381
|
+
code: number;
|
|
382
|
+
message: string;
|
|
383
|
+
data: null;
|
|
384
|
+
}
|
|
385
|
+
/** 批量添加商品到预配货单响应 */
|
|
386
|
+
interface BatchAddProducts {
|
|
387
|
+
code: number;
|
|
388
|
+
message: string;
|
|
389
|
+
data: {
|
|
390
|
+
addedCount: number;
|
|
391
|
+
updatedCount: number;
|
|
392
|
+
skippedCount: number;
|
|
393
|
+
};
|
|
394
|
+
}
|
|
357
395
|
/** 查询预配货单商品明细响应 */
|
|
358
396
|
interface GetPreAllocationOrderDetails {
|
|
359
397
|
code: number;
|
|
@@ -443,7 +481,7 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
443
481
|
/** 查询预配货单商品明细 */
|
|
444
482
|
details(request: PreAllocationOrderTypes.Request.GetPreAllocationOrderDetails): Promise<PreAllocationOrderTypes.Response.GetPreAllocationOrderDetails>;
|
|
445
483
|
/** 导出预配货单 */
|
|
446
|
-
|
|
484
|
+
exportExcel(request: PreAllocationOrderTypes.Request.ExportPreAllocationOrders): Promise<PreAllocationOrderTypes.Response.ExportPreAllocationOrders>;
|
|
447
485
|
/** 删除预配货单 */
|
|
448
486
|
delete(request: PreAllocationOrderTypes.Request.DeletePreAllocationOrder): Promise<PreAllocationOrderTypes.Response.DeletePreAllocationOrder>;
|
|
449
487
|
/** 删除预配货单明细 */
|