@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.50 → 0.0.52
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.
- package/enum.d.ts +1 -1
- package/enum.js +1 -1
- package/index.d.ts +1 -0
- package/index.js +3 -1
- package/modules/allocationOrder/types.d.ts +3 -2
- package/modules/preAllocationOrder/routingFailureService.d.ts +15 -0
- package/modules/preAllocationOrder/routingFailureService.js +50 -0
- package/modules/preAllocationOrder/service.d.ts +4 -0
- package/modules/preAllocationOrder/service.js +10 -0
- package/modules/preAllocationOrder/types.d.ts +102 -0
- package/modules/storeReplenishOrder/types.d.ts +4 -0
- package/modules/storeStockIn/types.d.ts +3 -3
- package/package.json +1 -1
package/enum.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ export declare namespace ENUM {
|
|
|
87
87
|
enum DELIVERY_MODE_CHINESE {
|
|
88
88
|
UNCONFIGURED = "\u672A\u914D\u7F6E",
|
|
89
89
|
EXPRESS_DELIVERY = "\u5FEB\u9012\u5230\u5E97",
|
|
90
|
-
WAREHOUSE_DELIVERY = "\
|
|
90
|
+
WAREHOUSE_DELIVERY = "\u57CE\u914D\u5230\u5E97"
|
|
91
91
|
}
|
|
92
92
|
/** 配送模式映射 */
|
|
93
93
|
const DELIVERY_MODE_MAP: {
|
package/enum.js
CHANGED
|
@@ -103,7 +103,7 @@ var ENUM;
|
|
|
103
103
|
(function (DELIVERY_MODE_CHINESE) {
|
|
104
104
|
DELIVERY_MODE_CHINESE["UNCONFIGURED"] = "\u672A\u914D\u7F6E";
|
|
105
105
|
DELIVERY_MODE_CHINESE["EXPRESS_DELIVERY"] = "\u5FEB\u9012\u5230\u5E97";
|
|
106
|
-
DELIVERY_MODE_CHINESE["WAREHOUSE_DELIVERY"] = "\
|
|
106
|
+
DELIVERY_MODE_CHINESE["WAREHOUSE_DELIVERY"] = "\u57CE\u914D\u5230\u5E97";
|
|
107
107
|
})(DELIVERY_MODE_CHINESE = STORE_WAREHOUSE_ENUM.DELIVERY_MODE_CHINESE || (STORE_WAREHOUSE_ENUM.DELIVERY_MODE_CHINESE = {}));
|
|
108
108
|
/** 配送模式映射 */
|
|
109
109
|
STORE_WAREHOUSE_ENUM.DELIVERY_MODE_MAP = {
|
package/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export { AllocationOrderTypes } from './modules/allocationOrder/types';
|
|
|
6
6
|
export { storeStockInService } from './modules/storeStockIn/service';
|
|
7
7
|
export { StoreStockInTypes } from './modules/storeStockIn/types';
|
|
8
8
|
export { preAllocationOrderService } from './modules/preAllocationOrder/service';
|
|
9
|
+
export { routingFailureService } from './modules/preAllocationOrder/routingFailureService';
|
|
9
10
|
export { PreAllocationOrderTypes } from './modules/preAllocationOrder/types';
|
|
10
11
|
export { storeReplenishOrderService } from './modules/storeReplenishOrder/service';
|
|
11
12
|
export { StoreReplenishOrderTypes } from './modules/storeReplenishOrder/types';
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.purchaseOrderService = exports.warehouseStockInService = exports.warehouseInventoryService = exports.warehouseLocationService = exports.storeProductFulfillService = exports.logisticsService = exports.PickingRuleTypes = exports.pickingRuleService = exports.productStatisticsService = exports.storeReplenishOrderService = exports.preAllocationOrderService = exports.storeStockInService = exports.allocationOrderService = exports.allocationService = exports.ENUM = void 0;
|
|
3
|
+
exports.purchaseOrderService = exports.warehouseStockInService = exports.warehouseInventoryService = exports.warehouseLocationService = exports.storeProductFulfillService = exports.logisticsService = exports.PickingRuleTypes = exports.pickingRuleService = exports.productStatisticsService = exports.storeReplenishOrderService = exports.routingFailureService = exports.preAllocationOrderService = exports.storeStockInService = exports.allocationOrderService = exports.allocationService = exports.ENUM = void 0;
|
|
4
4
|
var enum_1 = require("./enum");
|
|
5
5
|
Object.defineProperty(exports, "ENUM", { enumerable: true, get: function () { return enum_1.ENUM; } });
|
|
6
6
|
var service_1 = require("./modules/allocation/service");
|
|
@@ -11,6 +11,8 @@ var service_3 = require("./modules/storeStockIn/service");
|
|
|
11
11
|
Object.defineProperty(exports, "storeStockInService", { enumerable: true, get: function () { return service_3.storeStockInService; } });
|
|
12
12
|
var service_4 = require("./modules/preAllocationOrder/service");
|
|
13
13
|
Object.defineProperty(exports, "preAllocationOrderService", { enumerable: true, get: function () { return service_4.preAllocationOrderService; } });
|
|
14
|
+
var routingFailureService_1 = require("./modules/preAllocationOrder/routingFailureService");
|
|
15
|
+
Object.defineProperty(exports, "routingFailureService", { enumerable: true, get: function () { return routingFailureService_1.routingFailureService; } });
|
|
14
16
|
var service_5 = require("./modules/storeReplenishOrder/service");
|
|
15
17
|
Object.defineProperty(exports, "storeReplenishOrderService", { enumerable: true, get: function () { return service_5.storeReplenishOrderService; } });
|
|
16
18
|
var service_6 = require("./modules/productStatistics/service");
|
|
@@ -13,6 +13,7 @@ export declare namespace AllocationOrderTypes {
|
|
|
13
13
|
pickingAt: number;
|
|
14
14
|
storeId: string;
|
|
15
15
|
warehouseId: string;
|
|
16
|
+
deliveryMode: ENUM.STORE_WAREHOUSE_ENUM.DELIVERY_MODE;
|
|
16
17
|
status: ENUM.ALLOCATION_ORDER_ENUM.STATUS;
|
|
17
18
|
shouldNum: number;
|
|
18
19
|
realNum: number;
|
|
@@ -29,7 +30,6 @@ export declare namespace AllocationOrderTypes {
|
|
|
29
30
|
interface AllocationOrderWithExtension extends AllocationOrder {
|
|
30
31
|
storeName?: string;
|
|
31
32
|
warehouseName?: string;
|
|
32
|
-
deliveryMode?: number;
|
|
33
33
|
regionName?: string;
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
@@ -167,7 +167,7 @@ export declare namespace AllocationOrderTypes {
|
|
|
167
167
|
skuCodes?: string[];
|
|
168
168
|
storeIds?: string[];
|
|
169
169
|
warehouseIds?: string[];
|
|
170
|
-
deliveryMode?:
|
|
170
|
+
deliveryMode?: ENUM.STORE_WAREHOUSE_ENUM.DELIVERY_MODE;
|
|
171
171
|
status?: string;
|
|
172
172
|
}
|
|
173
173
|
/**
|
|
@@ -304,6 +304,7 @@ export declare namespace AllocationOrderTypes {
|
|
|
304
304
|
* 打印拣货单项目接口(按商品聚合)
|
|
305
305
|
*/
|
|
306
306
|
interface PrintPickingSheetItem {
|
|
307
|
+
skuId?: string;
|
|
307
308
|
商品名称?: string;
|
|
308
309
|
规格名称?: string;
|
|
309
310
|
规格编码?: string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PreAllocationOrderTypes } from './types';
|
|
2
|
+
import BaseService from '../BaseService';
|
|
3
|
+
declare class RoutingFailureService extends BaseService implements PreAllocationOrderTypes.RoutingFailureController {
|
|
4
|
+
protected prefixUrl: string;
|
|
5
|
+
/**
|
|
6
|
+
* 查询路由失败列表
|
|
7
|
+
*/
|
|
8
|
+
queryRoutingFailureList(request: PreAllocationOrderTypes.Request.QueryRoutingFailureList): Promise<PreAllocationOrderTypes.Response.QueryRoutingFailureList>;
|
|
9
|
+
/**
|
|
10
|
+
* 导出路由失败记录
|
|
11
|
+
*/
|
|
12
|
+
exportRoutingFailureExcel(request: PreAllocationOrderTypes.Request.ExportRoutingFailure): Promise<PreAllocationOrderTypes.Response.ExportRoutingFailure>;
|
|
13
|
+
}
|
|
14
|
+
export declare const routingFailureService: RoutingFailureService;
|
|
15
|
+
export default routingFailureService;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
9
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
10
|
+
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.routingFailureService = void 0;
|
|
16
|
+
const tsoa_1 = require("tsoa");
|
|
17
|
+
const http_1 = require("../../utils/http");
|
|
18
|
+
const BaseService_1 = __importDefault(require("../BaseService"));
|
|
19
|
+
let RoutingFailureService = class RoutingFailureService extends BaseService_1.default {
|
|
20
|
+
constructor() {
|
|
21
|
+
super(...arguments);
|
|
22
|
+
this.prefixUrl = '/pre-allocation-order';
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* 查询路由失败列表
|
|
26
|
+
*/
|
|
27
|
+
queryRoutingFailureList(request) {
|
|
28
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryRoutingFailureList), request);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* 导出路由失败记录
|
|
32
|
+
*/
|
|
33
|
+
exportRoutingFailureExcel(request) {
|
|
34
|
+
return (0, http_1.callApi)(this.getApiUrl(this.exportRoutingFailureExcel), request);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, tsoa_1.Post)('query-routing-failure-list'),
|
|
39
|
+
__param(0, (0, tsoa_1.Body)())
|
|
40
|
+
], RoutingFailureService.prototype, "queryRoutingFailureList", null);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, tsoa_1.Post)('export-routing-failure-excel'),
|
|
43
|
+
__param(0, (0, tsoa_1.Body)())
|
|
44
|
+
], RoutingFailureService.prototype, "exportRoutingFailureExcel", null);
|
|
45
|
+
RoutingFailureService = __decorate([
|
|
46
|
+
(0, tsoa_1.Route)('PreAllocationOrder'),
|
|
47
|
+
(0, tsoa_1.Tags)('preAllocationOrder')
|
|
48
|
+
], RoutingFailureService);
|
|
49
|
+
exports.routingFailureService = new RoutingFailureService();
|
|
50
|
+
exports.default = exports.routingFailureService;
|
|
@@ -58,6 +58,10 @@ declare class PreAllocationOrderService extends BaseService implements PreAlloca
|
|
|
58
58
|
* 批量填写配货备注
|
|
59
59
|
*/
|
|
60
60
|
batchUpdatePickingRemark(request: PreAllocationOrderTypes.Request.BatchUpdatePickingRemark): Promise<PreAllocationOrderTypes.Response.BatchUpdatePickingRemark>;
|
|
61
|
+
/**
|
|
62
|
+
* 批量修改配货方式
|
|
63
|
+
*/
|
|
64
|
+
batchUpdateDeliveryMode(request: PreAllocationOrderTypes.Request.BatchUpdateDeliveryMode): Promise<PreAllocationOrderTypes.Response.BatchUpdateDeliveryMode>;
|
|
61
65
|
/**
|
|
62
66
|
* 批量添加商品到预配货单
|
|
63
67
|
*/
|
|
@@ -105,6 +105,12 @@ let PreAllocationOrderService = class PreAllocationOrderService extends BaseServ
|
|
|
105
105
|
batchUpdatePickingRemark(request) {
|
|
106
106
|
return (0, http_1.callApi)(this.getApiUrl(this.batchUpdatePickingRemark), request);
|
|
107
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* 批量修改配货方式
|
|
110
|
+
*/
|
|
111
|
+
batchUpdateDeliveryMode(request) {
|
|
112
|
+
return (0, http_1.callApi)(this.getApiUrl(this.batchUpdateDeliveryMode), request);
|
|
113
|
+
}
|
|
108
114
|
/**
|
|
109
115
|
* 批量添加商品到预配货单
|
|
110
116
|
*/
|
|
@@ -198,6 +204,10 @@ __decorate([
|
|
|
198
204
|
(0, tsoa_1.Post)('batch-update-picking-remark'),
|
|
199
205
|
__param(0, (0, tsoa_1.Body)())
|
|
200
206
|
], PreAllocationOrderService.prototype, "batchUpdatePickingRemark", null);
|
|
207
|
+
__decorate([
|
|
208
|
+
(0, tsoa_1.Post)('batch-update-delivery-mode'),
|
|
209
|
+
__param(0, (0, tsoa_1.Body)())
|
|
210
|
+
], PreAllocationOrderService.prototype, "batchUpdateDeliveryMode", null);
|
|
201
211
|
__decorate([
|
|
202
212
|
(0, tsoa_1.Post)('batch-add-products'),
|
|
203
213
|
__param(0, (0, tsoa_1.Body)())
|
|
@@ -103,6 +103,35 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
103
103
|
createdAt: number;
|
|
104
104
|
updatedAt: number;
|
|
105
105
|
}
|
|
106
|
+
/** 预配货路由失败列表项 */
|
|
107
|
+
interface RoutingFailureListItem {
|
|
108
|
+
id: string;
|
|
109
|
+
batchNo: string;
|
|
110
|
+
failureReason: string;
|
|
111
|
+
failureReasonLabel: string;
|
|
112
|
+
storeId: string;
|
|
113
|
+
storeName: string;
|
|
114
|
+
productId: string;
|
|
115
|
+
productName: string;
|
|
116
|
+
skuId: string;
|
|
117
|
+
skuCode: string;
|
|
118
|
+
specName: string;
|
|
119
|
+
allocationQty: number;
|
|
120
|
+
createdAt: number;
|
|
121
|
+
}
|
|
122
|
+
/** 预配货路由失败导出数据行 */
|
|
123
|
+
interface RoutingFailureExportRow {
|
|
124
|
+
failureReasonLabel: string;
|
|
125
|
+
batchNo: string;
|
|
126
|
+
productId: string;
|
|
127
|
+
skuId: string;
|
|
128
|
+
productName: string;
|
|
129
|
+
specName: string;
|
|
130
|
+
skuCode: string;
|
|
131
|
+
storeName: string;
|
|
132
|
+
allocationQty: number;
|
|
133
|
+
createdAt: number;
|
|
134
|
+
}
|
|
106
135
|
}
|
|
107
136
|
/** 请求参数定义 */
|
|
108
137
|
namespace Request {
|
|
@@ -115,6 +144,7 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
115
144
|
storeIds?: string[];
|
|
116
145
|
warehouseIds?: string[];
|
|
117
146
|
productIds?: string[];
|
|
147
|
+
skuIds?: string[];
|
|
118
148
|
skuCodes?: string[];
|
|
119
149
|
deliveryModes?: number[];
|
|
120
150
|
sourceTypes?: number[];
|
|
@@ -129,6 +159,7 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
129
159
|
storeIds?: string[];
|
|
130
160
|
warehouseIds?: string[];
|
|
131
161
|
productIds?: string[];
|
|
162
|
+
skuIds?: string[];
|
|
132
163
|
skuCodes?: string[];
|
|
133
164
|
deliveryModes?: number[];
|
|
134
165
|
sourceTypes?: number[];
|
|
@@ -231,6 +262,19 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
231
262
|
pickingRemark: string;
|
|
232
263
|
operator: string;
|
|
233
264
|
}
|
|
265
|
+
/** 批量修改配货方式 */
|
|
266
|
+
interface BatchUpdateDeliveryMode {
|
|
267
|
+
warehouseId: string;
|
|
268
|
+
batchNos?: string[];
|
|
269
|
+
preAllocationOrderIds?: string[];
|
|
270
|
+
storeIds?: string[];
|
|
271
|
+
productIds?: string[];
|
|
272
|
+
skuCodes?: string[];
|
|
273
|
+
deliveryModes?: number[];
|
|
274
|
+
sourceTypes?: number[];
|
|
275
|
+
targetDeliveryMode: number;
|
|
276
|
+
operator: string;
|
|
277
|
+
}
|
|
234
278
|
/** 批量添加商品到预配货单 */
|
|
235
279
|
interface BatchAddProducts {
|
|
236
280
|
preAllocationOrderId: string;
|
|
@@ -288,6 +332,30 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
288
332
|
pickingRemark: string;
|
|
289
333
|
operator: string;
|
|
290
334
|
}
|
|
335
|
+
/** 查询预配货路由失败列表 */
|
|
336
|
+
interface QueryRoutingFailureList {
|
|
337
|
+
pageIndex: number;
|
|
338
|
+
pageSize: number;
|
|
339
|
+
batchNo?: string;
|
|
340
|
+
storeIds?: string[];
|
|
341
|
+
productIds?: string[];
|
|
342
|
+
skuCodes?: string[];
|
|
343
|
+
skuIds?: string[];
|
|
344
|
+
createdAtStart?: number;
|
|
345
|
+
createdAtEnd?: number;
|
|
346
|
+
}
|
|
347
|
+
/** 导出预配货路由失败记录(分页拉取,与 queryRoutingFailureList 筛选一致) */
|
|
348
|
+
interface ExportRoutingFailure {
|
|
349
|
+
pageIndex: number;
|
|
350
|
+
pageSize: number;
|
|
351
|
+
batchNo?: string;
|
|
352
|
+
storeIds?: string[];
|
|
353
|
+
productIds?: string[];
|
|
354
|
+
skuCodes?: string[];
|
|
355
|
+
skuIds?: string[];
|
|
356
|
+
createdAtStart?: number;
|
|
357
|
+
createdAtEnd?: number;
|
|
358
|
+
}
|
|
291
359
|
}
|
|
292
360
|
/** 响应结果定义 */
|
|
293
361
|
namespace Response {
|
|
@@ -390,6 +458,12 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
390
458
|
message: string;
|
|
391
459
|
data: null;
|
|
392
460
|
}
|
|
461
|
+
/** 批量修改配货方式响应 */
|
|
462
|
+
interface BatchUpdateDeliveryMode {
|
|
463
|
+
code: number;
|
|
464
|
+
message: string;
|
|
465
|
+
data: null;
|
|
466
|
+
}
|
|
393
467
|
/** 批量添加商品到预配货单响应 */
|
|
394
468
|
interface BatchAddProducts {
|
|
395
469
|
code: number;
|
|
@@ -458,6 +532,25 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
458
532
|
message: string;
|
|
459
533
|
data: null;
|
|
460
534
|
}
|
|
535
|
+
/** 查询预配货路由失败列表响应 */
|
|
536
|
+
interface QueryRoutingFailureList {
|
|
537
|
+
list: Entity.RoutingFailureListItem[];
|
|
538
|
+
total: number;
|
|
539
|
+
pageIndex: number;
|
|
540
|
+
pageSize: number;
|
|
541
|
+
}
|
|
542
|
+
/** 导出预配货路由失败记录响应 */
|
|
543
|
+
interface ExportRoutingFailure {
|
|
544
|
+
headers: Array<{
|
|
545
|
+
key: string;
|
|
546
|
+
label: string;
|
|
547
|
+
width?: number;
|
|
548
|
+
}>;
|
|
549
|
+
data: Entity.RoutingFailureExportRow[];
|
|
550
|
+
total: number;
|
|
551
|
+
pageIndex: number;
|
|
552
|
+
pageSize: number;
|
|
553
|
+
}
|
|
461
554
|
}
|
|
462
555
|
/** PreAllocationOrder Controller 接口定义 */
|
|
463
556
|
interface PreAllocationOrderController {
|
|
@@ -487,6 +580,8 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
487
580
|
searchProducts(request: PreAllocationOrderTypes.Request.SearchProducts): Promise<PreAllocationOrderTypes.Response.SearchProducts>;
|
|
488
581
|
/** 批量修改配货数量 */
|
|
489
582
|
batchUpdatePickingNum(request: PreAllocationOrderTypes.Request.BatchUpdatePickingNum): Promise<PreAllocationOrderTypes.Response.BatchUpdatePickingNum>;
|
|
583
|
+
/** 批量修改配货方式 */
|
|
584
|
+
batchUpdateDeliveryMode(request: PreAllocationOrderTypes.Request.BatchUpdateDeliveryMode): Promise<PreAllocationOrderTypes.Response.BatchUpdateDeliveryMode>;
|
|
490
585
|
/** 查询预配货单商品明细 */
|
|
491
586
|
details(request: PreAllocationOrderTypes.Request.GetPreAllocationOrderDetails): Promise<PreAllocationOrderTypes.Response.GetPreAllocationOrderDetails>;
|
|
492
587
|
/** 导出预配货单 */
|
|
@@ -498,4 +593,11 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
498
593
|
/** 更新预配货单明细备注 */
|
|
499
594
|
updateDetailRemark(request: PreAllocationOrderTypes.Request.UpdatePreAllocationOrderDetailRemark): Promise<PreAllocationOrderTypes.Response.UpdatePreAllocationOrderDetailRemark>;
|
|
500
595
|
}
|
|
596
|
+
/** 预配货路由失败(大仓路由)Controller 接口定义(挂载在 pre-allocation-order 下) */
|
|
597
|
+
interface RoutingFailureController {
|
|
598
|
+
/** 查询路由失败列表 */
|
|
599
|
+
queryRoutingFailureList(request: PreAllocationOrderTypes.Request.QueryRoutingFailureList): Promise<PreAllocationOrderTypes.Response.QueryRoutingFailureList>;
|
|
600
|
+
/** 导出路由失败记录 */
|
|
601
|
+
exportRoutingFailureExcel(request: PreAllocationOrderTypes.Request.ExportRoutingFailure): Promise<PreAllocationOrderTypes.Response.ExportRoutingFailure>;
|
|
602
|
+
}
|
|
501
603
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ENUM } from '../../enum';
|
|
1
2
|
export declare namespace StoreReplenishOrderTypes {
|
|
2
3
|
/** 实体定义 */
|
|
3
4
|
namespace Entity {
|
|
@@ -102,6 +103,7 @@ export declare namespace StoreReplenishOrderTypes {
|
|
|
102
103
|
id: string;
|
|
103
104
|
status: string;
|
|
104
105
|
warehouseId?: string;
|
|
106
|
+
deliveryMode?: ENUM.STORE_WAREHOUSE_ENUM.DELIVERY_MODE;
|
|
105
107
|
lossType?: string;
|
|
106
108
|
approvalNum?: number;
|
|
107
109
|
approvalReason: string;
|
|
@@ -170,6 +172,8 @@ export declare namespace StoreReplenishOrderTypes {
|
|
|
170
172
|
createdAt: number;
|
|
171
173
|
storeId: string;
|
|
172
174
|
storeName: string;
|
|
175
|
+
warehouseId?: string;
|
|
176
|
+
deliveryMode?: ENUM.STORE_WAREHOUSE_ENUM.DELIVERY_MODE;
|
|
173
177
|
};
|
|
174
178
|
/** 商品信息 */
|
|
175
179
|
productInfo: {
|
|
@@ -10,6 +10,7 @@ export declare namespace StoreStockInTypes {
|
|
|
10
10
|
deletedAt: number;
|
|
11
11
|
storeId: string;
|
|
12
12
|
warehouseId: string;
|
|
13
|
+
deliveryMode: ENUM.STORE_WAREHOUSE_ENUM.DELIVERY_MODE;
|
|
13
14
|
allocationOrderId: string;
|
|
14
15
|
status: ENUM.STORE_STOCK_IN_ORDER_ENUM.STATUS;
|
|
15
16
|
receivableQuantity: number;
|
|
@@ -49,7 +50,6 @@ export declare namespace StoreStockInTypes {
|
|
|
49
50
|
interface StoreStockInOrderWithExtension extends StoreStockInOrder {
|
|
50
51
|
warehouseName?: string;
|
|
51
52
|
storeName?: string;
|
|
52
|
-
deliveryMode?: number;
|
|
53
53
|
}
|
|
54
54
|
/** 收货商品项 */
|
|
55
55
|
interface StoreStockInItem {
|
|
@@ -94,7 +94,7 @@ export declare namespace StoreStockInTypes {
|
|
|
94
94
|
storeIds?: string[];
|
|
95
95
|
warehouseIds?: string[];
|
|
96
96
|
status?: string;
|
|
97
|
-
deliveryMode?:
|
|
97
|
+
deliveryMode?: ENUM.STORE_WAREHOUSE_ENUM.DELIVERY_MODE;
|
|
98
98
|
}
|
|
99
99
|
/** 提前完成入库单请求 */
|
|
100
100
|
interface EarlyComplete {
|
|
@@ -123,7 +123,7 @@ export declare namespace StoreStockInTypes {
|
|
|
123
123
|
storeIds?: string[];
|
|
124
124
|
warehouseIds?: string[];
|
|
125
125
|
status?: string;
|
|
126
|
-
deliveryMode?:
|
|
126
|
+
deliveryMode?: ENUM.STORE_WAREHOUSE_ENUM.DELIVERY_MODE;
|
|
127
127
|
}
|
|
128
128
|
/** 店长查看入库单商品数据请求 */
|
|
129
129
|
interface GetStockInProducts {
|