@kmkf-fe-packages/services-components 0.23.1-beta.8 → 0.23.1-beta.9

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.
@@ -448,7 +448,19 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
448
448
  title: "\u8D60\u54C1\u7C7B\u578B",
449
449
  align: 'center',
450
450
  ellipsis: true,
451
- width: 100
451
+ width: 100,
452
+ render: function render(val) {
453
+ var giftTypeMap = {
454
+ 0: '非赠品',
455
+ 1: '自动赠送',
456
+ 2: '手工赠送',
457
+ 3: '回购自动送赠品',
458
+ 4: '前N有礼送赠品',
459
+ 6: '天猫优仓赠品',
460
+ 7: '淘宝CRM会员送赠'
461
+ };
462
+ return /*#__PURE__*/React.createElement("span", null, giftTypeMap[val]);
463
+ }
452
464
  }];
453
465
  break;
454
466
  default:
@@ -160,7 +160,6 @@ var CommonHeaderGoods = /*#__PURE__*/_createClass(function CommonHeaderGoods(opt
160
160
  _defineProperty(this, "filterConfig", function () {
161
161
  return [];
162
162
  });
163
- console.log('options', options);
164
163
  this.name = options.name;
165
164
  this.id = options.id;
166
165
  this.sortField = options.id;
@@ -172,7 +171,6 @@ var CommonHeaderGoods = /*#__PURE__*/_createClass(function CommonHeaderGoods(opt
172
171
  this.isCombinationComponent = true;
173
172
  this.canSort = false;
174
173
  this.dataType = "string";
175
- console.log('GoodHeaderMap', GoodHeaderMap[this.type]);
176
174
  this.itemKey = (_GoodHeaderMap$this$t = GoodHeaderMap[this.type]) === null || _GoodHeaderMap$this$t === void 0 ? void 0 : _GoodHeaderMap$this$t.itemKey;
177
175
  this.children = _toConsumableArray(Object.keys(GoodHeaderMap[this.type].headerMap).reduce(function (prv, key) {
178
176
  var _options$componentCon, _options$componentCon2;
@@ -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, CommonDataTime, TradeId, ShopName, ErpTradeId, 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, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, WdtGoods } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => BsLogistics | BsSystemOrder | CommonMultiStatus | CommonSystemOrder | BasicInput | JstLogistics | Logistics | LogisticsMoreTrajectory | Payment | TradeId | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | ErpTradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | JstItemSelect | JstSendGood | JstSupply | BsGoods | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | MsgStatus | WdtGoods;
3
+ export declare const factory: (type: string, options: PickOption) => BsLogistics | BsReissue | BsSystemOrder | JstSendGood | WdtGoods | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | TradeId | ErpTradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSupply | BsGoods | BsExchange | 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 | MsgStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "0.23.1-beta.8",
3
+ "version": "0.23.1-beta.9",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -20,7 +20,7 @@
20
20
  ]
21
21
  },
22
22
  "dependencies": {
23
- "@kmkf-fe-packages/basic-components": "^0.23.1-beta.8",
23
+ "@kmkf-fe-packages/basic-components": "^0.23.1-beta.9",
24
24
  "@kmkf-fe-packages/kmkf-utils": "^0.23.1-beta.8"
25
25
  },
26
26
  "devDependencies": {
@@ -37,7 +37,7 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "f96bf8dffe0f7ef6a62e90e40be09894f70a5b99",
40
+ "gitHead": "38f38035a4928b9b1ccc933ad026a3694e6c0100",
41
41
  "gitHooks": {
42
42
  "pre-commit": "lint-staged"
43
43
  }