@kmkf-fe-packages/services-components 0.23.0-alpha.3 → 0.23.1-alpha.0

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.
@@ -30,6 +30,13 @@ var typeMap = {
30
30
  typeName: "订单类型",
31
31
  tagName: "标记",
32
32
  selectId: "wlnSystemSelectIds"
33
+ },
34
+ WDT_SYSTEM_ORDER: {
35
+ key: "wdtSystemShowOrder",
36
+ name: "旺店通",
37
+ typeName: "订单类型",
38
+ tagName: "订单标签",
39
+ selectId: "wdtSystemSelectIds"
33
40
  }
34
41
  };
35
42
  var BsSystemOrder = /*#__PURE__*/_createClass(function BsSystemOrder(options) {
@@ -576,25 +576,38 @@ export var FileRender = function FileRender(_ref12) {
576
576
  export var BsSystemOrderTable = function BsSystemOrderTable(_ref13) {
577
577
  var value = _ref13.value,
578
578
  type = _ref13.type;
579
- var columns = type === 'WLN_SYSTEM_ORDER' ? [{
580
- dataIndex: 'billType',
581
- title: '单据类型'
582
- }, {
583
- dataIndex: 'billNo',
584
- title: '系统订单号'
585
- }, {
586
- dataIndex: 'billTag',
587
- title: '标签'
588
- }] : [{
589
- dataIndex: 'billType',
590
- title: '订单类型'
591
- }, {
592
- dataIndex: 'billNo',
593
- title: '系统订单号'
594
- }, {
595
- dataIndex: 'billTag',
596
- title: '标记'
597
- }];
579
+ var columnMap = {
580
+ BS_SYSTEM_ORDER: [{
581
+ dataIndex: "billType",
582
+ title: "单据类型"
583
+ }, {
584
+ dataIndex: "billNo",
585
+ title: "系统订单号"
586
+ }, {
587
+ dataIndex: "billTag",
588
+ title: "标签"
589
+ }],
590
+ WLN_SYSTEM_ORDER: [{
591
+ dataIndex: "billType",
592
+ title: "订单类型"
593
+ }, {
594
+ dataIndex: "billNo",
595
+ title: "系统订单号"
596
+ }, {
597
+ dataIndex: "billTag",
598
+ title: "标记"
599
+ }],
600
+ WDT_SYSTEM_ORDER: [{
601
+ dataIndex: "billType",
602
+ title: "订单类型"
603
+ }, {
604
+ dataIndex: "billNo",
605
+ title: "系统订单号"
606
+ }, {
607
+ dataIndex: "billTag",
608
+ title: "订单标签"
609
+ }]
610
+ };
598
611
  var rowSelection = {
599
612
  selectedRowKeys: (value === null || value === void 0 ? void 0 : value.selectIds) || ((value === null || value === void 0 ? void 0 : value.showOrderInfo) || []).reduce(function (prv, next) {
600
613
  if (next.select) {
@@ -612,7 +625,7 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref13) {
612
625
  };
613
626
  return /*#__PURE__*/React.createElement(Table, {
614
627
  dataSource: (value === null || value === void 0 ? void 0 : value.showOrderInfo) || [],
615
- columns: columns,
628
+ columns: columnMap[type] || [],
616
629
  rowSelection: rowSelection,
617
630
  rowKey: 'billNo',
618
631
  size: "small",
@@ -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, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => BsReissue | ItemEnCode | Payment | TradeId | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | CommonDataTime | ErpTradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | SystemOrderNo | Ordinary | ThirdItemSelect | JstLogistics | JstItemSelect | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsExchange | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | MsgStatus;
3
+ export declare const factory: (type: string, options: PickOption) => BsGoods | BsSystemOrder | 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 | JstSendGood | JstSupply | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | MsgStatus;
@@ -123,6 +123,7 @@ export var factory = function factory(type, options) {
123
123
  return new JstSupply(options);
124
124
  case "BS_SYSTEM_ORDER":
125
125
  case "WLN_SYSTEM_ORDER":
126
+ case "WDT_SYSTEM_ORDER":
126
127
  return new BsSystemOrder(options);
127
128
  case "JST_SEND_GOOD":
128
129
  case "BS_SEND_GOOD":
@@ -131,6 +132,7 @@ export var factory = function factory(type, options) {
131
132
  case "BS_POSTING":
132
133
  return new BsPosting(options);
133
134
  case "BS_GOODS":
135
+ // case "WDT_GOODS":
134
136
  return new BsGoods(options);
135
137
  case "BS_EXCHANGE_GOODS":
136
138
  return new BsExchange(options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "0.23.0-alpha.3",
3
+ "version": "0.23.1-alpha.0",
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": "^0.23.0-alpha.3",
24
- "@kmkf-fe-packages/kmkf-utils": "^0.23.0-alpha.3"
23
+ "@kmkf-fe-packages/basic-components": "^0.23.1-alpha.0",
24
+ "@kmkf-fe-packages/kmkf-utils": "^0.23.1-alpha.0"
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": "c2e265d008d697310b87d0a4d1c1f9a14b3fbcf6",
40
+ "gitHead": "39fd1618947535a2a9186aa7f29dcd366ae0694a",
41
41
  "gitHooks": {
42
42
  "pre-commit": "lint-staged"
43
43
  }