@kmkf-fe-packages/services-components 2.10.16 → 2.10.18-rc.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.
Files changed (48) hide show
  1. package/dist/esm/Hooks/useColumnsConfig.d.ts +1 -1
  2. package/dist/esm/components/BS/BsExchange/index.d.ts +7 -0
  3. package/dist/esm/components/BS/BsExchange/index.js +6 -0
  4. package/dist/esm/components/BS/BsGoods/index.d.ts +7 -0
  5. package/dist/esm/components/BS/BsGoods/index.js +6 -0
  6. package/dist/esm/components/BS/BsReissue/index.d.ts +7 -0
  7. package/dist/esm/components/BS/BsReissue/index.js +6 -0
  8. package/dist/esm/components/BS/BsReturn/index.d.ts +7 -0
  9. package/dist/esm/components/BS/BsReturn/index.js +6 -0
  10. package/dist/esm/components/BsE3/BsGoods/index.d.ts +7 -0
  11. package/dist/esm/components/BsE3/BsGoods/index.js +6 -0
  12. package/dist/esm/components/BsE3/BsReissueE3/index.d.ts +7 -0
  13. package/dist/esm/components/BsE3/BsReissueE3/index.js +6 -0
  14. package/dist/esm/components/Common/constants/columnsBaseInfoMap.d.ts +6 -0
  15. package/dist/esm/components/Common/constants/columnsBaseInfoMap.js +14 -0
  16. package/dist/esm/components/GY/GyGoods/index.d.ts +7 -0
  17. package/dist/esm/components/GY/GyGoods/index.js +6 -0
  18. package/dist/esm/components/GY/GyReissue/index.d.ts +7 -0
  19. package/dist/esm/components/GY/GyReissue/index.js +6 -0
  20. package/dist/esm/components/GY/GyReturn/index.d.ts +7 -0
  21. package/dist/esm/components/GY/GyReturn/index.js +6 -0
  22. package/dist/esm/components/KM/KmExchange/index.d.ts +7 -0
  23. package/dist/esm/components/KM/KmExchange/index.js +6 -0
  24. package/dist/esm/components/LogisticsInterception/index.d.ts +3 -0
  25. package/dist/esm/components/LogisticsInterception/index.js +14 -7
  26. package/dist/esm/components/LogisticsInterception/interceptLogisticsCustomerCode.d.ts +39 -0
  27. package/dist/esm/components/LogisticsInterception/interceptLogisticsCustomerCode.js +103 -0
  28. package/dist/esm/components/LogisticsMoreInterception/index.d.ts +2 -0
  29. package/dist/esm/components/LogisticsMoreInterception/index.js +19 -5
  30. package/dist/esm/components/LogisticsMoreInterception/interceptLogisticsCustomerCode.d.ts +39 -0
  31. package/dist/esm/components/LogisticsMoreInterception/interceptLogisticsCustomerCode.js +108 -0
  32. package/dist/esm/components/Public/Exchange/index.d.ts +7 -0
  33. package/dist/esm/components/Public/Exchange/index.js +6 -0
  34. package/dist/esm/components/Public/Goods/index.js +2 -12
  35. package/dist/esm/components/Public/ReissueGoods/index.d.ts +7 -0
  36. package/dist/esm/components/Public/ReissueGoods/index.js +6 -0
  37. package/dist/esm/components/SKX/SkxGoods/index.d.ts +7 -0
  38. package/dist/esm/components/SKX/SkxGoods/index.js +6 -0
  39. package/dist/esm/components/WDT/WdtExchange/index.d.ts +7 -0
  40. package/dist/esm/components/WDT/WdtExchange/index.js +6 -0
  41. package/dist/esm/components/WDT/WdtGoods/index.d.ts +7 -0
  42. package/dist/esm/components/WDT/WdtGoods/index.js +6 -0
  43. package/dist/esm/components/WDT/WdtRessuie/index.d.ts +7 -0
  44. package/dist/esm/components/WDT/WdtRessuie/index.js +6 -0
  45. package/dist/esm/components/WDT/WdtReturn/index.d.ts +7 -0
  46. package/dist/esm/components/WDT/WdtReturn/index.js +6 -0
  47. package/dist/esm/factory.d.ts +1 -1
  48. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  import LogisticsInterception from "../components/LogisticsInterception";
2
2
  import LogisticsMoreInterception from "../components/LogisticsMoreInterception";
