@kmkf-fe-packages/services-components 1.0.6-rc.4 → 1.0.6-rc.6

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.
@@ -642,11 +642,18 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
642
642
  return /*#__PURE__*/React.createElement("span", null, giftTypeMap[val]);
643
643
  }
644
644
  }, {
645
- dataIndex: 'productType',
645
+ dataIndex: 'type',
646
646
  title: "".concat(text, "\u5546\u54C1\u7C7B\u578B"),
647
647
  align: 'center',
648
648
  ellipsis: true,
649
- width: 100
649
+ width: 100,
650
+ render: function render(val) {
651
+ var typeMap = {
652
+ '1': '单品',
653
+ '2': '组合装'
654
+ };
655
+ return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
656
+ }
650
657
  }];
651
658
  }
652
659
  break;
@@ -725,11 +732,18 @@ export var BsGoodsTable = function BsGoodsTable(_ref11) {
725
732
  return /*#__PURE__*/React.createElement("span", null, giftTypeMap[val]);
726
733
  }
727
734
  }, {
728
- dataIndex: 'productType',
735
+ dataIndex: 'type',
729
736
  title: "".concat(text, "\u5546\u54C1\u7C7B\u578B"),
730
737
  align: 'center',
731
738
  ellipsis: true,
732
- width: 100
739
+ width: 100,
740
+ render: function render(val) {
741
+ var typeMap = {
742
+ '1': '单品',
743
+ '2': '组合装'
744
+ };
745
+ return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
746
+ }
733
747
  }];
734
748
  }
735
749
  break;
@@ -167,11 +167,18 @@ var GoodHeaderMap = {
167
167
  key: "giftType",
168
168
  width: 150
169
169
  },
170
- productType: {
170
+ type: {
171
171
  component: BsHeaderChild,
172
172
  name: "商品类型",
173
- key: "productType",
174
- width: 100
173
+ key: "type",
174
+ width: 100,
175
+ render: function render(val) {
176
+ var typeMap = {
177
+ '1': '单品',
178
+ '2': '组合装'
179
+ };
180
+ return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
181
+ }
175
182
  }
176
183
  },
177
184
  itemKey: {
@@ -185,7 +192,7 @@ var GoodHeaderMap = {
185
192
  sharePrice: "分摊价",
186
193
  returnPrice: "退款金额",
187
194
  giftType: "赠品方式",
188
- productType: "商品类型"
195
+ type: "商品类型"
189
196
  },
190
197
  moneyKey: "returnPrice"
191
198
  },
@@ -245,11 +252,18 @@ var GoodHeaderMap = {
245
252
  key: "exchangePrice",
246
253
  width: 120
247
254
  },
248
- productType: {
255
+ type: {
249
256
  component: BsHeaderChild,
250
257
  name: "商品类型",
251
- key: "productType",
252
- width: 100
258
+ key: "type",
259
+ width: 100,
260
+ render: function render(val) {
261
+ var typeMap = {
262
+ '1': '单品',
263
+ '2': '组合装'
264
+ };
265
+ return /*#__PURE__*/React.createElement("span", null, typeMap[val]);
266
+ }
253
267
  },
254
268
  giftType: {
255
269
  component: BsHeaderChild,
@@ -268,7 +282,7 @@ var GoodHeaderMap = {
268
282
  num: "换出数量",
269
283
  productPrice: "商品单价",
270
284
  exchangePrice: "换出金额",
271
- productType: "商品类型",
285
+ type: "商品类型",
272
286
  giftType: "赠品方式"
273
287
  },
274
288
  moneyKey: "exchangePrice"
@@ -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, 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 } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => AliPay | JstSendGood | Label | LogisticsInterception | WdtExchange | WdtReissue | WdtReturn | BasicInput | 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 | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | CommonInput | PaymentVoucherCode;
3
+ export declare const factory: (type: string, options: PickOption) => AliPay | JstSendGood | Label | LogisticsInterception | WdtReissue | BasicInput | 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 | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "1.0.6-rc.4",
3
+ "version": "1.0.6-rc.6",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -20,8 +20,8 @@
20
20
  ]
21
21
  },
22
22
  "dependencies": {
23
- "@kmkf-fe-packages/basic-components": "^1.0.6-rc.4",
24
- "@kmkf-fe-packages/kmkf-utils": "^1.0.6-rc.4"
23
+ "@kmkf-fe-packages/basic-components": "^1.0.6-rc.6",
24
+ "@kmkf-fe-packages/kmkf-utils": "^1.0.6-rc.6"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@typescript-eslint/eslint-plugin": "^5.59.2",
@@ -37,7 +37,7 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "5475f25a3c7cba6c160bb04867b542a38010a086",
40
+ "gitHead": "7890750f06f283b1be69ea418949502a762e5e1e",
41
41
  "gitHooks": {
42
42
  "pre-commit": "lint-staged"
43
43
  }