ls-pro-common 3.1.44 → 3.1.46

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 (160) hide show
  1. package/dist/common.css +16 -0
  2. package/dist/common.js +1 -1
  3. package/dist/common.less +2 -1
  4. package/dist/common.min.css +16 -0
  5. package/dist/common.min.js +1 -1
  6. package/es/components/Select/AreaCitySelect.d.ts +5 -0
  7. package/es/components/Select/AreaCitySelect.js +25 -0
  8. package/es/components/Select/AreaDistrictSelect.d.ts +5 -0
  9. package/es/components/Select/AreaDistrictSelect.js +25 -0
  10. package/es/components/Select/AreaProvinceSelect.d.ts +5 -0
  11. package/es/components/Select/AreaProvinceSelect.js +25 -0
  12. package/es/components/Select/Base.d.ts +11 -0
  13. package/es/components/Select/Base.js +128 -0
  14. package/es/components/Select/BrandDeptSelect.d.ts +5 -0
  15. package/es/components/Select/BrandDeptSelect.js +12 -0
  16. package/es/components/Select/CategorySelect.d.ts +5 -0
  17. package/es/components/Select/CategorySelect.js +12 -0
  18. package/es/components/Select/ColorSelect.d.ts +5 -0
  19. package/es/components/Select/ColorSelect.js +12 -0
  20. package/es/components/Select/ExpressCompanyPageSelect.d.ts +5 -0
  21. package/es/components/Select/ExpressCompanyPageSelect.js +12 -0
  22. package/es/components/Select/ExpressCompanySelect.d.ts +5 -0
  23. package/es/components/Select/ExpressCompanySelect.js +12 -0
  24. package/es/components/Select/GenderSelect.d.ts +5 -0
  25. package/es/components/Select/GenderSelect.js +12 -0
  26. package/es/components/Select/LogisticCategorySelect.d.ts +5 -0
  27. package/es/components/Select/LogisticCategorySelect.js +12 -0
  28. package/es/components/Select/LogisticRegionSelect.d.ts +5 -0
  29. package/es/components/Select/LogisticRegionSelect.js +12 -0
  30. package/es/components/Select/ManagingCitySelect.d.ts +5 -0
  31. package/es/components/Select/ManagingCitySelect.js +12 -0
  32. package/es/components/Select/OwnerSelect.d.ts +5 -0
  33. package/es/components/Select/OwnerSelect.js +12 -0
  34. package/es/components/Select/PhysicalStoreSelect.d.ts +5 -0
  35. package/es/components/Select/PhysicalStoreSelect.js +12 -0
  36. package/es/components/Select/PowerUnitSelect.d.ts +5 -0
  37. package/es/components/Select/PowerUnitSelect.js +12 -0
  38. package/es/components/Select/ProfitLossMainSelect.d.ts +5 -0
  39. package/es/components/Select/ProfitLossMainSelect.js +12 -0
  40. package/es/components/Select/SeasonSelect.d.ts +5 -0
  41. package/es/components/Select/SeasonSelect.js +12 -0
  42. package/es/components/Select/SettleAccountSelect.d.ts +5 -0
  43. package/es/components/Select/SettleAccountSelect.js +12 -0
  44. package/es/components/Select/SettleCategorySelect.d.ts +5 -0
  45. package/es/components/Select/SettleCategorySelect.js +12 -0
  46. package/es/components/Select/SettleCompanySelect.d.ts +5 -0
  47. package/es/components/Select/SettleCompanySelect.js +12 -0
  48. package/es/components/Select/ShopPageSelect.d.ts +5 -0
  49. package/es/components/Select/ShopPageSelect.js +12 -0
  50. package/es/components/Select/SizeTypeSelect.d.ts +5 -0
  51. package/es/components/Select/SizeTypeSelect.js +12 -0
  52. package/es/components/Select/StoreSelect.d.ts +5 -0
  53. package/es/components/Select/StoreSelect.js +12 -0
  54. package/es/components/Select/SupplierSelect.d.ts +5 -0
  55. package/es/components/Select/SupplierSelect.js +12 -0
  56. package/es/components/Select/TransportLocnoSelect.d.ts +5 -0
  57. package/es/components/Select/TransportLocnoSelect.js +12 -0
  58. package/es/components/Select/TransportPointPageSelect.d.ts +5 -0
  59. package/es/components/Select/TransportPointPageSelect.js +12 -0
  60. package/es/components/Select/UploadPointPageSelect.d.ts +5 -0
  61. package/es/components/Select/UploadPointPageSelect.js +12 -0
  62. package/es/components/Select/YearSelect.d.ts +5 -0
  63. package/es/components/Select/YearSelect.js +12 -0
  64. package/es/components/Select/common.d.ts +32 -0
  65. package/es/components/Select/common.js +20 -0
  66. package/es/components/Select/index.less +17 -0
  67. package/es/components/ViewOffice.js +6 -5
  68. package/es/components/index.d.ts +28 -0
  69. package/es/components/index.js +29 -1
  70. package/es/hooks/useMdm.d.ts +11 -2
  71. package/es/hooks/useMdm.js +26 -11
  72. package/es/http/index.d.ts +21 -0
  73. package/es/http/index.js +246 -2
  74. package/es/http/mdmCache.d.ts +19 -0
  75. package/es/http/mdmCache.js +157 -0
  76. package/es/http/mdmRequest.d.ts +148 -73
  77. package/es/http/mdmRequest.js +223 -93
  78. package/es/utils/index.d.ts +1 -0
  79. package/es/utils/index.js +1 -0
  80. package/es/utils/modal.js +1 -1
  81. package/es/utils/pasteUpload.d.ts +27 -0
  82. package/es/utils/pasteUpload.js +118 -0
  83. package/lib/components/Select/AreaCitySelect.d.ts +5 -0
  84. package/lib/components/Select/AreaCitySelect.js +25 -0
  85. package/lib/components/Select/AreaDistrictSelect.d.ts +5 -0
  86. package/lib/components/Select/AreaDistrictSelect.js +25 -0
  87. package/lib/components/Select/AreaProvinceSelect.d.ts +5 -0
  88. package/lib/components/Select/AreaProvinceSelect.js +25 -0
  89. package/lib/components/Select/Base.d.ts +11 -0
  90. package/lib/components/Select/Base.js +128 -0
  91. package/lib/components/Select/BrandDeptSelect.d.ts +5 -0
  92. package/lib/components/Select/BrandDeptSelect.js +12 -0
  93. package/lib/components/Select/CategorySelect.d.ts +5 -0
  94. package/lib/components/Select/CategorySelect.js +12 -0
  95. package/lib/components/Select/ColorSelect.d.ts +5 -0
  96. package/lib/components/Select/ColorSelect.js +12 -0
  97. package/lib/components/Select/ExpressCompanyPageSelect.d.ts +5 -0
  98. package/lib/components/Select/ExpressCompanyPageSelect.js +12 -0
  99. package/lib/components/Select/ExpressCompanySelect.d.ts +5 -0
  100. package/lib/components/Select/ExpressCompanySelect.js +12 -0
  101. package/lib/components/Select/GenderSelect.d.ts +5 -0
  102. package/lib/components/Select/GenderSelect.js +12 -0
  103. package/lib/components/Select/LogisticCategorySelect.d.ts +5 -0
  104. package/lib/components/Select/LogisticCategorySelect.js +12 -0
  105. package/lib/components/Select/LogisticRegionSelect.d.ts +5 -0
  106. package/lib/components/Select/LogisticRegionSelect.js +12 -0
  107. package/lib/components/Select/ManagingCitySelect.d.ts +5 -0
  108. package/lib/components/Select/ManagingCitySelect.js +12 -0
  109. package/lib/components/Select/OwnerSelect.d.ts +5 -0
  110. package/lib/components/Select/OwnerSelect.js +12 -0
  111. package/lib/components/Select/PhysicalStoreSelect.d.ts +5 -0
  112. package/lib/components/Select/PhysicalStoreSelect.js +12 -0
  113. package/lib/components/Select/PowerUnitSelect.d.ts +5 -0
  114. package/lib/components/Select/PowerUnitSelect.js +12 -0
  115. package/lib/components/Select/ProfitLossMainSelect.d.ts +5 -0
  116. package/lib/components/Select/ProfitLossMainSelect.js +12 -0
  117. package/lib/components/Select/SeasonSelect.d.ts +5 -0
  118. package/lib/components/Select/SeasonSelect.js +12 -0
  119. package/lib/components/Select/SettleAccountSelect.d.ts +5 -0
  120. package/lib/components/Select/SettleAccountSelect.js +12 -0
  121. package/lib/components/Select/SettleCategorySelect.d.ts +5 -0
  122. package/lib/components/Select/SettleCategorySelect.js +12 -0
  123. package/lib/components/Select/SettleCompanySelect.d.ts +5 -0
  124. package/lib/components/Select/SettleCompanySelect.js +12 -0
  125. package/lib/components/Select/ShopPageSelect.d.ts +5 -0
  126. package/lib/components/Select/ShopPageSelect.js +12 -0
  127. package/lib/components/Select/SizeTypeSelect.d.ts +5 -0
  128. package/lib/components/Select/SizeTypeSelect.js +12 -0
  129. package/lib/components/Select/StoreSelect.d.ts +5 -0
  130. package/lib/components/Select/StoreSelect.js +12 -0
  131. package/lib/components/Select/SupplierSelect.d.ts +5 -0
  132. package/lib/components/Select/SupplierSelect.js +12 -0
  133. package/lib/components/Select/TransportLocnoSelect.d.ts +5 -0
  134. package/lib/components/Select/TransportLocnoSelect.js +12 -0
  135. package/lib/components/Select/TransportPointPageSelect.d.ts +5 -0
  136. package/lib/components/Select/TransportPointPageSelect.js +12 -0
  137. package/lib/components/Select/UploadPointPageSelect.d.ts +5 -0
  138. package/lib/components/Select/UploadPointPageSelect.js +12 -0
  139. package/lib/components/Select/YearSelect.d.ts +5 -0
  140. package/lib/components/Select/YearSelect.js +12 -0
  141. package/lib/components/Select/common.d.ts +32 -0
  142. package/lib/components/Select/common.js +20 -0
  143. package/lib/components/Select/index.less +17 -0
  144. package/lib/components/ViewOffice.js +6 -5
  145. package/lib/components/index.d.ts +28 -0
  146. package/lib/components/index.js +29 -1
  147. package/lib/hooks/useMdm.d.ts +11 -2
  148. package/lib/hooks/useMdm.js +26 -11
  149. package/lib/http/index.d.ts +21 -0
  150. package/lib/http/index.js +246 -2
  151. package/lib/http/mdmCache.d.ts +19 -0
  152. package/lib/http/mdmCache.js +157 -0
  153. package/lib/http/mdmRequest.d.ts +148 -73
  154. package/lib/http/mdmRequest.js +223 -93
  155. package/lib/utils/index.d.ts +1 -0
  156. package/lib/utils/index.js +1 -0
  157. package/lib/utils/modal.js +1 -1
  158. package/lib/utils/pasteUpload.d.ts +27 -0
  159. package/lib/utils/pasteUpload.js +118 -0
  160. package/package.json +1 -1
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["params"];
4
+ import React from 'react';
5
+ import Base from './Base';
6
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
7
+ var _props$params = props.params,
8
+ params = _props$params === void 0 ? {} : _props$params,
9
+ rest = _objectWithoutProperties(props, _excluded);
10
+ if (params.where) {
11
+ params.where.level = 'city';
12
+ } else {
13
+ params.where = {
14
+ level: 'city'
15
+ };
16
+ }
17
+ return /*#__PURE__*/React.createElement(Base, _extends({
18
+ type: "area",
19
+ labelField: "name",
20
+ valueField: "adcode",
21
+ params: params
22
+ }, rest, {
23
+ ref: ref
24
+ }));
25
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["params"];
4
+ import React from 'react';
5
+ import Base from './Base';
6
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
7
+ var _props$params = props.params,
8
+ params = _props$params === void 0 ? {} : _props$params,
9
+ rest = _objectWithoutProperties(props, _excluded);
10
+ if (params.where) {
11
+ params.where.level = 'district';
12
+ } else {
13
+ params.where = {
14
+ level: 'district'
15
+ };
16
+ }
17
+ return /*#__PURE__*/React.createElement(Base, _extends({
18
+ type: "area",
19
+ labelField: "districtName",
20
+ valueField: "districtAdcode",
21
+ params: params
22
+ }, props, {
23
+ ref: ref
24
+ }));
25
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
+ var _excluded = ["params"];
4
+ import React from 'react';
5
+ import Base from './Base';
6
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
7
+ var _props$params = props.params,
8
+ params = _props$params === void 0 ? {} : _props$params,
9
+ rest = _objectWithoutProperties(props, _excluded);
10
+ if (params.where) {
11
+ params.where.level = 'province';
12
+ } else {
13
+ params.where = {
14
+ level: 'province'
15
+ };
16
+ }
17
+ return /*#__PURE__*/React.createElement(Base, _extends({
18
+ type: "area",
19
+ labelField: "provinceName",
20
+ valueField: "provinceAdcode",
21
+ params: params
22
+ }, rest, {
23
+ ref: ref
24
+ }));
25
+ });
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { RefSelectProps } from 'antd';
3
+ import { type MdmType } from '../../http/mdmRequest';
4
+ import { MdmSelectProps } from './common';
5
+ import './index.less';
6
+ declare const _default: import("react").ForwardRefExoticComponent<MdmSelectProps & {
7
+ type: MdmType;
8
+ labelField: string;
9
+ valueField: string;
10
+ } & import("react").RefAttributes<RefSelectProps>>;
11
+ export default _default;
@@ -0,0 +1,128 @@
1
+ import "antd/es/select/style";
2
+ import _Select from "antd/es/select";
3
+ import _extends from "@babel/runtime/helpers/esm/extends";
4
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
5
+ import "antd/es/divider/style";
6
+ import _Divider from "antd/es/divider";
7
+ import "antd/es/checkbox/style";
8
+ import _Checkbox from "antd/es/checkbox";
9
+ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
10
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
11
+ var _excluded = ["params", "getOptions", "mode", "selectAll", "optionFilterProp", "showReload", "showTotal", "type", "labelField", "valueField", "filterOptions"];
12
+ import React from "react";
13
+ import { useState, useEffect, forwardRef } from 'react';
14
+ import { ReloadOutlined } from '@ant-design/icons';
15
+ import useMdm from '../../hooks/useMdm';
16
+ import { clearMdmCache } from '../../http/mdmRequest';
17
+ import { transformOption } from './common';
18
+ import './index.less';
19
+ export default /*#__PURE__*/forwardRef(function (props, ref) {
20
+ var params = props.params,
21
+ getOptions = props.getOptions,
22
+ mode = props.mode,
23
+ selectAll = props.selectAll,
24
+ _props$optionFilterPr = props.optionFilterProp,
25
+ optionFilterProp = _props$optionFilterPr === void 0 ? 'label' : _props$optionFilterPr,
26
+ _props$showReload = props.showReload,
27
+ showReload = _props$showReload === void 0 ? true : _props$showReload,
28
+ _props$showTotal = props.showTotal,
29
+ showTotal = _props$showTotal === void 0 ? false : _props$showTotal,
30
+ type = props.type,
31
+ labelField = props.labelField,
32
+ valueField = props.valueField,
33
+ filterOptions = props.filterOptions,
34
+ restProps = _objectWithoutProperties(props, _excluded);
35
+ var _useState = useState(false),
36
+ _useState2 = _slicedToArray(_useState, 2),
37
+ checkAll = _useState2[0],
38
+ setCheckAll = _useState2[1];
39
+ var _useMdm = useMdm({
40
+ type: type,
41
+ params: params,
42
+ transfor: function transfor(rows) {
43
+ var list = transformOption(rows, valueField, labelField);
44
+ if (getOptions) {
45
+ getOptions(list);
46
+ }
47
+ return list;
48
+ }
49
+ }),
50
+ _useMdm2 = _slicedToArray(_useMdm, 4),
51
+ loadData = _useMdm2[0],
52
+ options = _useMdm2[1],
53
+ _ = _useMdm2[2],
54
+ loading = _useMdm2[3];
55
+ useEffect(function () {
56
+ loadData();
57
+ }, [type, params]);
58
+ useEffect(function () {
59
+ if (mode !== 'multiple' || !selectAll || !restProps.value || !(options === null || options === void 0 ? void 0 : options.length)) return;
60
+ var opts = options === null || options === void 0 ? void 0 : options.filter(function (o) {
61
+ return !o.disabled;
62
+ });
63
+ var val = restProps.value || [];
64
+ if (val.length === (opts === null || opts === void 0 ? void 0 : opts.length)) {
65
+ setCheckAll(true);
66
+ } else {
67
+ setCheckAll(false);
68
+ }
69
+ }, [restProps.value, options, mode, selectAll]);
70
+ var isSelectAll = mode === 'multiple' && selectAll;
71
+ return /*#__PURE__*/React.createElement(_Select, _extends({
72
+ allowClear: true,
73
+ showSearch: true,
74
+ optionFilterProp: optionFilterProp,
75
+ mode: mode,
76
+ maxTagCount: "responsive",
77
+ ref: ref,
78
+ dropdownRender: isSelectAll || showTotal || showReload ? function (org) {
79
+ var _restProps$value;
80
+ return /*#__PURE__*/React.createElement(React.Fragment, null, isSelectAll && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Checkbox, {
81
+ checked: checkAll,
82
+ indeterminate: ((_restProps$value = restProps.value) === null || _restProps$value === void 0 ? void 0 : _restProps$value.length) > 0 && !checkAll,
83
+ style: {
84
+ marginLeft: 12
85
+ },
86
+ onChange: function onChange(e) {
87
+ if (e.target.checked) {
88
+ var _restProps$onChange;
89
+ var opts = options === null || options === void 0 ? void 0 : options.filter(function (o) {
90
+ return !o.disabled;
91
+ });
92
+ (_restProps$onChange = restProps.onChange) === null || _restProps$onChange === void 0 ? void 0 : _restProps$onChange.call(restProps, opts === null || opts === void 0 ? void 0 : opts.map(function (o) {
93
+ return o.value;
94
+ }), opts);
95
+ } else {
96
+ var _restProps$onChange2;
97
+ (_restProps$onChange2 = restProps.onChange) === null || _restProps$onChange2 === void 0 ? void 0 : _restProps$onChange2.call(restProps, [], []);
98
+ }
99
+ }
100
+ }, "\u5168\u9009"), /*#__PURE__*/React.createElement(_Divider, {
101
+ style: {
102
+ margin: '4px 0 0'
103
+ }
104
+ })), org, (showTotal || showReload) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Divider, {
105
+ style: {
106
+ margin: '4px 0 0'
107
+ }
108
+ }), /*#__PURE__*/React.createElement("div", {
109
+ className: "select-footer"
110
+ }, showTotal && /*#__PURE__*/React.createElement("div", {
111
+ className: "select-footer-total"
112
+ }, "\u5171 ", options === null || options === void 0 ? void 0 : options.length, " \u9879"), showReload && /*#__PURE__*/React.createElement("div", {
113
+ className: "select-footer-reload"
114
+ }, /*#__PURE__*/React.createElement(ReloadOutlined, {
115
+ onClick: function onClick() {
116
+ var cacheKey = "mdm-".concat(type, "-").concat(JSON.stringify(_objectSpread(_objectSpread({}, params), {}, {
117
+ pageSize: 50000
118
+ })));
119
+ clearMdmCache([cacheKey]);
120
+ loadData();
121
+ }
122
+ })))));
123
+ } : undefined
124
+ }, restProps, {
125
+ loading: loading,
126
+ options: filterOptions ? filterOptions(options) : options
127
+ }));
128
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "brandDept",
7
+ labelField: "brandDeptName",
8
+ valueField: "brandDeptNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "category",
7
+ labelField: "categoryName",
8
+ valueField: "categoryCode"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "color",
7
+ labelField: "colorName",
8
+ valueField: "colorNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "expressCompanyPage",
7
+ labelField: "forwarderName",
8
+ valueField: "forwarderNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "expressCompany",
7
+ labelField: "forwarderName",
8
+ valueField: "forwarderNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "gender",
7
+ labelField: "genderName",
8
+ valueField: "genderNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "logisticCategory",
7
+ labelField: "logisticCategoryName",
8
+ valueField: "logisticCategoryNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "logisticRegion",
7
+ labelField: "regionName",
8
+ valueField: "regionNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "managingCity",
7
+ labelField: "managingCityName",
8
+ valueField: "managingCityNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "owner",
7
+ labelField: "ownerName",
8
+ valueField: "ownerNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "physicalStore",
7
+ labelField: "storeName",
8
+ valueField: "storeNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "powerUnit",
7
+ labelField: "powerUnitName",
8
+ valueField: "powerUnitNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "profitLossMain",
7
+ labelField: "profitLossName",
8
+ valueField: "profitLossNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "season",
7
+ labelField: "seasonName",
8
+ valueField: "seasonCode"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "settleAccount",
7
+ labelField: "settleAccountName",
8
+ valueField: "settleAccountNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "settleCategory",
7
+ labelField: "cateName",
8
+ valueField: "cateNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "settleCompany",
7
+ labelField: "settleCompanyName",
8
+ valueField: "settleCompanyNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "shopPage",
7
+ labelField: "shopName",
8
+ valueField: "shopNo"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import React from 'react';
3
+ import Base from './Base';
4
+ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
5
+ return /*#__PURE__*/React.createElement(Base, _extends({
6
+ type: "sizeType",
7
+ labelField: "sizeTypeName",
8
+ valueField: "sizeTypeCode"
9
+ }, props, {
10
+ ref: ref
11
+ }));
12
+ });
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { MdmSelectProps } from './common';
3
+ import { RefSelectProps } from 'antd';
4
+ declare const _default: React.ForwardRefExoticComponent<MdmSelectProps & React.RefAttributes<RefSelectProps>>;
5
+ export default _default;