bmc-common-resource 1.1.131 → 1.1.132
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/dist/constants/assign-business-type-options.constant.d.ts +11 -0
- package/dist/constants/contract-status-options.constant.d.ts +15 -0
- package/dist/constants/currency-unit-options.constant.d.ts +15 -0
- package/dist/constants/design-type-options.constant.d.ts +15 -0
- package/dist/constants/dictionary-attribute-options.constant.d.ts +6 -0
- package/dist/constants/dictionary-business-scope-options.constant.d.ts +6 -0
- package/dist/constants/dictionary-business-work-phase-options.constant.d.ts +6 -0
- package/dist/constants/dictionary-customer-label-options.constant.d.ts +6 -0
- package/dist/constants/dictionary-customer-source-options.constant.d.ts +5 -0
- package/dist/constants/dictionary-identify-options.constant.d.ts +11 -0
- package/dist/constants/dictionary-process-stage-options.constant.d.ts +5 -0
- package/dist/constants/house-status-options.constant.d.ts +15 -0
- package/dist/constants/house-type-options.constant.d.ts +15 -0
- package/dist/constants/index.d.ts +25 -0
- package/dist/constants/order-status-options.constant.d.ts +15 -0
- package/dist/constants/price-flag-options.constant.d.ts +41 -0
- package/dist/constants/privilege-status-options.constant.d.ts +15 -0
- package/dist/constants/pro_series_type_enum.constant.d.ts +15 -0
- package/dist/constants/product-unit-measure.constant.d.ts +489 -0
- package/dist/constants/recommendation-type-options.constant.d.ts +15 -0
- package/dist/constants/rounding-rule-options.constant.d.ts +15 -0
- package/dist/constants/sales-end-app-tag.constant.d.ts +15 -0
- package/dist/constants/sign-style-options.constant.d.ts +15 -0
- package/dist/constants/solution-status-options.constant.d.ts +15 -0
- package/dist/constants/spatial-category-options.constant.d.ts +15 -0
- package/dist/constants/supply-mode-options.constant.d.ts +15 -0
- package/dist/enums/assign-business-type.enum.d.ts +7 -0
- package/dist/enums/assign-type.enum.d.ts +7 -0
- package/dist/enums/business-scope.enum.d.ts +13 -0
- package/dist/enums/business-work-phase.enum.d.ts +15 -0
- package/dist/enums/contract-cancel-type.enum.d.ts +9 -0
- package/dist/enums/contract-state.enum.d.ts +31 -0
- package/dist/enums/currency-unit.enum.d.ts +15 -0
- package/dist/enums/customer-label.enum.d.ts +11 -0
- package/dist/enums/customer-source.enum.d.ts +87 -0
- package/dist/enums/design-type.enum.d.ts +17 -0
- package/dist/enums/dictionary-identify.enum.d.ts +47 -0
- package/dist/enums/house-status.enum.d.ts +11 -0
- package/dist/enums/house-type.enum.d.ts +13 -0
- package/dist/enums/index.d.ts +23 -0
- package/dist/enums/mq-consumer-group-enum.d.ts +6 -0
- package/dist/enums/mq-receipt-type-enum.d.ts +177 -0
- package/dist/enums/order-status.enum.d.ts +11 -0
- package/dist/enums/place-order-type.enum.d.ts +9 -0
- package/dist/enums/price-flag.enum.d.ts +35 -0
- package/dist/enums/privilege-status.enum.d.ts +17 -0
- package/dist/enums/pro_series_type.enum.d.ts +9 -0
- package/dist/enums/process-stage.enum.d.ts +45 -0
- package/dist/enums/product-unit-measure.enum.d.ts +124 -0
- package/dist/enums/recommendation-type.enum.d.ts +19 -0
- package/dist/enums/rounding-rule.enum.d.ts +19 -0
- package/dist/enums/sales_end_app_tag.enum.d.ts +13 -0
- package/dist/enums/sign-style.enum.d.ts +9 -0
- package/dist/enums/solution-status.enum.d.ts +25 -0
- package/dist/enums/solution_price_type.enum.d.ts +11 -0
- package/dist/enums/spatial-category.enum.d.ts +33 -0
- package/dist/enums/supply-mode.enum.d.ts +19 -0
- package/dist/index.d.ts +124 -0
- package/dist/index.esm.js +2 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/interfaces/dictionary.interface.d.ts +55 -0
- package/dist/interfaces/index.d.ts +4 -0
- package/dist/modules/index.d.ts +4 -0
- package/dist/modules/solution/categoryFormMap.d.ts +36 -0
- package/dist/modules/solution/classifyRoomGroupMap.d.ts +48 -0
- package/dist/modules/solution/groupTypes.d.ts +39 -0
- package/dist/modules/solution/index.d.ts +41 -0
- package/dist/modules/solution/mappings/group-item-mapping.d.ts +24 -0
- package/dist/modules/solution/mappings/index.d.ts +5 -0
- package/dist/modules/solution/mappings/room-group-mapping.d.ts +31 -0
- package/dist/modules/solution/models/QuotationItem.d.ts +266 -0
- package/dist/modules/solution/models/index.d.ts +4 -0
- package/dist/modules/solution/productCategories.d.ts +26 -0
- package/dist/modules/solution/roomTypes.d.ts +18 -0
- package/dist/modules/solution/types/index.d.ts +56 -0
- package/dist/modules/solution/types.d.ts +10 -0
- package/dist/utils/common.util.d.ts +84 -0
- package/dist/utils/index.d.ts +5 -0
- package/dist/utils/solution.util.d.ts +50 -0
- package/package.json +1 -1
|
@@ -0,0 +1,489 @@
|
|
|
1
|
+
import { ProductUnitMeasure } from "../enums/product-unit-measure.enum";
|
|
2
|
+
/**
|
|
3
|
+
* 产品计量单位常量
|
|
4
|
+
*/
|
|
5
|
+
export declare const PRODUCT_UNIT_MEASURE: readonly [{
|
|
6
|
+
readonly code: ProductUnitMeasure.PC;
|
|
7
|
+
readonly name: "件";
|
|
8
|
+
readonly english: "Place";
|
|
9
|
+
}, {
|
|
10
|
+
readonly code: ProductUnitMeasure.EA;
|
|
11
|
+
readonly name: "个";
|
|
12
|
+
readonly english: "Each";
|
|
13
|
+
}, {
|
|
14
|
+
readonly code: ProductUnitMeasure.SET;
|
|
15
|
+
readonly name: "套";
|
|
16
|
+
readonly english: "Set";
|
|
17
|
+
}, {
|
|
18
|
+
readonly code: ProductUnitMeasure.BAN;
|
|
19
|
+
readonly name: "把";
|
|
20
|
+
readonly english: "Ban";
|
|
21
|
+
}, {
|
|
22
|
+
readonly code: ProductUnitMeasure.SAG;
|
|
23
|
+
readonly name: "袋";
|
|
24
|
+
readonly english: "Bag";
|
|
25
|
+
}, {
|
|
26
|
+
readonly code: ProductUnitMeasure.VOL;
|
|
27
|
+
readonly name: "本";
|
|
28
|
+
readonly english: "Volume";
|
|
29
|
+
}, {
|
|
30
|
+
readonly code: ProductUnitMeasure.BOX;
|
|
31
|
+
readonly name: "箱";
|
|
32
|
+
readonly english: "Boxful";
|
|
33
|
+
}, {
|
|
34
|
+
readonly code: ProductUnitMeasure.PAIL;
|
|
35
|
+
readonly name: "桶";
|
|
36
|
+
readonly english: "Pail";
|
|
37
|
+
}, {
|
|
38
|
+
readonly code: ProductUnitMeasure.CAN;
|
|
39
|
+
readonly name: "罐";
|
|
40
|
+
readonly english: "Can";
|
|
41
|
+
}, {
|
|
42
|
+
readonly code: ProductUnitMeasure.TAI;
|
|
43
|
+
readonly name: "台";
|
|
44
|
+
readonly english: "Tai";
|
|
45
|
+
}, {
|
|
46
|
+
readonly code: ProductUnitMeasure.CAR;
|
|
47
|
+
readonly name: "盒";
|
|
48
|
+
readonly english: "Carton";
|
|
49
|
+
}, {
|
|
50
|
+
readonly code: ProductUnitMeasure.PAK;
|
|
51
|
+
readonly name: "包";
|
|
52
|
+
readonly english: "Package";
|
|
53
|
+
}, {
|
|
54
|
+
readonly code: ProductUnitMeasure.STP;
|
|
55
|
+
readonly name: "条";
|
|
56
|
+
readonly english: "Strip";
|
|
57
|
+
}, {
|
|
58
|
+
readonly code: ProductUnitMeasure.ZHI;
|
|
59
|
+
readonly name: "只";
|
|
60
|
+
readonly english: "Zhi";
|
|
61
|
+
}, {
|
|
62
|
+
readonly code: ProductUnitMeasure.ZII;
|
|
63
|
+
readonly name: "支";
|
|
64
|
+
readonly english: "Zii";
|
|
65
|
+
}, {
|
|
66
|
+
readonly code: ProductUnitMeasure.SLC;
|
|
67
|
+
readonly name: "片";
|
|
68
|
+
readonly english: "Slice";
|
|
69
|
+
}, {
|
|
70
|
+
readonly code: ProductUnitMeasure.BLK;
|
|
71
|
+
readonly name: "块";
|
|
72
|
+
readonly english: "Block";
|
|
73
|
+
}, {
|
|
74
|
+
readonly code: ProductUnitMeasure.ZHG;
|
|
75
|
+
readonly name: "张";
|
|
76
|
+
readonly english: "Zhang";
|
|
77
|
+
}, {
|
|
78
|
+
readonly code: ProductUnitMeasure.PAL;
|
|
79
|
+
readonly name: "货盘";
|
|
80
|
+
readonly english: "Pallet";
|
|
81
|
+
}, {
|
|
82
|
+
readonly code: ProductUnitMeasure.GEN;
|
|
83
|
+
readonly name: "根";
|
|
84
|
+
readonly english: "Gen";
|
|
85
|
+
}, {
|
|
86
|
+
readonly code: ProductUnitMeasure.FAN;
|
|
87
|
+
readonly name: "扇";
|
|
88
|
+
readonly english: "Fan";
|
|
89
|
+
}, {
|
|
90
|
+
readonly code: ProductUnitMeasure.REEL;
|
|
91
|
+
readonly name: "卷";
|
|
92
|
+
readonly english: "Reel";
|
|
93
|
+
}, {
|
|
94
|
+
readonly code: ProductUnitMeasure.PAIR;
|
|
95
|
+
readonly name: "副";
|
|
96
|
+
readonly english: "Pair";
|
|
97
|
+
}, {
|
|
98
|
+
readonly code: ProductUnitMeasure.GROUP;
|
|
99
|
+
readonly name: "组";
|
|
100
|
+
readonly english: "Group";
|
|
101
|
+
}, {
|
|
102
|
+
readonly code: ProductUnitMeasure.STEP;
|
|
103
|
+
readonly name: "步";
|
|
104
|
+
readonly english: "Step";
|
|
105
|
+
}, {
|
|
106
|
+
readonly code: ProductUnitMeasure.M;
|
|
107
|
+
readonly name: "米";
|
|
108
|
+
readonly english: "Metre";
|
|
109
|
+
}, {
|
|
110
|
+
readonly code: ProductUnitMeasure.LM;
|
|
111
|
+
readonly name: "延米";
|
|
112
|
+
readonly english: "LinearMeter";
|
|
113
|
+
}, {
|
|
114
|
+
readonly code: ProductUnitMeasure.H2W1;
|
|
115
|
+
readonly name: "门套延米";
|
|
116
|
+
readonly english: "Tow";
|
|
117
|
+
}, {
|
|
118
|
+
readonly code: ProductUnitMeasure.MM;
|
|
119
|
+
readonly name: "毫米";
|
|
120
|
+
readonly english: "MilliMetre";
|
|
121
|
+
}, {
|
|
122
|
+
readonly code: ProductUnitMeasure.INC;
|
|
123
|
+
readonly name: "英寸";
|
|
124
|
+
readonly english: "Inch";
|
|
125
|
+
}, {
|
|
126
|
+
readonly code: ProductUnitMeasure.M2;
|
|
127
|
+
readonly name: "平米";
|
|
128
|
+
readonly english: "SquareMetre";
|
|
129
|
+
}, {
|
|
130
|
+
readonly code: ProductUnitMeasure.PM2;
|
|
131
|
+
readonly name: "投影平米";
|
|
132
|
+
readonly english: "ProjectionSquareMetre";
|
|
133
|
+
}, {
|
|
134
|
+
readonly code: ProductUnitMeasure.FM2;
|
|
135
|
+
readonly name: "立面平米";
|
|
136
|
+
readonly english: "FacadeSquareMetre";
|
|
137
|
+
}, {
|
|
138
|
+
readonly code: ProductUnitMeasure.M3;
|
|
139
|
+
readonly name: "立方米";
|
|
140
|
+
readonly english: "CubicMetre";
|
|
141
|
+
}, {
|
|
142
|
+
readonly code: ProductUnitMeasure.L;
|
|
143
|
+
readonly name: "公升";
|
|
144
|
+
readonly english: "Liter";
|
|
145
|
+
}, {
|
|
146
|
+
readonly code: ProductUnitMeasure.ML;
|
|
147
|
+
readonly name: "毫升";
|
|
148
|
+
readonly english: "MilliLiter";
|
|
149
|
+
}, {
|
|
150
|
+
readonly code: ProductUnitMeasure.KG;
|
|
151
|
+
readonly name: "千克";
|
|
152
|
+
readonly english: "Kilogram";
|
|
153
|
+
}, {
|
|
154
|
+
readonly code: ProductUnitMeasure.TON;
|
|
155
|
+
readonly name: "吨";
|
|
156
|
+
readonly english: "Ton";
|
|
157
|
+
}, {
|
|
158
|
+
readonly code: ProductUnitMeasure.WORKLOAD;
|
|
159
|
+
readonly name: "工作量";
|
|
160
|
+
readonly english: "workload";
|
|
161
|
+
}];
|
|
162
|
+
/**
|
|
163
|
+
* 产品计量单位选项(用于下拉选择等)
|
|
164
|
+
*/
|
|
165
|
+
export declare const PRODUCT_UNIT_MEASURE_OPTIONS: {
|
|
166
|
+
value: ProductUnitMeasure;
|
|
167
|
+
label: "件" | "个" | "套" | "把" | "袋" | "本" | "箱" | "桶" | "罐" | "台" | "盒" | "包" | "条" | "只" | "支" | "片" | "块" | "张" | "货盘" | "根" | "扇" | "卷" | "副" | "组" | "步" | "米" | "延米" | "门套延米" | "毫米" | "英寸" | "平米" | "投影平米" | "立面平米" | "立方米" | "公升" | "毫升" | "千克" | "吨" | "工作量";
|
|
168
|
+
english: "Place" | "Each" | "Set" | "Ban" | "Bag" | "Volume" | "Boxful" | "Pail" | "Can" | "Tai" | "Carton" | "Package" | "Strip" | "Zhi" | "Zii" | "Slice" | "Block" | "Zhang" | "Pallet" | "Gen" | "Fan" | "Reel" | "Pair" | "Group" | "Step" | "Metre" | "LinearMeter" | "Tow" | "MilliMetre" | "Inch" | "SquareMetre" | "ProjectionSquareMetre" | "FacadeSquareMetre" | "CubicMetre" | "Liter" | "MilliLiter" | "Kilogram" | "Ton" | "workload";
|
|
169
|
+
}[];
|
|
170
|
+
/**
|
|
171
|
+
* 根据代码获取计量单位信息
|
|
172
|
+
*/
|
|
173
|
+
export declare const getProductUnitMeasureByCode: (code: ProductUnitMeasure) => {
|
|
174
|
+
readonly code: ProductUnitMeasure.PC;
|
|
175
|
+
readonly name: "件";
|
|
176
|
+
readonly english: "Place";
|
|
177
|
+
} | {
|
|
178
|
+
readonly code: ProductUnitMeasure.EA;
|
|
179
|
+
readonly name: "个";
|
|
180
|
+
readonly english: "Each";
|
|
181
|
+
} | {
|
|
182
|
+
readonly code: ProductUnitMeasure.SET;
|
|
183
|
+
readonly name: "套";
|
|
184
|
+
readonly english: "Set";
|
|
185
|
+
} | {
|
|
186
|
+
readonly code: ProductUnitMeasure.BAN;
|
|
187
|
+
readonly name: "把";
|
|
188
|
+
readonly english: "Ban";
|
|
189
|
+
} | {
|
|
190
|
+
readonly code: ProductUnitMeasure.SAG;
|
|
191
|
+
readonly name: "袋";
|
|
192
|
+
readonly english: "Bag";
|
|
193
|
+
} | {
|
|
194
|
+
readonly code: ProductUnitMeasure.VOL;
|
|
195
|
+
readonly name: "本";
|
|
196
|
+
readonly english: "Volume";
|
|
197
|
+
} | {
|
|
198
|
+
readonly code: ProductUnitMeasure.BOX;
|
|
199
|
+
readonly name: "箱";
|
|
200
|
+
readonly english: "Boxful";
|
|
201
|
+
} | {
|
|
202
|
+
readonly code: ProductUnitMeasure.PAIL;
|
|
203
|
+
readonly name: "桶";
|
|
204
|
+
readonly english: "Pail";
|
|
205
|
+
} | {
|
|
206
|
+
readonly code: ProductUnitMeasure.CAN;
|
|
207
|
+
readonly name: "罐";
|
|
208
|
+
readonly english: "Can";
|
|
209
|
+
} | {
|
|
210
|
+
readonly code: ProductUnitMeasure.TAI;
|
|
211
|
+
readonly name: "台";
|
|
212
|
+
readonly english: "Tai";
|
|
213
|
+
} | {
|
|
214
|
+
readonly code: ProductUnitMeasure.CAR;
|
|
215
|
+
readonly name: "盒";
|
|
216
|
+
readonly english: "Carton";
|
|
217
|
+
} | {
|
|
218
|
+
readonly code: ProductUnitMeasure.PAK;
|
|
219
|
+
readonly name: "包";
|
|
220
|
+
readonly english: "Package";
|
|
221
|
+
} | {
|
|
222
|
+
readonly code: ProductUnitMeasure.STP;
|
|
223
|
+
readonly name: "条";
|
|
224
|
+
readonly english: "Strip";
|
|
225
|
+
} | {
|
|
226
|
+
readonly code: ProductUnitMeasure.ZHI;
|
|
227
|
+
readonly name: "只";
|
|
228
|
+
readonly english: "Zhi";
|
|
229
|
+
} | {
|
|
230
|
+
readonly code: ProductUnitMeasure.ZII;
|
|
231
|
+
readonly name: "支";
|
|
232
|
+
readonly english: "Zii";
|
|
233
|
+
} | {
|
|
234
|
+
readonly code: ProductUnitMeasure.SLC;
|
|
235
|
+
readonly name: "片";
|
|
236
|
+
readonly english: "Slice";
|
|
237
|
+
} | {
|
|
238
|
+
readonly code: ProductUnitMeasure.BLK;
|
|
239
|
+
readonly name: "块";
|
|
240
|
+
readonly english: "Block";
|
|
241
|
+
} | {
|
|
242
|
+
readonly code: ProductUnitMeasure.ZHG;
|
|
243
|
+
readonly name: "张";
|
|
244
|
+
readonly english: "Zhang";
|
|
245
|
+
} | {
|
|
246
|
+
readonly code: ProductUnitMeasure.PAL;
|
|
247
|
+
readonly name: "货盘";
|
|
248
|
+
readonly english: "Pallet";
|
|
249
|
+
} | {
|
|
250
|
+
readonly code: ProductUnitMeasure.GEN;
|
|
251
|
+
readonly name: "根";
|
|
252
|
+
readonly english: "Gen";
|
|
253
|
+
} | {
|
|
254
|
+
readonly code: ProductUnitMeasure.FAN;
|
|
255
|
+
readonly name: "扇";
|
|
256
|
+
readonly english: "Fan";
|
|
257
|
+
} | {
|
|
258
|
+
readonly code: ProductUnitMeasure.REEL;
|
|
259
|
+
readonly name: "卷";
|
|
260
|
+
readonly english: "Reel";
|
|
261
|
+
} | {
|
|
262
|
+
readonly code: ProductUnitMeasure.PAIR;
|
|
263
|
+
readonly name: "副";
|
|
264
|
+
readonly english: "Pair";
|
|
265
|
+
} | {
|
|
266
|
+
readonly code: ProductUnitMeasure.GROUP;
|
|
267
|
+
readonly name: "组";
|
|
268
|
+
readonly english: "Group";
|
|
269
|
+
} | {
|
|
270
|
+
readonly code: ProductUnitMeasure.STEP;
|
|
271
|
+
readonly name: "步";
|
|
272
|
+
readonly english: "Step";
|
|
273
|
+
} | {
|
|
274
|
+
readonly code: ProductUnitMeasure.M;
|
|
275
|
+
readonly name: "米";
|
|
276
|
+
readonly english: "Metre";
|
|
277
|
+
} | {
|
|
278
|
+
readonly code: ProductUnitMeasure.LM;
|
|
279
|
+
readonly name: "延米";
|
|
280
|
+
readonly english: "LinearMeter";
|
|
281
|
+
} | {
|
|
282
|
+
readonly code: ProductUnitMeasure.H2W1;
|
|
283
|
+
readonly name: "门套延米";
|
|
284
|
+
readonly english: "Tow";
|
|
285
|
+
} | {
|
|
286
|
+
readonly code: ProductUnitMeasure.MM;
|
|
287
|
+
readonly name: "毫米";
|
|
288
|
+
readonly english: "MilliMetre";
|
|
289
|
+
} | {
|
|
290
|
+
readonly code: ProductUnitMeasure.INC;
|
|
291
|
+
readonly name: "英寸";
|
|
292
|
+
readonly english: "Inch";
|
|
293
|
+
} | {
|
|
294
|
+
readonly code: ProductUnitMeasure.M2;
|
|
295
|
+
readonly name: "平米";
|
|
296
|
+
readonly english: "SquareMetre";
|
|
297
|
+
} | {
|
|
298
|
+
readonly code: ProductUnitMeasure.PM2;
|
|
299
|
+
readonly name: "投影平米";
|
|
300
|
+
readonly english: "ProjectionSquareMetre";
|
|
301
|
+
} | {
|
|
302
|
+
readonly code: ProductUnitMeasure.FM2;
|
|
303
|
+
readonly name: "立面平米";
|
|
304
|
+
readonly english: "FacadeSquareMetre";
|
|
305
|
+
} | {
|
|
306
|
+
readonly code: ProductUnitMeasure.M3;
|
|
307
|
+
readonly name: "立方米";
|
|
308
|
+
readonly english: "CubicMetre";
|
|
309
|
+
} | {
|
|
310
|
+
readonly code: ProductUnitMeasure.L;
|
|
311
|
+
readonly name: "公升";
|
|
312
|
+
readonly english: "Liter";
|
|
313
|
+
} | {
|
|
314
|
+
readonly code: ProductUnitMeasure.ML;
|
|
315
|
+
readonly name: "毫升";
|
|
316
|
+
readonly english: "MilliLiter";
|
|
317
|
+
} | {
|
|
318
|
+
readonly code: ProductUnitMeasure.KG;
|
|
319
|
+
readonly name: "千克";
|
|
320
|
+
readonly english: "Kilogram";
|
|
321
|
+
} | {
|
|
322
|
+
readonly code: ProductUnitMeasure.TON;
|
|
323
|
+
readonly name: "吨";
|
|
324
|
+
readonly english: "Ton";
|
|
325
|
+
} | {
|
|
326
|
+
readonly code: ProductUnitMeasure.WORKLOAD;
|
|
327
|
+
readonly name: "工作量";
|
|
328
|
+
readonly english: "workload";
|
|
329
|
+
} | undefined;
|
|
330
|
+
/**
|
|
331
|
+
* 根据中文名称获取计量单位信息
|
|
332
|
+
*/
|
|
333
|
+
export declare const getProductUnitMeasureByName: (name: string) => {
|
|
334
|
+
readonly code: ProductUnitMeasure.PC;
|
|
335
|
+
readonly name: "件";
|
|
336
|
+
readonly english: "Place";
|
|
337
|
+
} | {
|
|
338
|
+
readonly code: ProductUnitMeasure.EA;
|
|
339
|
+
readonly name: "个";
|
|
340
|
+
readonly english: "Each";
|
|
341
|
+
} | {
|
|
342
|
+
readonly code: ProductUnitMeasure.SET;
|
|
343
|
+
readonly name: "套";
|
|
344
|
+
readonly english: "Set";
|
|
345
|
+
} | {
|
|
346
|
+
readonly code: ProductUnitMeasure.BAN;
|
|
347
|
+
readonly name: "把";
|
|
348
|
+
readonly english: "Ban";
|
|
349
|
+
} | {
|
|
350
|
+
readonly code: ProductUnitMeasure.SAG;
|
|
351
|
+
readonly name: "袋";
|
|
352
|
+
readonly english: "Bag";
|
|
353
|
+
} | {
|
|
354
|
+
readonly code: ProductUnitMeasure.VOL;
|
|
355
|
+
readonly name: "本";
|
|
356
|
+
readonly english: "Volume";
|
|
357
|
+
} | {
|
|
358
|
+
readonly code: ProductUnitMeasure.BOX;
|
|
359
|
+
readonly name: "箱";
|
|
360
|
+
readonly english: "Boxful";
|
|
361
|
+
} | {
|
|
362
|
+
readonly code: ProductUnitMeasure.PAIL;
|
|
363
|
+
readonly name: "桶";
|
|
364
|
+
readonly english: "Pail";
|
|
365
|
+
} | {
|
|
366
|
+
readonly code: ProductUnitMeasure.CAN;
|
|
367
|
+
readonly name: "罐";
|
|
368
|
+
readonly english: "Can";
|
|
369
|
+
} | {
|
|
370
|
+
readonly code: ProductUnitMeasure.TAI;
|
|
371
|
+
readonly name: "台";
|
|
372
|
+
readonly english: "Tai";
|
|
373
|
+
} | {
|
|
374
|
+
readonly code: ProductUnitMeasure.CAR;
|
|
375
|
+
readonly name: "盒";
|
|
376
|
+
readonly english: "Carton";
|
|
377
|
+
} | {
|
|
378
|
+
readonly code: ProductUnitMeasure.PAK;
|
|
379
|
+
readonly name: "包";
|
|
380
|
+
readonly english: "Package";
|
|
381
|
+
} | {
|
|
382
|
+
readonly code: ProductUnitMeasure.STP;
|
|
383
|
+
readonly name: "条";
|
|
384
|
+
readonly english: "Strip";
|
|
385
|
+
} | {
|
|
386
|
+
readonly code: ProductUnitMeasure.ZHI;
|
|
387
|
+
readonly name: "只";
|
|
388
|
+
readonly english: "Zhi";
|
|
389
|
+
} | {
|
|
390
|
+
readonly code: ProductUnitMeasure.ZII;
|
|
391
|
+
readonly name: "支";
|
|
392
|
+
readonly english: "Zii";
|
|
393
|
+
} | {
|
|
394
|
+
readonly code: ProductUnitMeasure.SLC;
|
|
395
|
+
readonly name: "片";
|
|
396
|
+
readonly english: "Slice";
|
|
397
|
+
} | {
|
|
398
|
+
readonly code: ProductUnitMeasure.BLK;
|
|
399
|
+
readonly name: "块";
|
|
400
|
+
readonly english: "Block";
|
|
401
|
+
} | {
|
|
402
|
+
readonly code: ProductUnitMeasure.ZHG;
|
|
403
|
+
readonly name: "张";
|
|
404
|
+
readonly english: "Zhang";
|
|
405
|
+
} | {
|
|
406
|
+
readonly code: ProductUnitMeasure.PAL;
|
|
407
|
+
readonly name: "货盘";
|
|
408
|
+
readonly english: "Pallet";
|
|
409
|
+
} | {
|
|
410
|
+
readonly code: ProductUnitMeasure.GEN;
|
|
411
|
+
readonly name: "根";
|
|
412
|
+
readonly english: "Gen";
|
|
413
|
+
} | {
|
|
414
|
+
readonly code: ProductUnitMeasure.FAN;
|
|
415
|
+
readonly name: "扇";
|
|
416
|
+
readonly english: "Fan";
|
|
417
|
+
} | {
|
|
418
|
+
readonly code: ProductUnitMeasure.REEL;
|
|
419
|
+
readonly name: "卷";
|
|
420
|
+
readonly english: "Reel";
|
|
421
|
+
} | {
|
|
422
|
+
readonly code: ProductUnitMeasure.PAIR;
|
|
423
|
+
readonly name: "副";
|
|
424
|
+
readonly english: "Pair";
|
|
425
|
+
} | {
|
|
426
|
+
readonly code: ProductUnitMeasure.GROUP;
|
|
427
|
+
readonly name: "组";
|
|
428
|
+
readonly english: "Group";
|
|
429
|
+
} | {
|
|
430
|
+
readonly code: ProductUnitMeasure.STEP;
|
|
431
|
+
readonly name: "步";
|
|
432
|
+
readonly english: "Step";
|
|
433
|
+
} | {
|
|
434
|
+
readonly code: ProductUnitMeasure.M;
|
|
435
|
+
readonly name: "米";
|
|
436
|
+
readonly english: "Metre";
|
|
437
|
+
} | {
|
|
438
|
+
readonly code: ProductUnitMeasure.LM;
|
|
439
|
+
readonly name: "延米";
|
|
440
|
+
readonly english: "LinearMeter";
|
|
441
|
+
} | {
|
|
442
|
+
readonly code: ProductUnitMeasure.H2W1;
|
|
443
|
+
readonly name: "门套延米";
|
|
444
|
+
readonly english: "Tow";
|
|
445
|
+
} | {
|
|
446
|
+
readonly code: ProductUnitMeasure.MM;
|
|
447
|
+
readonly name: "毫米";
|
|
448
|
+
readonly english: "MilliMetre";
|
|
449
|
+
} | {
|
|
450
|
+
readonly code: ProductUnitMeasure.INC;
|
|
451
|
+
readonly name: "英寸";
|
|
452
|
+
readonly english: "Inch";
|
|
453
|
+
} | {
|
|
454
|
+
readonly code: ProductUnitMeasure.M2;
|
|
455
|
+
readonly name: "平米";
|
|
456
|
+
readonly english: "SquareMetre";
|
|
457
|
+
} | {
|
|
458
|
+
readonly code: ProductUnitMeasure.PM2;
|
|
459
|
+
readonly name: "投影平米";
|
|
460
|
+
readonly english: "ProjectionSquareMetre";
|
|
461
|
+
} | {
|
|
462
|
+
readonly code: ProductUnitMeasure.FM2;
|
|
463
|
+
readonly name: "立面平米";
|
|
464
|
+
readonly english: "FacadeSquareMetre";
|
|
465
|
+
} | {
|
|
466
|
+
readonly code: ProductUnitMeasure.M3;
|
|
467
|
+
readonly name: "立方米";
|
|
468
|
+
readonly english: "CubicMetre";
|
|
469
|
+
} | {
|
|
470
|
+
readonly code: ProductUnitMeasure.L;
|
|
471
|
+
readonly name: "公升";
|
|
472
|
+
readonly english: "Liter";
|
|
473
|
+
} | {
|
|
474
|
+
readonly code: ProductUnitMeasure.ML;
|
|
475
|
+
readonly name: "毫升";
|
|
476
|
+
readonly english: "MilliLiter";
|
|
477
|
+
} | {
|
|
478
|
+
readonly code: ProductUnitMeasure.KG;
|
|
479
|
+
readonly name: "千克";
|
|
480
|
+
readonly english: "Kilogram";
|
|
481
|
+
} | {
|
|
482
|
+
readonly code: ProductUnitMeasure.TON;
|
|
483
|
+
readonly name: "吨";
|
|
484
|
+
readonly english: "Ton";
|
|
485
|
+
} | {
|
|
486
|
+
readonly code: ProductUnitMeasure.WORKLOAD;
|
|
487
|
+
readonly name: "工作量";
|
|
488
|
+
readonly english: "workload";
|
|
489
|
+
} | undefined;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 推荐类型选项数组
|
|
3
|
+
* 提供 {name: '推荐类型名称', value: '推荐类型值'} 格式的数据
|
|
4
|
+
*/
|
|
5
|
+
import { RECOMMENDATION_TYPE_ENUM } from '../enums/recommendation-type.enum';
|
|
6
|
+
export interface RecommendationTypeOption {
|
|
7
|
+
/** 推荐类型名称 */
|
|
8
|
+
name: string;
|
|
9
|
+
/** 推荐类型值 */
|
|
10
|
+
value: RECOMMENDATION_TYPE_ENUM;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 推荐类型选项数组
|
|
14
|
+
*/
|
|
15
|
+
export declare const recommendation_type_options: RecommendationTypeOption[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 舍入规则选项数组
|
|
3
|
+
* 提供 {name: '规则名称', value: '规则值'} 格式的数据
|
|
4
|
+
*/
|
|
5
|
+
import { rounding_rule } from '../enums/rounding-rule.enum';
|
|
6
|
+
export interface roundingRuleOption {
|
|
7
|
+
/** 规则名称 */
|
|
8
|
+
name: string;
|
|
9
|
+
/** 规则值 */
|
|
10
|
+
value: rounding_rule;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 舍入规则选项数组
|
|
14
|
+
*/
|
|
15
|
+
export declare const rounding_rule_options: roundingRuleOption[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 零售终端价格使用类型选项数组
|
|
3
|
+
* 提供 {name: '零售终端价格使用类型名称', value: '零售终端价格使用类型值'} 格式的数据
|
|
4
|
+
*/
|
|
5
|
+
import { sales_end_app_tag } from '../enums/sales_end_app_tag.enum';
|
|
6
|
+
export interface SalesEndAppTagOption {
|
|
7
|
+
/** 零售终端价格使用类型名称 */
|
|
8
|
+
name: string;
|
|
9
|
+
/** 零售终端价格使用类型值 */
|
|
10
|
+
value: sales_end_app_tag;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 合同签约方式选项数组
|
|
14
|
+
*/
|
|
15
|
+
export declare const SALES_END_APP_TAG_OPTIONS: SalesEndAppTagOption[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 合同签约方式选项数组
|
|
3
|
+
* 提供 {name: '签署方式名称', value: '签署方式值'} 格式的数据
|
|
4
|
+
*/
|
|
5
|
+
import { SIGN_STYLE } from '../enums/sign-style.enum';
|
|
6
|
+
export interface SignStyleOption {
|
|
7
|
+
/** 签约方式名称 */
|
|
8
|
+
name: string;
|
|
9
|
+
/** 签约方式值 */
|
|
10
|
+
value: SIGN_STYLE;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 合同签约方式选项数组
|
|
14
|
+
*/
|
|
15
|
+
export declare const SIGN_STYLE_OPTIONS: SignStyleOption[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 报价清单状态选项数组
|
|
3
|
+
* 提供 {name: '状态名称', value: '状态值'} 格式的数据
|
|
4
|
+
*/
|
|
5
|
+
import { solution_status } from '../enums/solution-status.enum';
|
|
6
|
+
export interface StatusOption {
|
|
7
|
+
/** 状态名称 */
|
|
8
|
+
name: string;
|
|
9
|
+
/** 状态值 */
|
|
10
|
+
value: solution_status;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 报价清单状态选项数组
|
|
14
|
+
*/
|
|
15
|
+
export declare const solution_status_options: StatusOption[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 空间类别选项数组
|
|
3
|
+
* 提供 {name: '类别名称', value: '类别值'} 格式的数据
|
|
4
|
+
*/
|
|
5
|
+
import { spatial_category } from '../enums/spatial-category.enum';
|
|
6
|
+
export interface spatialCategoryOption {
|
|
7
|
+
/** 类别名称 */
|
|
8
|
+
name: string;
|
|
9
|
+
/** 类别值 */
|
|
10
|
+
value: spatial_category;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 空间类别选项数组
|
|
14
|
+
*/
|
|
15
|
+
export declare const spatial_category_options: spatialCategoryOption[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 产品供货模式选项数组
|
|
3
|
+
* 提供 {name: '模式名称', value: '模式值'} 格式的数据
|
|
4
|
+
*/
|
|
5
|
+
import { supply_mode } from '../enums/supply-mode.enum';
|
|
6
|
+
export interface SupplyModeOption {
|
|
7
|
+
/** 供货模式名称 */
|
|
8
|
+
name: string;
|
|
9
|
+
/** 供货模式值 */
|
|
10
|
+
value: supply_mode;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 产品供货模式选项数组
|
|
14
|
+
*/
|
|
15
|
+
export declare const supply_mode_options: SupplyModeOption[];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 业务范围分类枚举
|
|
3
|
+
*/
|
|
4
|
+
export declare enum BUSINESS_SCOPE_ENUM {
|
|
5
|
+
/** 自营产品 */
|
|
6
|
+
SELF_OPERATED_PRODUCT = "SELF_OPERATED_PRODUCT",
|
|
7
|
+
/** 代购代销 */
|
|
8
|
+
AGENCY_PURCHASE_SALES = "AGENCY_PURCHASE_SALES",
|
|
9
|
+
/** 室内设计 */
|
|
10
|
+
INTERIOR_DESIGN = "INTERIOR_DESIGN",
|
|
11
|
+
/** 工程施工 */
|
|
12
|
+
ENGINEERING_CONSTRUCTION = "ENGINEERING_CONSTRUCTION"
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 业务工作枚举
|
|
3
|
+
*/
|
|
4
|
+
export declare enum BUSINESS_WORK_PHASE_ENUM {
|
|
5
|
+
/** 营销 */
|
|
6
|
+
MARKETING = "MARKETING",
|
|
7
|
+
/** 销售 */
|
|
8
|
+
SALES = "SALES",
|
|
9
|
+
/** 设计 */
|
|
10
|
+
DESIGN = "DESIGN",
|
|
11
|
+
/** 安装 */
|
|
12
|
+
INSTALLATION = "INSTALLATION",
|
|
13
|
+
/** 售后 */
|
|
14
|
+
AFTER_SALES = "AFTER_SALES"
|
|
15
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 销售合同状态
|
|
3
|
+
*/
|
|
4
|
+
export declare enum CONTRACT_STATE_ENUM {
|
|
5
|
+
/** 草稿 */
|
|
6
|
+
DRAFT = "DRAFT",
|
|
7
|
+
/** 待我签 */
|
|
8
|
+
SIGN_STAY_FOR_ME = "SIGN_STAY_FOR_ME",
|
|
9
|
+
/** 待客签 */
|
|
10
|
+
SIGN_STAY_CUSTOMER = "SIGN_STAY_CUSTOMER",
|
|
11
|
+
/** 待提报 */
|
|
12
|
+
STAY_REPORTED = "STAY_REPORTED",
|
|
13
|
+
/** 待审核 */
|
|
14
|
+
STAY_AUDIT = "STAY_AUDIT",
|
|
15
|
+
/** 审核中 */
|
|
16
|
+
UNDER_REVIEW = "UNDER_REVIEW",
|
|
17
|
+
/** 已驳回 */
|
|
18
|
+
REJECTED = "REJECTED",
|
|
19
|
+
/** 已完成 */
|
|
20
|
+
COMPLETED = "COMPLETED",
|
|
21
|
+
/** 待下单 */
|
|
22
|
+
STAY_SCALE = "STAY_SCALE",
|
|
23
|
+
/** 下单审核 */
|
|
24
|
+
SCALE_UNDER_REVIEW = "SCALE_UNDER_REVIEW",
|
|
25
|
+
/** 下单驳回 */
|
|
26
|
+
SCALE_REJECTED = "SCALE_REJECTED",
|
|
27
|
+
/** 下单完成 */
|
|
28
|
+
SCALE_COMPLETED = "SCALE_COMPLETED",
|
|
29
|
+
/** 已作废 */
|
|
30
|
+
VOIDED = "VOIDED"
|
|
31
|
+
}
|