wt-enjoy-link-antd-repack 4.2.16 → 4.2.18
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/esm/component/BiuAButton/index.d.ts +4 -4
- package/dist/esm/component/BiuField/component/appliedgoodsTypeSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/dicNameSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/dicTypeSelect.d.ts +2 -1
- package/dist/esm/component/BiuField/component/dicTypeSelect.js +6 -3
- package/dist/esm/component/BiuField/component/dockingPartySelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/editLocationSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/electronicFaceSheet/addresSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/electronicFaceSheet/platformSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/goodsTypeSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/interfaceNameSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/lpnSelectNew.d.ts +1 -0
- package/dist/esm/component/BiuField/component/lpnSelectNew.js +28 -25
- package/dist/esm/component/BiuField/component/newEditLocationSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/orderTypeSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/parkSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/propertNameSelect.d.ts +2 -2
- package/dist/esm/component/BiuField/component/warehouseAreaSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/warehouseInfoSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/warehouseLoctionSelect.d.ts +1 -1
- package/dist/esm/component/BiuTableSelect/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,16 +3,16 @@ export declare const BiuAButton: React.MemoExoticComponent<import("styled-compon
|
|
|
3
3
|
href: string;
|
|
4
4
|
target?: string | undefined;
|
|
5
5
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
6
|
-
} & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "
|
|
6
|
+
} & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "type" | "onClick"> & {
|
|
7
7
|
htmlType?: "button" | "submit" | "reset" | undefined;
|
|
8
8
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
9
|
-
} & Omit<React.ButtonHTMLAttributes<any>, "
|
|
9
|
+
} & Omit<React.ButtonHTMLAttributes<any>, "type" | "onClick">> & React.RefAttributes<HTMLElement>, never>> & Omit<React.ForwardRefExoticComponent<Partial<{
|
|
10
10
|
href: string;
|
|
11
11
|
target?: string | undefined;
|
|
12
12
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
13
|
-
} & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "
|
|
13
|
+
} & import("antd/lib/button/button").BaseButtonProps & Omit<React.AnchorHTMLAttributes<any>, "type" | "onClick"> & {
|
|
14
14
|
htmlType?: "button" | "submit" | "reset" | undefined;
|
|
15
15
|
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
16
|
-
} & Omit<React.ButtonHTMLAttributes<any>, "
|
|
16
|
+
} & Omit<React.ButtonHTMLAttributes<any>, "type" | "onClick">> & React.RefAttributes<HTMLElement>> & {
|
|
17
17
|
Group: React.FC<import("antd/lib/button").ButtonGroupProps>;
|
|
18
18
|
}, keyof React.Component<any, {}, any>>>;
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
4
4
|
id?: string | undefined;
|
|
5
5
|
ownerId?: string | undefined;
|
|
6
|
-
value?: string | number |
|
|
6
|
+
value?: string | number | string[] | number[] | undefined;
|
|
7
7
|
noOwnerContent?: string | undefined;
|
|
8
8
|
} & Pick<SelectProps<any, import("antd/lib/select").DefaultOptionType>, "onChange"> & React.RefAttributes<unknown>>>;
|
|
9
9
|
export default _default;
|
|
@@ -5,7 +5,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
|
5
5
|
typename?: string | undefined;
|
|
6
6
|
page?: number | undefined;
|
|
7
7
|
pageSize?: number | undefined;
|
|
8
|
-
values?: string | number |
|
|
8
|
+
values?: string | number | string[] | number[] | undefined;
|
|
9
9
|
invalid?: number | undefined;
|
|
10
10
|
queryType?: number | undefined;
|
|
11
11
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
|
@@ -20,7 +20,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
|
20
20
|
/**
|
|
21
21
|
* 绑定值 value: string | string[] | number | number[];
|
|
22
22
|
*/
|
|
23
|
-
value?: string | number |
|
|
23
|
+
value?: string | number | string[] | number[] | undefined;
|
|
24
24
|
invalid?: number | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* 数据状态 invalid: number;
|
|
@@ -32,6 +32,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
|
32
32
|
queryType?: number | undefined;
|
|
33
33
|
modetype?: "multiple" | "tags" | undefined;
|
|
34
34
|
isFirstLoad?: boolean | undefined;
|
|
35
|
+
parameter1?: string | number | undefined;
|
|
35
36
|
/**
|
|
36
37
|
* 是否去掉数据中 全部 这个选项 filterAllItem 0不去掉 1去掉
|
|
37
38
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["systype", "typename", "page", "pageSize", "invalid", "typeNameQueryType", "queryType", "modetype", "value", "filterAllItem", "onFetchData"];
|
|
2
|
+
var _excluded = ["systype", "typename", "page", "pageSize", "invalid", "typeNameQueryType", "queryType", "modetype", "value", "filterAllItem", "onFetchData", "parameter1"];
|
|
3
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -39,6 +39,8 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
|
39
39
|
_props$filterAllItem = props.filterAllItem,
|
|
40
40
|
filterAllItem = _props$filterAllItem === void 0 ? 0 : _props$filterAllItem,
|
|
41
41
|
onFetchData = props.onFetchData,
|
|
42
|
+
_props$parameter = props.parameter1,
|
|
43
|
+
parameter1 = _props$parameter === void 0 ? '' : _props$parameter,
|
|
42
44
|
restProps = _objectWithoutProperties(props, _excluded);
|
|
43
45
|
var requestParams = useMemo(function () {
|
|
44
46
|
return {
|
|
@@ -49,9 +51,10 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
|
49
51
|
invalid: invalid,
|
|
50
52
|
typeNameQueryType: typeNameQueryType,
|
|
51
53
|
queryType: queryType,
|
|
52
|
-
filterAllItem: filterAllItem
|
|
54
|
+
filterAllItem: filterAllItem,
|
|
55
|
+
parameter1: parameter1
|
|
53
56
|
};
|
|
54
|
-
}, [systype, typename, page, size, invalid, typeNameQueryType, queryType, filterAllItem]);
|
|
57
|
+
}, [systype, typename, page, size, invalid, typeNameQueryType, queryType, parameter1, filterAllItem]);
|
|
55
58
|
var bindValue = useMemo(function () {
|
|
56
59
|
return value ? modetype === 'multiple' ? value === null || value === void 0 ? void 0 : value.map(function (i) {
|
|
57
60
|
return i;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SelectProps } from 'antd';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
4
|
-
value?: string | number |
|
|
4
|
+
value?: string | number | string[] | number[] | undefined;
|
|
5
5
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
|
6
6
|
type?: string | undefined;
|
|
7
7
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
|
@@ -7,7 +7,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
|
7
7
|
warehouseIds?: string | undefined;
|
|
8
8
|
locationCode?: string | undefined;
|
|
9
9
|
warehouseAreaId?: number | undefined;
|
|
10
|
-
value?: string | number |
|
|
10
|
+
value?: string | number | string[] | number[] | undefined;
|
|
11
11
|
onChangeData?: ((value: any, record: any) => any) | undefined;
|
|
12
12
|
areaType?: string | undefined;
|
|
13
13
|
interfaceType?: string | undefined;
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
* @returns
|
|
7
7
|
*/
|
|
8
8
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
9
|
-
value?: string | number |
|
|
9
|
+
value?: string | number | string[] | number[] | undefined;
|
|
10
10
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
|
11
11
|
accountId: string | number;
|
|
12
12
|
carrierId: string | number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SelectProps } from 'antd';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
4
|
-
value?: string | number |
|
|
4
|
+
value?: string | number | string[] | number[] | undefined;
|
|
5
5
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
|
6
6
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
|
7
7
|
export default _default;
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
4
4
|
id?: string | undefined;
|
|
5
5
|
ownerId?: string | undefined;
|
|
6
|
-
value?: string | number |
|
|
6
|
+
value?: string | number | string[] | number[] | undefined;
|
|
7
7
|
noOwnerContent?: string | undefined;
|
|
8
8
|
isFirstLoad?: boolean | undefined;
|
|
9
9
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
|
@@ -2,7 +2,7 @@ import type { SelectProps } from 'antd';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
4
4
|
dockingCode?: string | undefined;
|
|
5
|
-
value?: string | number |
|
|
5
|
+
value?: string | number | string[] | number[] | undefined;
|
|
6
6
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
|
7
7
|
type?: string | undefined;
|
|
8
8
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
|
@@ -12,5 +12,6 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
|
12
12
|
qty?: string | number | undefined;
|
|
13
13
|
lpnId?: string | number | undefined;
|
|
14
14
|
isGoodType?: string | number | undefined;
|
|
15
|
+
data?: any;
|
|
15
16
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
|
16
17
|
export default _default;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["locationId", "onChange", "onChangeData", "isFirstLoad", "isAutoComplete", "locationType", "defaultValues", "style", "goodsId", "qty", "lpnId", "isGoodType"];
|
|
2
|
+
var _excluded = ["locationId", "onChange", "onChangeData", "isFirstLoad", "isAutoComplete", "locationType", "defaultValues", "style", "goodsId", "qty", "lpnId", "isGoodType", "data"];
|
|
3
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
9
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
10
8
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
11
9
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
12
10
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
13
11
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
12
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
15
13
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
14
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
15
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
16
16
|
import { AutoComplete } from 'antd';
|
|
17
17
|
import React, { forwardRef, useCallback, useEffect, useState } from 'react';
|
|
18
18
|
import { BiuASelect, BiuASelectOption } from "../../BiuASelect";
|
|
@@ -31,10 +31,6 @@ var getLpnList = function getLpnList(queryData) {
|
|
|
31
31
|
});
|
|
32
32
|
};
|
|
33
33
|
export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props, ref) {
|
|
34
|
-
var _useState = useState([]),
|
|
35
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
36
|
-
result = _useState2[0],
|
|
37
|
-
setResult = _useState2[1];
|
|
38
34
|
var locationId = props.locationId,
|
|
39
35
|
_onChange = props.onChange,
|
|
40
36
|
onChangeData = props.onChangeData,
|
|
@@ -49,7 +45,13 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
|
49
45
|
qty = props.qty,
|
|
50
46
|
lpnId = props.lpnId,
|
|
51
47
|
isGoodType = props.isGoodType,
|
|
48
|
+
_props$data = props.data,
|
|
49
|
+
data = _props$data === void 0 ? [] : _props$data,
|
|
52
50
|
restProps = _objectWithoutProperties(props, _excluded);
|
|
51
|
+
var _useState = useState(data),
|
|
52
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
53
|
+
result = _useState2[0],
|
|
54
|
+
setResult = _useState2[1];
|
|
53
55
|
var _useState3 = useState(isFirstLoad),
|
|
54
56
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
55
57
|
isFirstLoadSearch = _useState4[0],
|
|
@@ -58,7 +60,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
|
58
60
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
59
61
|
defaultValue = _useState6[0],
|
|
60
62
|
setDefaultValue = _useState6[1];
|
|
61
|
-
var _useState7 = useState(
|
|
63
|
+
var _useState7 = useState(),
|
|
62
64
|
_useState8 = _slicedToArray(_useState7, 2),
|
|
63
65
|
lpnCode = _useState8[0],
|
|
64
66
|
setLpnCode = _useState8[1];
|
|
@@ -81,28 +83,29 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
|
81
83
|
} else {
|
|
82
84
|
setDefaultValue(defaultValues);
|
|
83
85
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
86
|
+
if (isFirstLoadSearch || lpnCode !== undefined) {
|
|
87
|
+
getLpnList({
|
|
88
|
+
locationId: locationId,
|
|
89
|
+
locationType: locationType,
|
|
90
|
+
goodsId: goodsId,
|
|
91
|
+
qty: qty,
|
|
92
|
+
lpnId: lpnId,
|
|
93
|
+
isGoodType: isGoodType,
|
|
94
|
+
lpnCode: lpnCode
|
|
95
|
+
}).then(function (res) {
|
|
96
|
+
var data = res === null || res === void 0 ? void 0 : res.map(function (item) {
|
|
97
|
+
return _objectSpread(_objectSpread({}, item), {}, {
|
|
98
|
+
title: item.lpn,
|
|
99
|
+
label: item.lpn,
|
|
100
|
+
value: item.lpn
|
|
101
|
+
});
|
|
98
102
|
});
|
|
103
|
+
setResult(data || []);
|
|
99
104
|
});
|
|
100
|
-
|
|
101
|
-
});
|
|
105
|
+
}
|
|
102
106
|
}, [locationId, isFirstLoadSearch, locationType, defaultValue, defaultValues, goodsId, qty, lpnId, lpnCode]);
|
|
103
107
|
var onSearch = useCallback(function (value) {
|
|
104
108
|
setLpnCode(value);
|
|
105
|
-
setIsFirstLoadSearch(true);
|
|
106
109
|
}, []);
|
|
107
110
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
108
111
|
children: [isAutoComplete && /*#__PURE__*/_jsx(AutoComplete, {
|
|
@@ -7,7 +7,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
|
7
7
|
warehouseIds?: string | undefined;
|
|
8
8
|
locationCode?: string | undefined;
|
|
9
9
|
warehouseAreaId?: number | undefined;
|
|
10
|
-
value?: string | number |
|
|
10
|
+
value?: string | number | string[] | number[] | undefined;
|
|
11
11
|
onChangeData?: ((value: any, record: any) => any) | undefined;
|
|
12
12
|
areaType?: string | undefined;
|
|
13
13
|
interfaceType?: string | undefined;
|
|
@@ -9,7 +9,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
|
9
9
|
/**
|
|
10
10
|
* 0:入库 1:出库 2:移库 3:冻结 4:调整 5:属性变更
|
|
11
11
|
*/
|
|
12
|
-
orderType: 0 |
|
|
12
|
+
orderType: 0 | 3 | 1 | 4 | 2 | 5;
|
|
13
13
|
isFirstLoad: boolean;
|
|
14
14
|
onFetchData?: ((res: any) => any) | undefined;
|
|
15
15
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
|
@@ -4,7 +4,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
|
4
4
|
distributionCentreCodeOrName?: string | undefined;
|
|
5
5
|
page?: number | undefined;
|
|
6
6
|
pageSize?: number | undefined;
|
|
7
|
-
value?: string | number |
|
|
7
|
+
value?: string | number | string[] | number[] | undefined;
|
|
8
8
|
companyId?: string | undefined;
|
|
9
9
|
noDisContent?: string | undefined;
|
|
10
10
|
isFirstLoad?: boolean | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { SelectProps } from 'antd';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
4
|
-
returnOwnerArray?:
|
|
4
|
+
returnOwnerArray?: string[] | number[] | undefined;
|
|
5
5
|
serialNumber: string;
|
|
6
|
-
value?: string | number |
|
|
6
|
+
value?: string | number | string[] | number[] | undefined;
|
|
7
7
|
openType?: string | undefined;
|
|
8
8
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
|
9
9
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import type { SelectProps } from 'antd';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
4
4
|
warehouseId?: number | undefined;
|
|
5
|
-
value?: string | number |
|
|
5
|
+
value?: string | number | string[] | number[] | undefined;
|
|
6
6
|
onChangeData?: ((value: any, record: any) => void) | undefined;
|
|
7
7
|
isFirstLoad?: boolean | undefined;
|
|
8
8
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
|
@@ -2,7 +2,7 @@ import type { SelectProps } from 'antd';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
4
4
|
warehouseName?: string | undefined;
|
|
5
|
-
value?: string | number |
|
|
5
|
+
value?: string | number | string[] | number[] | undefined;
|
|
6
6
|
ownerId?: string | undefined;
|
|
7
7
|
clientid?: string | undefined;
|
|
8
8
|
employeecode?: string | undefined;
|
|
@@ -5,7 +5,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
|
5
5
|
warehouseId?: number | undefined;
|
|
6
6
|
locationCode?: string | undefined;
|
|
7
7
|
warehouseAreaId?: number | undefined;
|
|
8
|
-
value?: string | number |
|
|
8
|
+
value?: string | number | string[] | number[] | undefined;
|
|
9
9
|
onSelectChange?: ((value: any, record: any) => any) | undefined;
|
|
10
10
|
isFirstLoad?: true | undefined;
|
|
11
11
|
warehouseAreaType?: string | undefined;
|
|
@@ -50,4 +50,4 @@ export declare const BiuTableSelect: React.MemoExoticComponent<React.ForwardRefE
|
|
|
50
50
|
* 是否多选
|
|
51
51
|
*/
|
|
52
52
|
mode?: string | undefined;
|
|
53
|
-
} & Pick<SelectProps<any, import("antd/lib/select").DefaultOptionType>, "showSearch" | "allowClear"> & Pick<TableProps<any>, "
|
|
53
|
+
} & Pick<SelectProps<any, import("antd/lib/select").DefaultOptionType>, "showSearch" | "allowClear"> & Pick<TableProps<any>, "dataSource" | "onRow"> & React.RefAttributes<unknown>>>;
|