@kmkf-fe-packages/services-components 1.17.8-beta.23 → 1.17.8-beta.25
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.
|
@@ -286,6 +286,167 @@ var GoodHeaderMap = {
|
|
|
286
286
|
giftType: "赠品方式"
|
|
287
287
|
},
|
|
288
288
|
moneyKey: "exchangePrice"
|
|
289
|
+
},
|
|
290
|
+
"BS_E3_GOODS": {
|
|
291
|
+
headerMap: {
|
|
292
|
+
sku: {
|
|
293
|
+
component: BsHeaderChild,
|
|
294
|
+
name: "SKU",
|
|
295
|
+
key: "sku",
|
|
296
|
+
width: 140
|
|
297
|
+
},
|
|
298
|
+
skuId: {
|
|
299
|
+
component: BsHeaderChild,
|
|
300
|
+
name: "SKU ID",
|
|
301
|
+
key: "skuId",
|
|
302
|
+
width: 140
|
|
303
|
+
},
|
|
304
|
+
goodsName: {
|
|
305
|
+
component: BsHeaderChild,
|
|
306
|
+
name: "商品名称",
|
|
307
|
+
key: "goodsName",
|
|
308
|
+
width: 100
|
|
309
|
+
},
|
|
310
|
+
goodsSname: {
|
|
311
|
+
component: BsHeaderChild,
|
|
312
|
+
name: "商品简称",
|
|
313
|
+
key: "goodsSname",
|
|
314
|
+
width: 70
|
|
315
|
+
},
|
|
316
|
+
picPath: {
|
|
317
|
+
component: BsHeaderChild,
|
|
318
|
+
name: "商品图片",
|
|
319
|
+
key: "picPath",
|
|
320
|
+
width: 80
|
|
321
|
+
},
|
|
322
|
+
goodsSn: {
|
|
323
|
+
component: BsHeaderChild,
|
|
324
|
+
name: "货号",
|
|
325
|
+
key: "goodsSn",
|
|
326
|
+
width: 140
|
|
327
|
+
},
|
|
328
|
+
goodsId: {
|
|
329
|
+
component: BsHeaderChild,
|
|
330
|
+
name: "货号ID",
|
|
331
|
+
key: "goodsId",
|
|
332
|
+
width: 100
|
|
333
|
+
},
|
|
334
|
+
colorName: {
|
|
335
|
+
component: BsHeaderChild,
|
|
336
|
+
name: "颜色名称",
|
|
337
|
+
key: "colorName",
|
|
338
|
+
width: 80
|
|
339
|
+
},
|
|
340
|
+
colorCode: {
|
|
341
|
+
component: BsHeaderChild,
|
|
342
|
+
name: "颜色代码",
|
|
343
|
+
key: "colorCode",
|
|
344
|
+
width: 80
|
|
345
|
+
},
|
|
346
|
+
sizeName: {
|
|
347
|
+
component: BsHeaderChild,
|
|
348
|
+
name: "尺码名称",
|
|
349
|
+
key: "sizeName",
|
|
350
|
+
width: 80
|
|
351
|
+
},
|
|
352
|
+
sizeCode: {
|
|
353
|
+
component: BsHeaderChild,
|
|
354
|
+
name: "尺码代码",
|
|
355
|
+
key: "sizeCode",
|
|
356
|
+
width: 80
|
|
357
|
+
},
|
|
358
|
+
brandName: {
|
|
359
|
+
component: BsHeaderChild,
|
|
360
|
+
name: "品牌名称",
|
|
361
|
+
key: "brandName",
|
|
362
|
+
width: 80
|
|
363
|
+
},
|
|
364
|
+
goodsNumber: {
|
|
365
|
+
component: BsHeaderChild,
|
|
366
|
+
name: "商品数量",
|
|
367
|
+
key: "goodsNumber",
|
|
368
|
+
width: 80
|
|
369
|
+
},
|
|
370
|
+
goodsPrice: {
|
|
371
|
+
component: BsHeaderChild,
|
|
372
|
+
name: "商品单价",
|
|
373
|
+
key: "goodsPrice",
|
|
374
|
+
width: 80
|
|
375
|
+
},
|
|
376
|
+
shopPrice: {
|
|
377
|
+
component: BsHeaderChild,
|
|
378
|
+
name: "商品网店售价",
|
|
379
|
+
key: "shopPrice",
|
|
380
|
+
width: 80
|
|
381
|
+
},
|
|
382
|
+
sharePrice: {
|
|
383
|
+
component: BsHeaderChild,
|
|
384
|
+
name: "分摊价",
|
|
385
|
+
key: "sharePrice",
|
|
386
|
+
width: 80
|
|
387
|
+
},
|
|
388
|
+
sharePayment: {
|
|
389
|
+
component: BsHeaderChild,
|
|
390
|
+
name: "分摊实付金额",
|
|
391
|
+
key: "sharePayment",
|
|
392
|
+
width: 80
|
|
393
|
+
},
|
|
394
|
+
payment: {
|
|
395
|
+
component: BsHeaderChild,
|
|
396
|
+
name: "实付金额",
|
|
397
|
+
key: "payment",
|
|
398
|
+
width: 80
|
|
399
|
+
},
|
|
400
|
+
tcSku: {
|
|
401
|
+
component: BsHeaderChild,
|
|
402
|
+
name: "套餐SKU",
|
|
403
|
+
key: "tcSku",
|
|
404
|
+
width: 120
|
|
405
|
+
},
|
|
406
|
+
tcGoodsNumber: {
|
|
407
|
+
component: BsHeaderChild,
|
|
408
|
+
name: "套餐套数",
|
|
409
|
+
key: "tcGoodsNumber",
|
|
410
|
+
width: 120
|
|
411
|
+
},
|
|
412
|
+
taocanSingleSl: {
|
|
413
|
+
component: BsHeaderChild,
|
|
414
|
+
name: "单个套餐数量",
|
|
415
|
+
key: "taocanSingleSl",
|
|
416
|
+
width: 80
|
|
417
|
+
},
|
|
418
|
+
isGift: {
|
|
419
|
+
component: BsHeaderChild,
|
|
420
|
+
name: "是否赠品",
|
|
421
|
+
key: "isGift",
|
|
422
|
+
width: 80
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
itemKey: {
|
|
426
|
+
sku: "SKU",
|
|
427
|
+
skuId: "SKU ID",
|
|
428
|
+
goodsName: "商品名称",
|
|
429
|
+
goodsSname: "商品简称",
|
|
430
|
+
picPath: "商品图片",
|
|
431
|
+
goodsSn: "货号",
|
|
432
|
+
goodsId: "货号ID",
|
|
433
|
+
colorName: "颜色名称",
|
|
434
|
+
colorCode: "颜色代码",
|
|
435
|
+
sizeName: "尺码名称",
|
|
436
|
+
sizeCode: "尺码代码",
|
|
437
|
+
brandName: "品牌名称",
|
|
438
|
+
goodsNumber: "商品数量",
|
|
439
|
+
goodsPrice: "商品单价",
|
|
440
|
+
shopPrice: "商品网店售价",
|
|
441
|
+
sharePrice: "分摊价",
|
|
442
|
+
sharePayment: "分摊实付金额",
|
|
443
|
+
payment: "实付金额",
|
|
444
|
+
tcSku: "套餐SKU",
|
|
445
|
+
tcGoodsNumber: "套餐套数",
|
|
446
|
+
taocanSingleSl: "单个套餐数量",
|
|
447
|
+
isGift: "是否赠品"
|
|
448
|
+
},
|
|
449
|
+
moneyKey: "payment"
|
|
289
450
|
}
|
|
290
451
|
};
|
|
291
452
|
GoodHeaderMap['WDT_REISSUE_GOODS'] = GoodHeaderMap['WDT_GOODS'];
|
|
@@ -13,6 +13,7 @@ declare class MsgStatus implements ComponentInterface {
|
|
|
13
13
|
canSort: boolean;
|
|
14
14
|
children: ComponentInterface[];
|
|
15
15
|
dataType: ComponentInterface['dataType'];
|
|
16
|
+
options: ComponentInterface['options'];
|
|
16
17
|
constructor(options: PickOption);
|
|
17
18
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
18
19
|
renderPc: (value: any, record: Record) => React.JSX.Element;
|
|
@@ -67,7 +67,8 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
|
|
|
67
67
|
var _this = this,
|
|
68
68
|
_typeMap$options$type,
|
|
69
69
|
_typeMap$options$type2,
|
|
70
|
-
_this$componentConfig5
|
|
70
|
+
_this$componentConfig5,
|
|
71
|
+
_typeMap$options$type3;
|
|
71
72
|
_classCallCheck(this, MsgStatus);
|
|
72
73
|
_defineProperty(this, "name", void 0);
|
|
73
74
|
_defineProperty(this, "id", void 0);
|
|
@@ -81,6 +82,7 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
|
|
|
81
82
|
_defineProperty(this, "canSort", void 0);
|
|
82
83
|
_defineProperty(this, "children", void 0);
|
|
83
84
|
_defineProperty(this, "dataType", void 0);
|
|
85
|
+
_defineProperty(this, "options", void 0);
|
|
84
86
|
_defineProperty(this, "renderClient", function (record) {
|
|
85
87
|
var _typeMap$_this$type, _typeMap$_this$type2, _typeMap$_this$type3;
|
|
86
88
|
var isShow = Array.isArray(record === null || record === void 0 ? void 0 : record[_this.id]) ? some(record === null || record === void 0 ? void 0 : record[_this.id], function (item) {
|
|
@@ -177,7 +179,7 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
|
|
|
177
179
|
this.name = options.name;
|
|
178
180
|
this.id = options.id;
|
|
179
181
|
this.sortField = "".concat(options.id, "_").concat((_typeMap$options$type = typeMap[options.type]) === null || _typeMap$options$type === void 0 ? void 0 : _typeMap$options$type.key);
|
|
180
|
-
this.formField = "".concat(options.id, "_").concat((_typeMap$options$type2 = typeMap[options.type]) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.
|
|
182
|
+
this.formField = "".concat(options.id, "_").concat((_typeMap$options$type2 = typeMap[options.type]) === null || _typeMap$options$type2 === void 0 ? void 0 : _typeMap$options$type2.key);
|
|
181
183
|
this.type = options.type;
|
|
182
184
|
this.componentConfig = _objectSpread(_objectSpread({}, options.componentConfig), {}, {
|
|
183
185
|
options: typeMap[options.type].options
|
|
@@ -185,7 +187,7 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
|
|
|
185
187
|
this.isCombinationComponent = false;
|
|
186
188
|
this.canSort = false;
|
|
187
189
|
this.children = [];
|
|
188
|
-
this.dataType = '
|
|
190
|
+
this.dataType = 'weakenArray';
|
|
189
191
|
this.rules = (_this$componentConfig5 = this.componentConfig) !== null && _this$componentConfig5 !== void 0 && _this$componentConfig5.required ? [{
|
|
190
192
|
required: true,
|
|
191
193
|
validator: function validator(_, value) {
|
|
@@ -201,5 +203,6 @@ var MsgStatus = /*#__PURE__*/_createClass(function MsgStatus(options) {
|
|
|
201
203
|
}
|
|
202
204
|
}] : [];
|
|
203
205
|
this.align = 'left';
|
|
206
|
+
this.options = (_typeMap$options$type3 = typeMap[options.type]) === null || _typeMap$options$type3 === void 0 ? void 0 : _typeMap$options$type3.options;
|
|
204
207
|
});
|
|
205
208
|
export default MsgStatus;
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, CommonDataTime, TradeId, ShopName, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, KmErpSendGood, AfterSalesOrderId, BsE3Goods } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => BsLogistics | BsSystemOrder | BsE3Goods | ItemEnCode | BasicInput | JstItemSelect | JstSendGood | JstSupply | KmErpSendGood | LogisticsMoreInterception | MsgStatus | SubForm | ThirdItemSelect |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => BsLogistics | BsSystemOrder | BsE3Goods | ItemEnCode | BasicInput | JstItemSelect | JstLogistics | JstSendGood | JstSupply | KmErpSendGood | LogisticsMoreInterception | MsgStatus | SubForm | ThirdItemSelect | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | SystemOrderNo | Ordinary | Payment | BsGoods | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode | Label | AfterSalesOrderId;
|
package/dist/esm/type.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ export interface ComponentInterface {
|
|
|
47
47
|
rules?: any[];
|
|
48
48
|
width?: number;
|
|
49
49
|
align?: ALignType;
|
|
50
|
-
dataType: "string" | "number" | "boolean" | "array" | "range" | "object" | "arrayObject";
|
|
50
|
+
dataType: "string" | "number" | "boolean" | "array" | "range" | "object" | "weakenArray" | "arrayObject";
|
|
51
51
|
format?: "dateTime" | "date" | "time" | "cascader" | "shopInput" | "staffGroup" | "object";
|
|
52
52
|
options?: Array<any>;
|
|
53
53
|
templateId?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.17.8-beta.
|
|
3
|
+
"version": "1.17.8-beta.25",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@kmkf-fe-packages/basic-components": "1.17.8-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "1.17.8-beta.24",
|
|
25
25
|
"@kmkf-fe-packages/kmkf-utils": "1.17.8-beta.23",
|
|
26
26
|
"b64-to-blob": "^1.2.19",
|
|
27
27
|
"html2canvas": "^1.4.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "2f39a8602f4fd838ac09051a79a354e9c7a6013f",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|