ls-pro-common 3.1.45 → 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.
- package/dist/common.css +16 -0
- package/dist/common.js +1 -1
- package/dist/common.less +2 -1
- package/dist/common.min.css +16 -0
- package/dist/common.min.js +1 -1
- package/es/components/Select/AreaCitySelect.d.ts +5 -0
- package/es/components/Select/AreaCitySelect.js +25 -0
- package/es/components/Select/AreaDistrictSelect.d.ts +5 -0
- package/es/components/Select/AreaDistrictSelect.js +25 -0
- package/es/components/Select/AreaProvinceSelect.d.ts +5 -0
- package/es/components/Select/AreaProvinceSelect.js +25 -0
- package/es/components/Select/Base.d.ts +11 -0
- package/es/components/Select/Base.js +128 -0
- package/es/components/Select/BrandDeptSelect.d.ts +5 -0
- package/es/components/Select/BrandDeptSelect.js +12 -0
- package/es/components/Select/CategorySelect.d.ts +5 -0
- package/es/components/Select/CategorySelect.js +12 -0
- package/es/components/Select/ColorSelect.d.ts +5 -0
- package/es/components/Select/ColorSelect.js +12 -0
- package/es/components/Select/ExpressCompanyPageSelect.d.ts +5 -0
- package/es/components/Select/ExpressCompanyPageSelect.js +12 -0
- package/es/components/Select/ExpressCompanySelect.d.ts +5 -0
- package/es/components/Select/ExpressCompanySelect.js +12 -0
- package/es/components/Select/GenderSelect.d.ts +5 -0
- package/es/components/Select/GenderSelect.js +12 -0
- package/es/components/Select/LogisticCategorySelect.d.ts +5 -0
- package/es/components/Select/LogisticCategorySelect.js +12 -0
- package/es/components/Select/LogisticRegionSelect.d.ts +5 -0
- package/es/components/Select/LogisticRegionSelect.js +12 -0
- package/es/components/Select/ManagingCitySelect.d.ts +5 -0
- package/es/components/Select/ManagingCitySelect.js +12 -0
- package/es/components/Select/OwnerSelect.d.ts +5 -0
- package/es/components/Select/OwnerSelect.js +12 -0
- package/es/components/Select/PhysicalStoreSelect.d.ts +5 -0
- package/es/components/Select/PhysicalStoreSelect.js +12 -0
- package/es/components/Select/PowerUnitSelect.d.ts +5 -0
- package/es/components/Select/PowerUnitSelect.js +12 -0
- package/es/components/Select/ProfitLossMainSelect.d.ts +5 -0
- package/es/components/Select/ProfitLossMainSelect.js +12 -0
- package/es/components/Select/SeasonSelect.d.ts +5 -0
- package/es/components/Select/SeasonSelect.js +12 -0
- package/es/components/Select/SettleAccountSelect.d.ts +5 -0
- package/es/components/Select/SettleAccountSelect.js +12 -0
- package/es/components/Select/SettleCategorySelect.d.ts +5 -0
- package/es/components/Select/SettleCategorySelect.js +12 -0
- package/es/components/Select/SettleCompanySelect.d.ts +5 -0
- package/es/components/Select/SettleCompanySelect.js +12 -0
- package/es/components/Select/ShopPageSelect.d.ts +5 -0
- package/es/components/Select/ShopPageSelect.js +12 -0
- package/es/components/Select/SizeTypeSelect.d.ts +5 -0
- package/es/components/Select/SizeTypeSelect.js +12 -0
- package/es/components/Select/StoreSelect.d.ts +5 -0
- package/es/components/Select/StoreSelect.js +12 -0
- package/es/components/Select/SupplierSelect.d.ts +5 -0
- package/es/components/Select/SupplierSelect.js +12 -0
- package/es/components/Select/TransportLocnoSelect.d.ts +5 -0
- package/es/components/Select/TransportLocnoSelect.js +12 -0
- package/es/components/Select/TransportPointPageSelect.d.ts +5 -0
- package/es/components/Select/TransportPointPageSelect.js +12 -0
- package/es/components/Select/UploadPointPageSelect.d.ts +5 -0
- package/es/components/Select/UploadPointPageSelect.js +12 -0
- package/es/components/Select/YearSelect.d.ts +5 -0
- package/es/components/Select/YearSelect.js +12 -0
- package/es/components/Select/common.d.ts +32 -0
- package/es/components/Select/common.js +20 -0
- package/es/components/Select/index.less +17 -0
- package/es/components/ViewOffice.js +1 -0
- package/es/components/index.d.ts +28 -0
- package/es/components/index.js +29 -1
- package/es/hooks/useMdm.d.ts +11 -2
- package/es/hooks/useMdm.js +26 -11
- package/es/http/index.d.ts +21 -0
- package/es/http/index.js +246 -2
- package/es/http/mdmCache.d.ts +19 -0
- package/es/http/mdmCache.js +157 -0
- package/es/http/mdmRequest.d.ts +148 -73
- package/es/http/mdmRequest.js +223 -93
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.js +1 -0
- package/es/utils/modal.js +1 -1
- package/es/utils/pasteUpload.d.ts +27 -0
- package/es/utils/pasteUpload.js +118 -0
- package/lib/components/Select/AreaCitySelect.d.ts +5 -0
- package/lib/components/Select/AreaCitySelect.js +25 -0
- package/lib/components/Select/AreaDistrictSelect.d.ts +5 -0
- package/lib/components/Select/AreaDistrictSelect.js +25 -0
- package/lib/components/Select/AreaProvinceSelect.d.ts +5 -0
- package/lib/components/Select/AreaProvinceSelect.js +25 -0
- package/lib/components/Select/Base.d.ts +11 -0
- package/lib/components/Select/Base.js +128 -0
- package/lib/components/Select/BrandDeptSelect.d.ts +5 -0
- package/lib/components/Select/BrandDeptSelect.js +12 -0
- package/lib/components/Select/CategorySelect.d.ts +5 -0
- package/lib/components/Select/CategorySelect.js +12 -0
- package/lib/components/Select/ColorSelect.d.ts +5 -0
- package/lib/components/Select/ColorSelect.js +12 -0
- package/lib/components/Select/ExpressCompanyPageSelect.d.ts +5 -0
- package/lib/components/Select/ExpressCompanyPageSelect.js +12 -0
- package/lib/components/Select/ExpressCompanySelect.d.ts +5 -0
- package/lib/components/Select/ExpressCompanySelect.js +12 -0
- package/lib/components/Select/GenderSelect.d.ts +5 -0
- package/lib/components/Select/GenderSelect.js +12 -0
- package/lib/components/Select/LogisticCategorySelect.d.ts +5 -0
- package/lib/components/Select/LogisticCategorySelect.js +12 -0
- package/lib/components/Select/LogisticRegionSelect.d.ts +5 -0
- package/lib/components/Select/LogisticRegionSelect.js +12 -0
- package/lib/components/Select/ManagingCitySelect.d.ts +5 -0
- package/lib/components/Select/ManagingCitySelect.js +12 -0
- package/lib/components/Select/OwnerSelect.d.ts +5 -0
- package/lib/components/Select/OwnerSelect.js +12 -0
- package/lib/components/Select/PhysicalStoreSelect.d.ts +5 -0
- package/lib/components/Select/PhysicalStoreSelect.js +12 -0
- package/lib/components/Select/PowerUnitSelect.d.ts +5 -0
- package/lib/components/Select/PowerUnitSelect.js +12 -0
- package/lib/components/Select/ProfitLossMainSelect.d.ts +5 -0
- package/lib/components/Select/ProfitLossMainSelect.js +12 -0
- package/lib/components/Select/SeasonSelect.d.ts +5 -0
- package/lib/components/Select/SeasonSelect.js +12 -0
- package/lib/components/Select/SettleAccountSelect.d.ts +5 -0
- package/lib/components/Select/SettleAccountSelect.js +12 -0
- package/lib/components/Select/SettleCategorySelect.d.ts +5 -0
- package/lib/components/Select/SettleCategorySelect.js +12 -0
- package/lib/components/Select/SettleCompanySelect.d.ts +5 -0
- package/lib/components/Select/SettleCompanySelect.js +12 -0
- package/lib/components/Select/ShopPageSelect.d.ts +5 -0
- package/lib/components/Select/ShopPageSelect.js +12 -0
- package/lib/components/Select/SizeTypeSelect.d.ts +5 -0
- package/lib/components/Select/SizeTypeSelect.js +12 -0
- package/lib/components/Select/StoreSelect.d.ts +5 -0
- package/lib/components/Select/StoreSelect.js +12 -0
- package/lib/components/Select/SupplierSelect.d.ts +5 -0
- package/lib/components/Select/SupplierSelect.js +12 -0
- package/lib/components/Select/TransportLocnoSelect.d.ts +5 -0
- package/lib/components/Select/TransportLocnoSelect.js +12 -0
- package/lib/components/Select/TransportPointPageSelect.d.ts +5 -0
- package/lib/components/Select/TransportPointPageSelect.js +12 -0
- package/lib/components/Select/UploadPointPageSelect.d.ts +5 -0
- package/lib/components/Select/UploadPointPageSelect.js +12 -0
- package/lib/components/Select/YearSelect.d.ts +5 -0
- package/lib/components/Select/YearSelect.js +12 -0
- package/lib/components/Select/common.d.ts +32 -0
- package/lib/components/Select/common.js +20 -0
- package/lib/components/Select/index.less +17 -0
- package/lib/components/ViewOffice.js +1 -0
- package/lib/components/index.d.ts +28 -0
- package/lib/components/index.js +29 -1
- package/lib/hooks/useMdm.d.ts +11 -2
- package/lib/hooks/useMdm.js +26 -11
- package/lib/http/index.d.ts +21 -0
- package/lib/http/index.js +246 -2
- package/lib/http/mdmCache.d.ts +19 -0
- package/lib/http/mdmCache.js +157 -0
- package/lib/http/mdmRequest.d.ts +148 -73
- package/lib/http/mdmRequest.js +223 -93
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +1 -0
- package/lib/utils/modal.js +1 -1
- package/lib/utils/pasteUpload.d.ts +27 -0
- package/lib/utils/pasteUpload.js +118 -0
- package/package.json +1 -1
|
@@ -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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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
|
+
});
|