@be-link/ecommerce-plan-allocation-service-node-sdk 0.0.22 → 0.0.24
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 +59 -3
- package/enum.js +66 -3
- package/modules/allocationOrder/types.d.ts +1 -2
- package/modules/preAllocationOrder/types.d.ts +74 -26
- package/package.json +1 -1
package/enum.d.ts
CHANGED
|
@@ -97,14 +97,14 @@ export declare namespace ENUM {
|
|
|
97
97
|
enum STATUS {
|
|
98
98
|
PROCESSING = "PROCESSING",
|
|
99
99
|
SUCCESS = "SUCCESS",
|
|
100
|
-
|
|
100
|
+
FAILED = "FAILED",
|
|
101
101
|
PARTIAL = "PARTIAL",
|
|
102
102
|
REPEAL = "REPEAL"
|
|
103
103
|
}
|
|
104
104
|
enum STATUS_CHINESE {
|
|
105
105
|
PROCESSING = "\u5904\u7406\u4E2D",
|
|
106
106
|
SUCCESS = "\u6210\u529F",
|
|
107
|
-
|
|
107
|
+
FAILED = "\u5931\u8D25",
|
|
108
108
|
PARTIAL = "\u90E8\u5206\u5931\u8D25",
|
|
109
109
|
REPEAL = "\u64A4\u9500"
|
|
110
110
|
}
|
|
@@ -112,7 +112,7 @@ export declare namespace ENUM {
|
|
|
112
112
|
const STATUS_MAP: {
|
|
113
113
|
readonly PROCESSING: STATUS_CHINESE.PROCESSING;
|
|
114
114
|
readonly SUCCESS: STATUS_CHINESE.SUCCESS;
|
|
115
|
-
readonly
|
|
115
|
+
readonly FAILED: STATUS_CHINESE.FAILED;
|
|
116
116
|
readonly PARTIAL: STATUS_CHINESE.PARTIAL;
|
|
117
117
|
readonly REPEAL: STATUS_CHINESE.REPEAL;
|
|
118
118
|
};
|
|
@@ -125,6 +125,62 @@ export declare namespace ENUM {
|
|
|
125
125
|
readonly RECORD_NOT_FOUND: "上传记录不存在";
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
|
+
namespace PRE_ALLOCATION_ORDER_ENUM {
|
|
129
|
+
/** 预配货单状态(数字类型) */
|
|
130
|
+
enum STATUS {
|
|
131
|
+
PENDING = 1,// 待提交
|
|
132
|
+
SUBMITTED = 2,// 已提交
|
|
133
|
+
CANCELLED = 3
|
|
134
|
+
}
|
|
135
|
+
enum STATUS_CHINESE {
|
|
136
|
+
PENDING = "\u5F85\u63D0\u4EA4",
|
|
137
|
+
SUBMITTED = "\u5DF2\u63D0\u4EA4",
|
|
138
|
+
CANCELLED = "\u5DF2\u4F5C\u5E9F"
|
|
139
|
+
}
|
|
140
|
+
/** 状态映射 */
|
|
141
|
+
const STATUS_MAP: {
|
|
142
|
+
readonly 1: STATUS_CHINESE.PENDING;
|
|
143
|
+
readonly 2: STATUS_CHINESE.SUBMITTED;
|
|
144
|
+
readonly 3: STATUS_CHINESE.CANCELLED;
|
|
145
|
+
};
|
|
146
|
+
/** 预配货单类型(数字类型) */
|
|
147
|
+
enum PRE_ORDER_TYPE {
|
|
148
|
+
CURRENT_DAY_ORDER = 1,// 当天订单
|
|
149
|
+
UNDELIVERED = 2,// 未发量
|
|
150
|
+
MANUAL_IMPORT = 3,// 人工导入
|
|
151
|
+
STORE_STOCK_IN_REPLENISH = 4,// 门店入库单补货
|
|
152
|
+
STORE_ACTIVE_APPLY = 5
|
|
153
|
+
}
|
|
154
|
+
enum PRE_ORDER_TYPE_CHINESE {
|
|
155
|
+
CURRENT_DAY_ORDER = "\u5F53\u5929\u8BA2\u5355",
|
|
156
|
+
UNDELIVERED = "\u672A\u53D1\u91CF",
|
|
157
|
+
MANUAL_IMPORT = "\u4EBA\u5DE5\u5BFC\u5165",
|
|
158
|
+
STORE_STOCK_IN_REPLENISH = "\u95E8\u5E97\u5165\u5E93\u5355\u8865\u8D27",
|
|
159
|
+
STORE_ACTIVE_APPLY = "\u95E8\u5E97\u4E3B\u52A8\u7533\u8BF7\u8865\u8D27"
|
|
160
|
+
}
|
|
161
|
+
/** 来源类型(数字类型) */
|
|
162
|
+
enum SOURCE_TYPE {
|
|
163
|
+
ORDER_WITH_COUPON = 1,// 订单(含券)
|
|
164
|
+
MANUAL_IMPORT = 2,// 人工导入
|
|
165
|
+
STORE_STOCK_IN_REPLENISH = 3,// 门店入库单补货
|
|
166
|
+
STORE_ACTIVE_APPLY = 4
|
|
167
|
+
}
|
|
168
|
+
enum SOURCE_TYPE_CHINESE {
|
|
169
|
+
ORDER_WITH_COUPON = "\u8BA2\u5355\uFF08\u542B\u5238\uFF09",
|
|
170
|
+
MANUAL_IMPORT = "\u4EBA\u5DE5\u5BFC\u5165",
|
|
171
|
+
STORE_STOCK_IN_REPLENISH = "\u95E8\u5E97\u5165\u5E93\u5355\u8865\u8D27",
|
|
172
|
+
STORE_ACTIVE_APPLY = "\u95E8\u5E97\u4E3B\u52A8\u7533\u8BF7\u8865\u8D27"
|
|
173
|
+
}
|
|
174
|
+
/** 错误消息常量 */
|
|
175
|
+
const ERROR_MESSAGES: {
|
|
176
|
+
readonly ORDER_NOT_FOUND: "预配货单不存在";
|
|
177
|
+
readonly ORDER_SUBMITTED: "预配货单已提交,不可操作";
|
|
178
|
+
readonly ORDER_CANCELLED: "预配货单已作废,不可操作";
|
|
179
|
+
readonly DETAIL_NOT_FOUND: "预配货单明细不存在";
|
|
180
|
+
readonly SKU_NOT_FOUND: "SKU编码在预配货单中不存在";
|
|
181
|
+
readonly CANNOT_REPEAL_SUBMITTED: "存在已提交的预配货单,无法撤回";
|
|
182
|
+
};
|
|
183
|
+
}
|
|
128
184
|
namespace INVENTORY_ENUM {
|
|
129
185
|
const enum OUTBOUND_TYPE_ENUM {
|
|
130
186
|
ITEM_OUTBOUND = "ITEM_OUTBOUND",
|
package/enum.js
CHANGED
|
@@ -115,7 +115,7 @@ var ENUM;
|
|
|
115
115
|
(function (STATUS) {
|
|
116
116
|
STATUS["PROCESSING"] = "PROCESSING";
|
|
117
117
|
STATUS["SUCCESS"] = "SUCCESS";
|
|
118
|
-
STATUS["
|
|
118
|
+
STATUS["FAILED"] = "FAILED";
|
|
119
119
|
STATUS["PARTIAL"] = "PARTIAL";
|
|
120
120
|
STATUS["REPEAL"] = "REPEAL";
|
|
121
121
|
})(STATUS = PRE_ALLOCATION_ORDER_UPLOAD_EXCEL_ENUM.STATUS || (PRE_ALLOCATION_ORDER_UPLOAD_EXCEL_ENUM.STATUS = {}));
|
|
@@ -123,7 +123,7 @@ var ENUM;
|
|
|
123
123
|
(function (STATUS_CHINESE) {
|
|
124
124
|
STATUS_CHINESE["PROCESSING"] = "\u5904\u7406\u4E2D";
|
|
125
125
|
STATUS_CHINESE["SUCCESS"] = "\u6210\u529F";
|
|
126
|
-
STATUS_CHINESE["
|
|
126
|
+
STATUS_CHINESE["FAILED"] = "\u5931\u8D25";
|
|
127
127
|
STATUS_CHINESE["PARTIAL"] = "\u90E8\u5206\u5931\u8D25";
|
|
128
128
|
STATUS_CHINESE["REPEAL"] = "\u64A4\u9500";
|
|
129
129
|
})(STATUS_CHINESE = PRE_ALLOCATION_ORDER_UPLOAD_EXCEL_ENUM.STATUS_CHINESE || (PRE_ALLOCATION_ORDER_UPLOAD_EXCEL_ENUM.STATUS_CHINESE = {}));
|
|
@@ -131,7 +131,7 @@ var ENUM;
|
|
|
131
131
|
PRE_ALLOCATION_ORDER_UPLOAD_EXCEL_ENUM.STATUS_MAP = {
|
|
132
132
|
[STATUS.PROCESSING]: STATUS_CHINESE.PROCESSING,
|
|
133
133
|
[STATUS.SUCCESS]: STATUS_CHINESE.SUCCESS,
|
|
134
|
-
[STATUS.
|
|
134
|
+
[STATUS.FAILED]: STATUS_CHINESE.FAILED,
|
|
135
135
|
[STATUS.PARTIAL]: STATUS_CHINESE.PARTIAL,
|
|
136
136
|
[STATUS.REPEAL]: STATUS_CHINESE.REPEAL,
|
|
137
137
|
};
|
|
@@ -144,4 +144,67 @@ var ENUM;
|
|
|
144
144
|
RECORD_NOT_FOUND: '上传记录不存在',
|
|
145
145
|
};
|
|
146
146
|
})(PRE_ALLOCATION_ORDER_UPLOAD_EXCEL_ENUM = ENUM.PRE_ALLOCATION_ORDER_UPLOAD_EXCEL_ENUM || (ENUM.PRE_ALLOCATION_ORDER_UPLOAD_EXCEL_ENUM = {}));
|
|
147
|
+
let PRE_ALLOCATION_ORDER_ENUM;
|
|
148
|
+
(function (PRE_ALLOCATION_ORDER_ENUM) {
|
|
149
|
+
/** 预配货单状态(数字类型) */
|
|
150
|
+
let STATUS;
|
|
151
|
+
(function (STATUS) {
|
|
152
|
+
STATUS[STATUS["PENDING"] = 1] = "PENDING";
|
|
153
|
+
STATUS[STATUS["SUBMITTED"] = 2] = "SUBMITTED";
|
|
154
|
+
STATUS[STATUS["CANCELLED"] = 3] = "CANCELLED";
|
|
155
|
+
})(STATUS = PRE_ALLOCATION_ORDER_ENUM.STATUS || (PRE_ALLOCATION_ORDER_ENUM.STATUS = {}));
|
|
156
|
+
let STATUS_CHINESE;
|
|
157
|
+
(function (STATUS_CHINESE) {
|
|
158
|
+
STATUS_CHINESE["PENDING"] = "\u5F85\u63D0\u4EA4";
|
|
159
|
+
STATUS_CHINESE["SUBMITTED"] = "\u5DF2\u63D0\u4EA4";
|
|
160
|
+
STATUS_CHINESE["CANCELLED"] = "\u5DF2\u4F5C\u5E9F";
|
|
161
|
+
})(STATUS_CHINESE = PRE_ALLOCATION_ORDER_ENUM.STATUS_CHINESE || (PRE_ALLOCATION_ORDER_ENUM.STATUS_CHINESE = {}));
|
|
162
|
+
/** 状态映射 */
|
|
163
|
+
PRE_ALLOCATION_ORDER_ENUM.STATUS_MAP = {
|
|
164
|
+
[STATUS.PENDING]: STATUS_CHINESE.PENDING,
|
|
165
|
+
[STATUS.SUBMITTED]: STATUS_CHINESE.SUBMITTED,
|
|
166
|
+
[STATUS.CANCELLED]: STATUS_CHINESE.CANCELLED,
|
|
167
|
+
};
|
|
168
|
+
/** 预配货单类型(数字类型) */
|
|
169
|
+
let PRE_ORDER_TYPE;
|
|
170
|
+
(function (PRE_ORDER_TYPE) {
|
|
171
|
+
PRE_ORDER_TYPE[PRE_ORDER_TYPE["CURRENT_DAY_ORDER"] = 1] = "CURRENT_DAY_ORDER";
|
|
172
|
+
PRE_ORDER_TYPE[PRE_ORDER_TYPE["UNDELIVERED"] = 2] = "UNDELIVERED";
|
|
173
|
+
PRE_ORDER_TYPE[PRE_ORDER_TYPE["MANUAL_IMPORT"] = 3] = "MANUAL_IMPORT";
|
|
174
|
+
PRE_ORDER_TYPE[PRE_ORDER_TYPE["STORE_STOCK_IN_REPLENISH"] = 4] = "STORE_STOCK_IN_REPLENISH";
|
|
175
|
+
PRE_ORDER_TYPE[PRE_ORDER_TYPE["STORE_ACTIVE_APPLY"] = 5] = "STORE_ACTIVE_APPLY";
|
|
176
|
+
})(PRE_ORDER_TYPE = PRE_ALLOCATION_ORDER_ENUM.PRE_ORDER_TYPE || (PRE_ALLOCATION_ORDER_ENUM.PRE_ORDER_TYPE = {}));
|
|
177
|
+
let PRE_ORDER_TYPE_CHINESE;
|
|
178
|
+
(function (PRE_ORDER_TYPE_CHINESE) {
|
|
179
|
+
PRE_ORDER_TYPE_CHINESE["CURRENT_DAY_ORDER"] = "\u5F53\u5929\u8BA2\u5355";
|
|
180
|
+
PRE_ORDER_TYPE_CHINESE["UNDELIVERED"] = "\u672A\u53D1\u91CF";
|
|
181
|
+
PRE_ORDER_TYPE_CHINESE["MANUAL_IMPORT"] = "\u4EBA\u5DE5\u5BFC\u5165";
|
|
182
|
+
PRE_ORDER_TYPE_CHINESE["STORE_STOCK_IN_REPLENISH"] = "\u95E8\u5E97\u5165\u5E93\u5355\u8865\u8D27";
|
|
183
|
+
PRE_ORDER_TYPE_CHINESE["STORE_ACTIVE_APPLY"] = "\u95E8\u5E97\u4E3B\u52A8\u7533\u8BF7\u8865\u8D27";
|
|
184
|
+
})(PRE_ORDER_TYPE_CHINESE = PRE_ALLOCATION_ORDER_ENUM.PRE_ORDER_TYPE_CHINESE || (PRE_ALLOCATION_ORDER_ENUM.PRE_ORDER_TYPE_CHINESE = {}));
|
|
185
|
+
/** 来源类型(数字类型) */
|
|
186
|
+
let SOURCE_TYPE;
|
|
187
|
+
(function (SOURCE_TYPE) {
|
|
188
|
+
SOURCE_TYPE[SOURCE_TYPE["ORDER_WITH_COUPON"] = 1] = "ORDER_WITH_COUPON";
|
|
189
|
+
SOURCE_TYPE[SOURCE_TYPE["MANUAL_IMPORT"] = 2] = "MANUAL_IMPORT";
|
|
190
|
+
SOURCE_TYPE[SOURCE_TYPE["STORE_STOCK_IN_REPLENISH"] = 3] = "STORE_STOCK_IN_REPLENISH";
|
|
191
|
+
SOURCE_TYPE[SOURCE_TYPE["STORE_ACTIVE_APPLY"] = 4] = "STORE_ACTIVE_APPLY";
|
|
192
|
+
})(SOURCE_TYPE = PRE_ALLOCATION_ORDER_ENUM.SOURCE_TYPE || (PRE_ALLOCATION_ORDER_ENUM.SOURCE_TYPE = {}));
|
|
193
|
+
let SOURCE_TYPE_CHINESE;
|
|
194
|
+
(function (SOURCE_TYPE_CHINESE) {
|
|
195
|
+
SOURCE_TYPE_CHINESE["ORDER_WITH_COUPON"] = "\u8BA2\u5355\uFF08\u542B\u5238\uFF09";
|
|
196
|
+
SOURCE_TYPE_CHINESE["MANUAL_IMPORT"] = "\u4EBA\u5DE5\u5BFC\u5165";
|
|
197
|
+
SOURCE_TYPE_CHINESE["STORE_STOCK_IN_REPLENISH"] = "\u95E8\u5E97\u5165\u5E93\u5355\u8865\u8D27";
|
|
198
|
+
SOURCE_TYPE_CHINESE["STORE_ACTIVE_APPLY"] = "\u95E8\u5E97\u4E3B\u52A8\u7533\u8BF7\u8865\u8D27";
|
|
199
|
+
})(SOURCE_TYPE_CHINESE = PRE_ALLOCATION_ORDER_ENUM.SOURCE_TYPE_CHINESE || (PRE_ALLOCATION_ORDER_ENUM.SOURCE_TYPE_CHINESE = {}));
|
|
200
|
+
/** 错误消息常量 */
|
|
201
|
+
PRE_ALLOCATION_ORDER_ENUM.ERROR_MESSAGES = {
|
|
202
|
+
ORDER_NOT_FOUND: '预配货单不存在',
|
|
203
|
+
ORDER_SUBMITTED: '预配货单已提交,不可操作',
|
|
204
|
+
ORDER_CANCELLED: '预配货单已作废,不可操作',
|
|
205
|
+
DETAIL_NOT_FOUND: '预配货单明细不存在',
|
|
206
|
+
SKU_NOT_FOUND: 'SKU编码在预配货单中不存在',
|
|
207
|
+
CANNOT_REPEAL_SUBMITTED: '存在已提交的预配货单,无法撤回',
|
|
208
|
+
};
|
|
209
|
+
})(PRE_ALLOCATION_ORDER_ENUM = ENUM.PRE_ALLOCATION_ORDER_ENUM || (ENUM.PRE_ALLOCATION_ORDER_ENUM = {}));
|
|
147
210
|
})(ENUM || (exports.ENUM = ENUM = {}));
|
|
@@ -210,8 +210,6 @@ export declare namespace AllocationOrderTypes {
|
|
|
210
210
|
orderIds: string[];
|
|
211
211
|
productIds?: string[];
|
|
212
212
|
skuCodes?: string[];
|
|
213
|
-
minRemainNum?: number;
|
|
214
|
-
maxRemainNum?: number;
|
|
215
213
|
pageIndex: number;
|
|
216
214
|
pageSize: number;
|
|
217
215
|
}
|
|
@@ -335,6 +333,7 @@ export declare namespace AllocationOrderTypes {
|
|
|
335
333
|
*/
|
|
336
334
|
interface DeliveryReceiptData {
|
|
337
335
|
allocationOrderId: string;
|
|
336
|
+
storeStockInOrderId: string;
|
|
338
337
|
pickingDate?: string;
|
|
339
338
|
warehouseName?: string;
|
|
340
339
|
storeRemark: string;
|
|
@@ -28,6 +28,22 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
28
28
|
submittedStoreCount: number;
|
|
29
29
|
createdAt: number;
|
|
30
30
|
}
|
|
31
|
+
/** 批次列表项 */
|
|
32
|
+
interface BatchListItem {
|
|
33
|
+
id: string;
|
|
34
|
+
batchNo: string;
|
|
35
|
+
pickingDate: number;
|
|
36
|
+
warehouseId: string;
|
|
37
|
+
warehouseName: string;
|
|
38
|
+
storeCount: number;
|
|
39
|
+
submittedStoreCount: number;
|
|
40
|
+
totalSkuCount: number;
|
|
41
|
+
totalPickingNum: number;
|
|
42
|
+
status: number;
|
|
43
|
+
statusText: string;
|
|
44
|
+
createdAt: number;
|
|
45
|
+
updatedAt: number;
|
|
46
|
+
}
|
|
31
47
|
/** 预配货单 */
|
|
32
48
|
interface PreAllocationOrder {
|
|
33
49
|
preAllocationOrderId: string;
|
|
@@ -42,6 +58,30 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
42
58
|
status: number;
|
|
43
59
|
createdAt: number;
|
|
44
60
|
}
|
|
61
|
+
/** 来源标签 */
|
|
62
|
+
interface SourceTag {
|
|
63
|
+
type: number;
|
|
64
|
+
label: string;
|
|
65
|
+
color: string;
|
|
66
|
+
}
|
|
67
|
+
/** 门店单据列表项 */
|
|
68
|
+
interface StoreOrderListItem {
|
|
69
|
+
id: string;
|
|
70
|
+
batchId: string;
|
|
71
|
+
batchNo: string;
|
|
72
|
+
storeId: string;
|
|
73
|
+
storeName: string;
|
|
74
|
+
skuCount: number;
|
|
75
|
+
totalPickingNum: number;
|
|
76
|
+
totalSaleNum: number;
|
|
77
|
+
deliveryMode: string;
|
|
78
|
+
sourceType: number;
|
|
79
|
+
sourceTypeTags: SourceTag[];
|
|
80
|
+
status: number;
|
|
81
|
+
statusText: string;
|
|
82
|
+
createdAt: number;
|
|
83
|
+
updatedAt: number;
|
|
84
|
+
}
|
|
45
85
|
/** 商品信息 */
|
|
46
86
|
interface Product {
|
|
47
87
|
skuCode: string;
|
|
@@ -66,30 +106,31 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
66
106
|
namespace Request {
|
|
67
107
|
/** 查询预配货批次列表 */
|
|
68
108
|
interface QueryBatchList {
|
|
109
|
+
batchIds?: string[];
|
|
110
|
+
batchNos?: string[];
|
|
69
111
|
pageIndex: number;
|
|
70
112
|
pageSize: number;
|
|
71
|
-
batchNo?: string;
|
|
72
|
-
warehouseId?: string;
|
|
73
113
|
storeIds?: string[];
|
|
114
|
+
warehouseIds?: string[];
|
|
74
115
|
productIds?: string[];
|
|
75
116
|
skuCodes?: string[];
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
117
|
+
deliveryModes?: number[];
|
|
118
|
+
sourceTypes?: number[];
|
|
119
|
+
statuses?: number[];
|
|
79
120
|
}
|
|
80
121
|
/** 查询批次下的门店单据列表 */
|
|
81
122
|
interface QueryBatchStoreList {
|
|
82
|
-
|
|
123
|
+
batchIds?: string[];
|
|
124
|
+
batchNos?: string[];
|
|
83
125
|
pageIndex: number;
|
|
84
126
|
pageSize: number;
|
|
85
127
|
storeIds?: string[];
|
|
86
|
-
|
|
128
|
+
warehouseIds?: string[];
|
|
87
129
|
productIds?: string[];
|
|
88
130
|
skuCodes?: string[];
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
status?: number;
|
|
131
|
+
deliveryModes?: number[];
|
|
132
|
+
sourceTypes?: number[];
|
|
133
|
+
statuses?: number[];
|
|
93
134
|
}
|
|
94
135
|
/** 上传Excel */
|
|
95
136
|
interface UploadExcel {
|
|
@@ -116,7 +157,7 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
116
157
|
}
|
|
117
158
|
/** 库存预警列表 */
|
|
118
159
|
interface IInventoryWarningList {
|
|
119
|
-
|
|
160
|
+
warehouseIds: string[];
|
|
120
161
|
productIds?: string[];
|
|
121
162
|
skuCodes?: string[];
|
|
122
163
|
pageIndex: number;
|
|
@@ -152,9 +193,10 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
152
193
|
}
|
|
153
194
|
/** 搜索商品 */
|
|
154
195
|
interface SearchProducts {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
196
|
+
batchIds?: string[];
|
|
197
|
+
preAllocationOrderIds?: string[];
|
|
198
|
+
productIds?: string[];
|
|
199
|
+
skuCodes?: string[];
|
|
158
200
|
pageIndex?: number;
|
|
159
201
|
pageSize?: number;
|
|
160
202
|
}
|
|
@@ -172,30 +214,32 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
172
214
|
/** 导出预配货单 */
|
|
173
215
|
interface ExportPreAllocationOrders {
|
|
174
216
|
filters?: {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
deliveryMode?:
|
|
217
|
+
batchNos?: string[];
|
|
218
|
+
warehouseIds?: string[];
|
|
219
|
+
storeIds?: string[];
|
|
220
|
+
productIds?: string[];
|
|
221
|
+
skuCodes?: string[];
|
|
222
|
+
deliveryMode?: number;
|
|
181
223
|
sourceType?: number;
|
|
182
224
|
batchStatus?: number;
|
|
183
225
|
status?: number;
|
|
184
226
|
};
|
|
185
227
|
batchIds?: string[];
|
|
186
228
|
preAllocationOrderIds?: string[];
|
|
229
|
+
pageIndex?: number;
|
|
230
|
+
pageSize?: number;
|
|
187
231
|
}
|
|
188
232
|
}
|
|
189
233
|
/** 响应结果定义 */
|
|
190
234
|
namespace Response {
|
|
191
235
|
/** 查询预配货批次列表响应 */
|
|
192
236
|
interface QueryBatchList {
|
|
193
|
-
list: Entity.
|
|
237
|
+
list: Entity.BatchListItem[];
|
|
194
238
|
total: number;
|
|
195
239
|
}
|
|
196
240
|
/** 查询批次下的门店单据列表响应 */
|
|
197
241
|
interface QueryBatchStoreList {
|
|
198
|
-
list: Entity.
|
|
242
|
+
list: Entity.StoreOrderListItem[];
|
|
199
243
|
total: number;
|
|
200
244
|
}
|
|
201
245
|
/** 上传Excel响应 */
|
|
@@ -217,13 +261,16 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
217
261
|
}
|
|
218
262
|
/** 库存预警列表响应 */
|
|
219
263
|
interface IInventoryWarningList {
|
|
220
|
-
pickingDate: number;
|
|
221
264
|
list: {
|
|
222
265
|
productName: string;
|
|
266
|
+
productId: string;
|
|
267
|
+
warehouseId: string;
|
|
268
|
+
warehouseName: string;
|
|
269
|
+
skuId: string;
|
|
223
270
|
skuCode: string;
|
|
224
271
|
specName: string;
|
|
225
|
-
stockNum:
|
|
226
|
-
totalPickingNum:
|
|
272
|
+
stockNum: number;
|
|
273
|
+
totalPickingNum: number;
|
|
227
274
|
totalStoreNum: number;
|
|
228
275
|
}[];
|
|
229
276
|
total: number;
|
|
@@ -289,6 +336,7 @@ export declare namespace PreAllocationOrderTypes {
|
|
|
289
336
|
width?: number;
|
|
290
337
|
}>;
|
|
291
338
|
data: any[];
|
|
339
|
+
total: number;
|
|
292
340
|
};
|
|
293
341
|
}
|
|
294
342
|
}
|