3
- export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/BS/BsExchange").default | import("../components/BS/BsGoods").default | import("../components/BS/BsLogistics").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/BS/BsSystemOrder").default | import("../components/BsE3/BsGoods").default | import("../components/BsE3/BsReissueE3").default | import("../components/CommonMultiStatus").default | import("../components/DXD/DxdShopSelect").default | import("../components/Input").default | import("../components/TypeInput").default | import("../components/Address").default | import("../components/Cascader").default | import("../components/Checkbox").default | import("../components/DataTime").default | import("../components/Select").default | import("../components/SelectOption").default | import("../components/Radio").default | import("../components/TextArea").default | import("../components/Picture").default | import("../components/PicturePro").default | import("../components/MultSelect").default | import("../components/Grade").default | import("../components/Rate").default | import("../components/File").default | import("../components/PostIng").default | import("../components/SubForm").default | import("../components/CommonDataTime").default | import("../components/TradeId").default | import("../components/ShopName").default | import("../components/BuyerNick").default | import("../components/ReceiverName").default | import("../components/ReceiverMobile").default | import("../components/ReceiverAddress").default | import("../components/TradeDateTime").default | import("../components/Logistics").default | import("../components/ReturnLogistics").default | import("../components/ActualPayment").default | import("../components/Remark").default | import("../components/Alipay").default | import("../components/EItemSelect").default | import("../components/EItemId").default | import("../components/EItemEnCode").default | import("../components/SystemOrderNo").default | import("../components/Ordinary").default | import("../components/ThirdItemSelect").default | import("../components/Payment").default | import("../components/Reissue/Logistics").default | import("../components/JST/JstItemSelect").default | import("../components/JST/JstSendGood").default | import("../components/JST/JstSupply").default | import("../components/Public/Goods").default | import("../components/Public/ReissueGoods").default | import("../components/Public/Exchange").default | import("../components/FlowStatusSelect").default | import("../components/FlowMarkSelect").default | import("../components/FlowTag").default | import("../components/TemplateSelect").default | import("../components/WorkOrderId").default | LogisticsInterception | LogisticsMoreInterception | import("../components/LogisticsTrajectory").default | import("../components/LogisticsMoreTrajectory").default | import("../components/PlatForm").default | import("../components/ShopInput").default | import("../components/Submitter").default | import("../components/PrevSubmitter").default | import("../components/FlowCreator").default | import("../components/Handler").default | import("../components/CompletedUser").default | import("../components/FlowWorkOrderId").default | import("../components/StatusSelect").default | import("../components/Calculation").default | import("../components/CommonSystemOrder").default | import("../components/NodeDeadLine").default | import("../components/HandlerDeadLine").default | import("../components/NodeStayDuration").default | import("../components/BS/BsPosting").default | import("../components/NodeInput").default | import("../components/FlowWorkOrderStatus").default | import("../components/MsgStatus").default | import("../components/WDT/WdtGoods").default | import("../components/WDT/WdtRessuie").default | import("../components/WDT/WdtReturn").default | import("../components/WDT/WdtExchange").default | import("../components/WDT/WdtShopSelect").default | import("../components/KM/KmVideo").default | import("../components/CommonInput").default | import("../components/PaymentVoucherCode").default | import("../components/Label").default | import("../components/MemberLevel").default | import("../components/AfterSalesOrderId").default | import("../components/GY/GyReissue").default | import("../components/GY/GyReturn").default | import("../components/Public/AsyncSelect").default | import("../components/SKX/SkxIdInputSelect").default | import("../components/SKX/SkxGoods").default | import("../components/OrderSubForm").default | import("../components/FlowOverallStatusSelect").default | import("../components/Public/ReturnWarehouse").default | import("../components/KM/KmExchange").default | import("../components/GY/GyGoods").default;
3
+ export declare const newRenderColumnItem: (effects: any) => (item: any) => import("../components/BS/BsLogistics").default | import("../components/BS/BsSystemOrder").default | import("../components/JST/JstSendGood").default | LogisticsInterception | LogisticsMoreInterception | import("../components/Public/Goods").default | import("../components/Input").default | import("../components/TypeInput").default | import("../components/Address").default | import("../components/Cascader").default | import("../components/Checkbox").default | import("../components/DataTime").default | import("../components/Select").default | import("../components/SelectOption").default | import("../components/Radio").default | import("../components/TextArea").default | import("../components/Picture").default | import("../components/PicturePro").default | import("../components/MultSelect").default | import("../components/Grade").default | import("../components/Rate").default | import("../components/File").default | import("../components/PostIng").default | import("../components/SubForm").default | import("../components/CommonDataTime").default | import("../components/TradeId").default | import("../components/ShopName").default | import("../components/BuyerNick").default | import("../components/ReceiverName").default | import("../components/ReceiverMobile").default | import("../components/ReceiverAddress").default | import("../components/TradeDateTime").default | import("../components/Logistics").default | import("../components/ReturnLogistics").default | import("../components/ActualPayment").default | import("../components/Remark").default | import("../components/Alipay").default | import("../components/EItemSelect").default | import("../components/EItemId").default | import("../components/EItemEnCode").default | import("../components/SystemOrderNo").default | import("../components/Ordinary").default | import("../components/ThirdItemSelect").default | import("../components/Payment").default | import("../components/Reissue/Logistics").default | import("../components/JST/JstItemSelect").default | import("../components/JST/JstSupply").default | import("../components/BS/BsGoods").default | import("../components/BsE3/BsGoods").default | import("../components/Public/ReissueGoods").default | import("../components/Public/Exchange").default | import("../components/BsE3/BsReissueE3").default | import("../components/BS/BsExchange").default | import("../components/BS/BsReissue").default | import("../components/BS/BsReturn").default | import("../components/FlowStatusSelect").default | import("../components/FlowMarkSelect").default | import("../components/FlowTag").default | import("../components/TemplateSelect").default | import("../components/WorkOrderId").default | import("../components/LogisticsTrajectory").default | import("../components/LogisticsMoreTrajectory").default | import("../components/PlatForm").default | import("../components/ShopInput").default | import("../components/Submitter").default | import("../components/PrevSubmitter").default | import("../components/FlowCreator").default | import("../components/Handler").default | import("../components/CompletedUser").default | import("../components/FlowWorkOrderId").default | import("../components/StatusSelect").default | import("../components/Calculation").default | import("../components/CommonSystemOrder").default | import("../components/CommonMultiStatus").default | import("../components/NodeDeadLine").default | import("../components/HandlerDeadLine").default | import("../components/NodeStayDuration").default | import("../components/BS/BsPosting").default | import("../components/NodeInput").default | import("../components/FlowWorkOrderStatus").default | import("../components/MsgStatus").default | import("../components/WDT/WdtGoods").default | import("../components/WDT/WdtRessuie").default | import("../components/WDT/WdtReturn").default | import("../components/WDT/WdtExchange").default | import("../components/WDT/WdtShopSelect").default | import("../components/DXD/DxdShopSelect").default | import("../components/KM/KmVideo").default | import("../components/CommonInput").default | import("../components/PaymentVoucherCode").default | import("../components/Label").default | import("../components/MemberLevel").default | import("../components/AfterSalesOrderId").default | import("../components/Public/ReturnWarehouse").default | import("../components/GY/GyGoods").default | import("../components/KM/KmExchange").default | import("../components/GY/GyReissue").default | import("../components/GY/GyReturn").default | import("../components/Public/AsyncSelect").default | import("../components/SKX/SkxIdInputSelect").default | import("../components/SKX/SkxGoods").default | import("../components/OrderSubForm").default | import("../components/FlowOverallStatusSelect").default;
4
4
  export declare const useColumnsConfig: ({ queryWorkOrderDetail, flatTemplateList, shopList, sortState, onChangeSort, handleReset, handleSubmit, handleChangeSingleWorkOrderMark, userList, tbAppKey, isShare, openSingleColumnsFilter, openSingleColumnsSort, }: {
5
5
  queryWorkOrderDetail?: ((p: any) => void) | undefined;
6
6
  flatTemplateList?: any;
@@ -14,12 +14,19 @@ declare class BsExchange implements ComponentInterface {
14
14
  canSort: boolean;
15
15
  children: ComponentInterface[];
16
16
  dataType: ComponentInterface["dataType"];
17
+ sortChildField: NonNullable<ComponentInterface["sortChildField"]>;
17
18
  bsType: BsType;
18
19
  bsMemo: BsMemo;
19
20
  returnGoods: BsHeaderGood;
20
21
  swapOutGoods: BsHeaderGood;
21
22
  giftGoods: BsHeaderGood;
22
23
  constructor(options: PickOption);
24
+ getSortChildFields: () => {
25
+ name: any;
26
+ key: string;
27
+ dataType: string;
28
+ conditionOptionsSetting: any;
29
+ }[];
23
30
  renderClient: (record: any) => React.JSX.Element | null;
24
31
  renderPc: () => null;
25
32
  renderLog: (r: Record) => React.JSX.Element;
@@ -16,6 +16,7 @@ import { isNull } from "@kmkf-fe-packages/kmkf-utils";
16
16
  import { BsExchange as Exchange } from "@kmkf-fe-packages/basic-components";
17
17
  import { SYMBOL } from "../../../constant";
18
18
  import { BsType, BsMemo, BsHeaderGood } from "../common/index";
19
+ import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
19
20
  var BsExchange = /*#__PURE__*/_createClass(function BsExchange(options) {
20
21
  var _this = this,
21
22
  _this$componentConfig10;
@@ -32,11 +33,15 @@ var BsExchange = /*#__PURE__*/_createClass(function BsExchange(options) {
32
33
  _defineProperty(this, "canSort", void 0);
33
34
  _defineProperty(this, "children", void 0);
34
35
  _defineProperty(this, "dataType", void 0);
36
+ _defineProperty(this, "sortChildField", void 0);
35
37
  _defineProperty(this, "bsType", void 0);
36
38
  _defineProperty(this, "bsMemo", void 0);
37
39
  _defineProperty(this, "returnGoods", void 0);
38
40
  _defineProperty(this, "swapOutGoods", void 0);
39
41
  _defineProperty(this, "giftGoods", void 0);
42
+ _defineProperty(this, "getSortChildFields", function () {
43
+ return getGoodsSortChildFields(_this.type, _this.id);
44
+ });
40
45
  _defineProperty(this, "renderClient", function (record) {
41
46
  var _this$componentConfig, _this$componentConfig2, _record, _record$bsExchangeTyp, _this$componentConfig3;
42
47
  var bsExchangeReturnGoods = JSON.parse((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_bsExchangeReturnGoods")]) || "[]");
@@ -210,5 +215,6 @@ var BsExchange = /*#__PURE__*/_createClass(function BsExchange(options) {
210
215
  }
211
216
  }];
212
217
  this.dataType = "object";
218
+ this.sortChildField = this.getSortChildFields();
213
219
  });
214
220
  export default BsExchange;
@@ -14,8 +14,15 @@ declare class BsGoods implements ComponentInterface {
14
14
  canSort: boolean;
15
15
  children: ComponentInterface[];
16
16
  dataType: ComponentInterface["dataType"];
17
+ sortChildField: NonNullable<ComponentInterface["sortChildField"]>;
17
18
  bsGoods: BsHeaderGood;
18
19
  constructor(options: PickOption);
20
+ getSortChildFields: () => {
21
+ name: any;
22
+ key: string;
23
+ dataType: string;
24
+ conditionOptionsSetting: any;
25
+ }[];
19
26
  renderClient: (record: any) => React.JSX.Element | null;
20
27
  renderPc: () => null;
21
28
  renderLog: (r: Record) => React.JSX.Element | null;
@@ -16,6 +16,7 @@ import ItemView from "../../../commonComponents/ItemView";
16
16
  import { isNull, findLabelBySelectValue } from "@kmkf-fe-packages/kmkf-utils";
17
17
  import { BsGoods as Goods } from "@kmkf-fe-packages/basic-components";
18
18
  import { SYMBOL } from "../../../constant";
19
+ import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
19
20
  var hasQualityValue = function hasQualityValue(value, componentConfig) {
20
21
  var _findLabelBySelectVal, _findLabelBySelectVal2;
21
22
  var label = (_findLabelBySelectVal = findLabelBySelectValue(value, componentConfig === null || componentConfig === void 0 ? void 0 : componentConfig.options)) === null || _findLabelBySelectVal === void 0 ? void 0 : (_findLabelBySelectVal2 = _findLabelBySelectVal.map(function (item) {
@@ -39,7 +40,11 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
39
40
  _defineProperty(this, "canSort", void 0);
40
41
  _defineProperty(this, "children", void 0);
41
42
  _defineProperty(this, "dataType", void 0);
43
+ _defineProperty(this, "sortChildField", void 0);
42
44
  _defineProperty(this, "bsGoods", void 0);
45
+ _defineProperty(this, "getSortChildFields", function () {
46
+ return getGoodsSortChildFields(_this.type, _this.id);
47
+ });
43
48
  _defineProperty(this, "renderClient", function (record) {
44
49
  var _record, _this$componentConfig;
45
50
  return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ItemView, {
@@ -155,5 +160,6 @@ var BsGoods = /*#__PURE__*/_createClass(function BsGoods(options) {
155
160
  }
156
161
  });
157
162
  this.dataType = "object";
163
+ this.sortChildField = this.getSortChildFields();
158
164
  });
159
165
  export default BsGoods;
@@ -15,10 +15,17 @@ declare class BsReissue implements ComponentInterface {
15
15
  canSort: boolean;
16
16
  children: ComponentInterface[];
17
17
  dataType: ComponentInterface['dataType'];
18
+ sortChildField: NonNullable<ComponentInterface['sortChildField']>;
18
19
  bsType: BsType;
19
20
  bsMemo: BsMemo;
20
21
  reissueGoods: BsHeaderGood | CommonHeaderGoods;
21
22
  constructor(options: PickOption);
23
+ getSortChildFields: () => {
24
+ name: any;
25
+ key: string;
26
+ dataType: string;
27
+ conditionOptionsSetting: any;
28
+ }[];
22
29
  renderClient: (record: any) => React.JSX.Element | null;
23
30
  renderPc: () => null;
24
31
  renderLog: (r: Record) => React.JSX.Element;
@@ -17,6 +17,7 @@ import { SYMBOL } from "../../../constant";
17
17
  import { BsGoodsTable } from "../../Common";
18
18
  import { BsType, BsMemo, BsHeaderGood } from "../common/index";
19
19
  import CommonHeaderGoods from "../../CommonHeaderGood";
20
+ import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
20
21
  var typeMap = {
21
22
  BS_REISSUE_GOODS: {
22
23
  key: 'bsReissueGoods',
@@ -53,9 +54,13 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
53
54
  _defineProperty(this, "canSort", void 0);
54
55
  _defineProperty(this, "children", void 0);
55
56
  _defineProperty(this, "dataType", void 0);
57
+ _defineProperty(this, "sortChildField", void 0);
56
58
  _defineProperty(this, "bsType", void 0);
57
59
  _defineProperty(this, "bsMemo", void 0);
58
60
  _defineProperty(this, "reissueGoods", void 0);
61
+ _defineProperty(this, "getSortChildFields", function () {
62
+ return getGoodsSortChildFields(_this.type, _this.id);
63
+ });
59
64
  _defineProperty(this, "renderClient", function (record) {
60
65
  var _record, _typeMap$_this$type, _record2, _typeMap$_this$type2, _this$componentConfig;
61
66
  return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, _this.bsType.renderClient(record), _this.bsMemo.renderClient(record), record !== null && record !== void 0 && (_record = record["".concat(_this.id)]) !== null && _record !== void 0 && _record[(_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.key].length ? /*#__PURE__*/React.createElement(ItemView, {
@@ -181,5 +186,6 @@ var BsReissue = /*#__PURE__*/_createClass(function BsReissue(options) {
181
186
  }
182
187
  }] : [];
183
188
  this.dataType = 'object';
189
+ this.sortChildField = this.getSortChildFields();
184
190
  });
185
191
  export default BsReissue;
@@ -14,10 +14,17 @@ declare class BsReturn implements ComponentInterface {
14
14
  canSort: boolean;
15
15
  children: ComponentInterface[];
16
16
  dataType: ComponentInterface["dataType"];
17
+ sortChildField: NonNullable<ComponentInterface["sortChildField"]>;
17
18
  bsType: BsType;
18
19
  bsMemo: BsMemo;
19
20
  reissueGoods: BsHeaderGood;
20
21
  constructor(options: PickOption);
22
+ getSortChildFields: () => {
23
+ name: any;
24
+ key: string;
25
+ dataType: string;
26
+ conditionOptionsSetting: any;
27
+ }[];
21
28
  renderClient: (record: any) => React.JSX.Element | null;
22
29
  renderPc: () => null;
23
30
  renderLog: (r: Record) => React.JSX.Element;
@@ -16,6 +16,7 @@ import { BsReturn as BsReturnGoods } from "@kmkf-fe-packages/basic-components";
16
16
  import { SYMBOL } from "../../../constant";
17
17
  import { BsGoodsTable } from "../../Common";
18
18
  import { BsType, BsMemo, BsHeaderGood } from "../common/index";
19
+ import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
19
20
  var BsReturn = /*#__PURE__*/_createClass(function BsReturn(options) {
20
21
  var _this = this,
21
22
  _this$componentConfig6;
@@ -32,9 +33,13 @@ var BsReturn = /*#__PURE__*/_createClass(function BsReturn(options) {
32
33
  _defineProperty(this, "canSort", void 0);
33
34
  _defineProperty(this, "children", void 0);
34
35
  _defineProperty(this, "dataType", void 0);
36
+ _defineProperty(this, "sortChildField", void 0);
35
37
  _defineProperty(this, "bsType", void 0);
36
38
  _defineProperty(this, "bsMemo", void 0);
37
39
  _defineProperty(this, "reissueGoods", void 0);
40
+ _defineProperty(this, "getSortChildFields", function () {
41
+ return getGoodsSortChildFields(_this.type, _this.id);
42
+ });
38
43
  _defineProperty(this, "renderClient", function (record) {
39
44
  var _this$componentConfig;
40
45
  return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, _this.bsType.renderClient(record), _this.bsMemo.renderClient(record), record !== null && record !== void 0 && record["".concat(_this.id)].bsReturnGoods.length ? /*#__PURE__*/React.createElement(ItemView, {
@@ -148,5 +153,6 @@ var BsReturn = /*#__PURE__*/_createClass(function BsReturn(options) {
148
153
  }
149
154
  }] : [];
150
155
  this.dataType = "object";
156
+ this.sortChildField = this.getSortChildFields();
151
157
  });
152
158
  export default BsReturn;
@@ -14,8 +14,15 @@ declare class BSE3Goods implements ComponentInterface {
14
14
  canSort: boolean;
15
15
  children: ComponentInterface[];
16
16
  dataType: ComponentInterface["dataType"];
17
+ sortChildField: NonNullable<ComponentInterface["sortChildField"]>;
17
18
  bsE3Goods: CommonHeaderGoods;
18
19
  constructor(options: PickOption);
20
+ getSortChildFields: () => {
21
+ name: any;
22
+ key: string;
23
+ dataType: string;
24
+ conditionOptionsSetting: any;
25
+ }[];
19
26
  renderClient: (record: any) => React.JSX.Element | null;
20
27
  renderPc: () => null;
21
28
  renderLog: (r: Record) => React.JSX.Element | null;
@@ -16,6 +16,7 @@ import ItemView from "../../../commonComponents/ItemView";
16
16
  import { isNull } from "@kmkf-fe-packages/kmkf-utils";
17
17
  import { CommonGoods as Goods } from "@kmkf-fe-packages/basic-components";
18
18
  import { SYMBOL } from "../../../constant";
19
+ import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
19
20
  var BSE3Goods = /*#__PURE__*/_createClass(function BSE3Goods(options) {
20
21
  var _this = this,
21
22
  _this$componentConfig6;
@@ -32,7 +33,11 @@ var BSE3Goods = /*#__PURE__*/_createClass(function BSE3Goods(options) {
32
33
  _defineProperty(this, "canSort", void 0);
33
34
  _defineProperty(this, "children", void 0);
34
35
  _defineProperty(this, "dataType", void 0);
36
+ _defineProperty(this, "sortChildField", void 0);
35
37
  _defineProperty(this, "bsE3Goods", void 0);
38
+ _defineProperty(this, "getSortChildFields", function () {
39
+ return getGoodsSortChildFields(_this.type, _this.id);
40
+ });
36
41
  _defineProperty(this, "renderClient", function (record) {
37
42
  var _record, _this$componentConfig;
38
43
  return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ItemView, {
@@ -119,5 +124,6 @@ var BSE3Goods = /*#__PURE__*/_createClass(function BSE3Goods(options) {
119
124
  }
120
125
  }] : [];
121
126
  this.dataType = "object";
127
+ this.sortChildField = this.getSortChildFields();
122
128
  });
123
129
  export default BSE3Goods;
@@ -15,11 +15,18 @@ declare class BsE3Reissue implements ComponentInterface {
15
15
  canSort: boolean;
16
16
  children: ComponentInterface[];
17
17
  dataType: ComponentInterface["dataType"];
18
+ sortChildField: NonNullable<ComponentInterface["sortChildField"]>;
18
19
  bsType: BsType;
19
20
  bsMemo: BsMemo;
20
21
  systemOrderNo: SystemOrderNo;
21
22
  reissueGoods: BsHeaderGood | CommonHeaderGoods;
22
23
  constructor(options: PickOption);
24
+ getSortChildFields: () => {
25
+ name: any;
26
+ key: string;
27
+ dataType: string;
28
+ conditionOptionsSetting: any;
29
+ }[];
23
30
  renderClient: (record: any) => React.JSX.Element | null;
24
31
  renderPc: () => null;
25
32
  renderLog: (r: Record) => React.JSX.Element;
@@ -17,6 +17,7 @@ import { SYMBOL } from "../../../constant";
17
17
  import { BsGoodsTable } from "../../Common/index";
18
18
  import { BsType, BsMemo, BsHeaderGood, SystemOrderNo } from "../../BS/common/index";
19
19
  import CommonHeaderGoods from "../../CommonHeaderGood";
20
+ import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
20
21
  var typeMap = {
21
22
  BS_E3_REISSUE_GOODS: {
22
23
  key: "bsE3ReissueGoods",
@@ -47,10 +48,14 @@ var BsE3Reissue = /*#__PURE__*/_createClass(function BsE3Reissue(options) {
47
48
  _defineProperty(this, "canSort", void 0);
48
49
  _defineProperty(this, "children", void 0);
49
50
  _defineProperty(this, "dataType", void 0);
51
+ _defineProperty(this, "sortChildField", void 0);
50
52
  _defineProperty(this, "bsType", void 0);
51
53
  _defineProperty(this, "bsMemo", void 0);
52
54
  _defineProperty(this, "systemOrderNo", void 0);
53
55
  _defineProperty(this, "reissueGoods", void 0);
56
+ _defineProperty(this, "getSortChildFields", function () {
57
+ return getGoodsSortChildFields(_this.type, _this.id);
58
+ });
54
59
  _defineProperty(this, "renderClient", function (record) {
55
60
  var _record, _typeMap$_this$type, _record2, _typeMap$_this$type2, _this$componentConfig;
56
61
  return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, _this.bsType.renderClient(record), _this.bsMemo.renderClient(record), _this.systemOrderNo.renderClient(record), record !== null && record !== void 0 && (_record = record["".concat(_this.id)]) !== null && _record !== void 0 && _record[(_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.key].length ? /*#__PURE__*/React.createElement(ItemView, {
@@ -190,5 +195,6 @@ var BsE3Reissue = /*#__PURE__*/_createClass(function BsE3Reissue(options) {
190
195
  }
191
196
  }] : [];
192
197
  this.dataType = "object";
198
+ this.sortChildField = this.getSortChildFields();
193
199
  });
194
200
  export default BsE3Reissue;
@@ -3,3 +3,9 @@ export declare type ColumnsMapType = {
3
3
  };
4
4
  export declare type GetColumnsBaseInfoMapFnType = (...args: any[]) => ColumnsMapType;
5
5
  export declare const getColumnsMap: GetColumnsBaseInfoMapFnType;
6
+ export declare const getGoodsSortChildFields: (type: string, id: string) => {
7
+ name: any;
8
+ key: string;
9
+ dataType: string;
10
+ conditionOptionsSetting: any;
11
+ }[];
@@ -37,4 +37,18 @@ export var getColumnsMap = function getColumnsMap(args) {
37
37
  text: text
38
38
  })["default"]
39
39
  });
40
+ };
41
+ export var getGoodsSortChildFields = function getGoodsSortChildFields(type, id) {
42
+ var columnsMap = getColumnsMap();
43
+ var columns = columnsMap[type] || (type.startsWith("BS_") ? columnsMap.BS_GOODS : columnsMap.default) || [];
44
+ return columns.filter(function (item) {
45
+ return !["picUrl"].includes(item.dataIndex);
46
+ }).map(function (item) {
47
+ return {
48
+ name: item.title,
49
+ key: "".concat(id, "_").concat(item.dataIndex),
50
+ dataType: "arrayObject",
51
+ conditionOptionsSetting: item.conditionOptionsSetting
52
+ };
53
+ });
40
54
  };
@@ -14,8 +14,15 @@ declare class GyGoods implements ComponentInterface {
14
14
  canSort: boolean;
15
15
  children: ComponentInterface[];
16
16
  dataType: ComponentInterface["dataType"];
17
+ sortChildField: NonNullable<ComponentInterface["sortChildField"]>;
17
18
  gyGoods: CommonHeaderGoods;
18
19
  constructor(options: PickOption);
20
+ getSortChildFields: () => {
21
+ name: any;
22
+ key: string;
23
+ dataType: string;
24
+ conditionOptionsSetting: any;
25
+ }[];
19
26
  renderClient: (record: any) => React.JSX.Element | null;
20
27
  renderPc: () => null;
21
28
  renderLog: (r: Record) => React.JSX.Element | null;
@@ -17,6 +17,7 @@ import { isNull } from "@kmkf-fe-packages/kmkf-utils";
17
17
  import { CommonGoods as Goods } from "@kmkf-fe-packages/basic-components";
18
18
  import { SYMBOL } from "../../../constant";
19
19
  import { useGoodsSourceFormat } from "../../../Hooks";
20
+ import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
20
21
  var GyGoods = /*#__PURE__*/_createClass(function GyGoods(options) {
21
22
  var _this = this,
22
23
  _this$componentConfig6;
@@ -33,7 +34,11 @@ var GyGoods = /*#__PURE__*/_createClass(function GyGoods(options) {
33
34
  _defineProperty(this, "canSort", void 0);
34
35
  _defineProperty(this, "children", void 0);
35
36
  _defineProperty(this, "dataType", void 0);
37
+ _defineProperty(this, "sortChildField", void 0);
36
38
  _defineProperty(this, "gyGoods", void 0);
39
+ _defineProperty(this, "getSortChildFields", function () {
40
+ return getGoodsSortChildFields(_this.type, _this.id);
41
+ });
37
42
  _defineProperty(this, "renderClient", function (record) {
38
43
  var _record, _this$componentConfig;
39
44
  return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ItemView, {
@@ -123,5 +128,6 @@ var GyGoods = /*#__PURE__*/_createClass(function GyGoods(options) {
123
128
  }
124
129
  }] : [];
125
130
  this.dataType = "object";
131
+ this.sortChildField = this.getSortChildFields();
126
132
  });
127
133
  export default GyGoods;
@@ -15,11 +15,18 @@ declare class GyReissue implements ComponentInterface {
15
15
  canSort: boolean;
16
16
  children: ComponentInterface[];
17
17
  dataType: ComponentInterface["dataType"];
18
+ sortChildField: NonNullable<ComponentInterface["sortChildField"]>;
18
19
  bsType: BsType;
19
20
  bsMemo: BsMemo;
20
21
  systemOrderNo: SystemOrderNo;
21
22
  reissueGoods: BsHeaderGood | CommonHeaderGoods;
22
23
  constructor(options: PickOption);
24
+ getSortChildFields: () => {
25
+ name: any;
26
+ key: string;
27
+ dataType: string;
28
+ conditionOptionsSetting: any;
29
+ }[];
23
30
  renderClient: (record: any) => React.JSX.Element | null;
24
31
  renderPc: () => null;
25
32
  renderLog: (r: Record) => React.JSX.Element;
@@ -18,6 +18,7 @@ import { BsGoodsTable } from "../../Common/index";
18
18
  import { BsType, BsMemo, SystemOrderNo } from "../../BS/common/index";
19
19
  import CommonHeaderGoods from "../../CommonHeaderGood";
20
20
  import { useGoodsSourceFormat } from "../../../Hooks";
21
+ import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
21
22
  var typeMap = {
22
23
  GY_REISSUE_GOODS: {
23
24
  key: "gyReissueGoods",
@@ -56,10 +57,14 @@ var GyReissue = /*#__PURE__*/_createClass(function GyReissue(options) {
56
57
  _defineProperty(this, "canSort", void 0);
57
58
  _defineProperty(this, "children", void 0);
58
59
  _defineProperty(this, "dataType", void 0);
60
+ _defineProperty(this, "sortChildField", void 0);
59
61
  _defineProperty(this, "bsType", void 0);
60
62
  _defineProperty(this, "bsMemo", void 0);
61
63
  _defineProperty(this, "systemOrderNo", void 0);
62
64
  _defineProperty(this, "reissueGoods", void 0);
65
+ _defineProperty(this, "getSortChildFields", function () {
66
+ return getGoodsSortChildFields(_this.type, _this.id);
67
+ });
63
68
  _defineProperty(this, "renderClient", function (record) {
64
69
  var _record, _typeMap$_this$type, _record2, _typeMap$_this$type2, _this$componentConfig;
65
70
  return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, _this.bsType.renderClient(record), _this.bsMemo.renderClient(record), _this.systemOrderNo.renderClient(record), record !== null && record !== void 0 && (_record = record["".concat(_this.id)]) !== null && _record !== void 0 && _record[(_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.key].length ? /*#__PURE__*/React.createElement(ItemView, {
@@ -206,5 +211,6 @@ var GyReissue = /*#__PURE__*/_createClass(function GyReissue(options) {
206
211
  }
207
212
  }];
208
213
  this.dataType = "object";
214
+ this.sortChildField = this.getSortChildFields();
209
215
  });
210
216
  export default GyReissue;
@@ -15,10 +15,17 @@ declare class GyReturn implements ComponentInterface {
15
15
  canSort: boolean;
16
16
  children: ComponentInterface[];
17
17
  dataType: ComponentInterface["dataType"];
18
+ sortChildField: NonNullable<ComponentInterface["sortChildField"]>;
18
19
  gyType: BsType;
19
20
  systemOrderNo: SystemOrderNo;
20
21
  returnGoods: BsHeaderGood | CommonHeaderGoods;
21
22
  constructor(options: PickOption);
23
+ getSortChildFields: () => {
24
+ name: any;
25
+ key: string;
26
+ dataType: string;
27
+ conditionOptionsSetting: any;
28
+ }[];
22
29
  renderClient: (record: any) => React.JSX.Element | null;
23
30
  renderPc: () => null;
24
31
  renderLog: (r: Record) => React.JSX.Element;
@@ -18,6 +18,7 @@ import CommonHeaderGoods from "../../CommonHeaderGood";
18
18
  import { GyReturn as Return, erpFormValidator } from "@kmkf-fe-packages/basic-components";
19
19
  import { BsType, SystemOrderNo } from "../../BS/common/index";
20
20
  import { useGoodsSourceFormat } from "../../../Hooks";
21
+ import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
21
22
  var typeMap = {
22
23
  GY_RETURN_GOODS: {
23
24
  key: "gyReturnGoods",
@@ -54,9 +55,13 @@ var GyReturn = /*#__PURE__*/_createClass(function GyReturn(options) {
54
55
  _defineProperty(this, "canSort", void 0);
55
56
  _defineProperty(this, "children", void 0);
56
57
  _defineProperty(this, "dataType", void 0);
58
+ _defineProperty(this, "sortChildField", void 0);
57
59
  _defineProperty(this, "gyType", void 0);
58
60
  _defineProperty(this, "systemOrderNo", void 0);
59
61
  _defineProperty(this, "returnGoods", void 0);
62
+ _defineProperty(this, "getSortChildFields", function () {
63
+ return getGoodsSortChildFields(_this.type, _this.id);
64
+ });
60
65
  _defineProperty(this, "renderClient", function (record) {
61
66
  var _record, _typeMap$_this$type, _record2, _typeMap$_this$type2, _this$componentConfig;
62
67
  return !isNull(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) ? /*#__PURE__*/React.createElement(React.Fragment, null, _this.gyType.renderClient(record), _this.systemOrderNo.renderClient(record), record !== null && record !== void 0 && (_record = record["".concat(_this.id)]) !== null && _record !== void 0 && _record[(_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.key].length ? /*#__PURE__*/React.createElement(ItemView, {
@@ -198,5 +203,6 @@ var GyReturn = /*#__PURE__*/_createClass(function GyReturn(options) {
198
203
  }
199
204
  }];
200
205
  this.dataType = "object";
206
+ this.sortChildField = this.getSortChildFields();
201
207
  });
202
208
  export default GyReturn;
@@ -14,8 +14,15 @@ declare class KmExchange implements ComponentInterface {
14
14
  canSort: boolean;
15
15
  children: ComponentInterface[];
16
16
  dataType: ComponentInterface["dataType"];
17
+ sortChildField: NonNullable<ComponentInterface["sortChildField"]>;
17
18
  returnGoods: CommonHeaderGoods;
18
19
  constructor(options: PickOption);
20
+ getSortChildFields: () => {
21
+ name: any;
22
+ key: string;
23
+ dataType: string;
24
+ conditionOptionsSetting: any;
25
+ }[];
19
26
  renderClient: (record: any) => React.JSX.Element | null;
20
27
  renderPc: () => null;
21
28
  renderLog: (r: Record) => React.JSX.Element;
@@ -17,6 +17,7 @@ import { SYMBOL } from "../../../constant";
17
17
  // import { BsType, BsMemo } from "../../Bs/common";
18
18
  import { CommonExchangeGoods, erpFormValidator } from "@kmkf-fe-packages/basic-components";
19
19
  import CommonHeaderGoods from "../../CommonHeaderGood";
20
+ import { getGoodsSortChildFields } from "../../Common/constants/columnsBaseInfoMap";
20
21
  var KmExchange = /*#__PURE__*/_createClass(function KmExchange(options) {
21
22
  var _this = this,
22
23
  _this$componentConfig6,
@@ -34,7 +35,11 @@ var KmExchange = /*#__PURE__*/_createClass(function KmExchange(options) {
34
35
  _defineProperty(this, "canSort", void 0);
35
36
  _defineProperty(this, "children", void 0);
36
37
  _defineProperty(this, "dataType", void 0);
38
+ _defineProperty(this, "sortChildField", void 0);
37
39
  _defineProperty(this, "returnGoods", void 0);
40
+ _defineProperty(this, "getSortChildFields", function () {
41
+ return getGoodsSortChildFields(_this.type, _this.id);
42
+ });
38
43
  _defineProperty(this, "renderClient", function (record) {
39
44
  var _this$componentConfig;
40
45
  var kmExchangeGoods = JSON.parse((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_kmExchangeGoods")]) || "[]");
@@ -132,5 +137,6 @@ var KmExchange = /*#__PURE__*/_createClass(function KmExchange(options) {
132
137
  }
133
138
  }];
134
139
  this.dataType = "object";
140
+ this.sortChildField = this.getSortChildFields();
135
141
  });
136
142
  export default KmExchange;
@@ -11,6 +11,7 @@ import InterceptState from "./InterceptState";
11
11
  import InterceptApiStatus from "./InterceptApiStatus";
12
12
  import Express from "../Express";
13
13
  import ExpressCode from "../ExpressCode";
14
+ import InterceptLogisticsCustomerCode from "./interceptLogisticsCustomerCode";
14
15
  declare class Logistics implements ComponentInterface {
15
16
  name: string;
16
17
  columnHeader: string | JSX.Element;
@@ -25,6 +26,7 @@ declare class Logistics implements ComponentInterface {
25
26
  interceptApiStatus: InterceptApiStatus;
26
27
  interceptSenderMobile: InterceptSenderMobile;
27
28
  interceptApiStatusReason: InterceptApiStatusReason;
29
+ interceptLogisticsCustomerCode: InterceptLogisticsCustomerCode;
28
30
  interceptSnapshot: InterceptSnapshot;
29
31
  interceptState: InterceptState;
30
32
  isCombinationComponent: boolean;
@@ -60,6 +62,7 @@ declare class Logistics implements ComponentInterface {
60
62
  interceptSnapshot: any;
61
63
  interceptState: any;
62
64
  interceptApiStatusReason: any;
65
+ interceptLogisticsCustomerCode: any;
63
66
  };
64
67
  renderPc: () => null;
65
68
  renderExport: () => null;