wt-enjoy-link-antd-repack 4.1.54 → 4.1.57
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/BiuField/component/TableSelectLocal/addressSelect.d.ts +1 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/locationSelect.d.ts +1 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/locationSelect.js +8 -5
- package/dist/esm/component/BiuField/component/editLocationSelect.d.ts +1 -0
- package/dist/esm/component/BiuField/component/editLocationSelect.js +5 -3
- package/dist/esm/component/BiuField/component/lpnSelectNew.d.ts +1 -0
- package/dist/esm/component/BiuField/component/lpnSelectNew.js +4 -2
- package/package.json +1 -1
@@ -15,7 +15,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
15
15
|
initialValue?: number | undefined;
|
16
16
|
searchTimes?: number | undefined;
|
17
17
|
rowLabel?: string | undefined;
|
18
|
-
addresstype?: "
|
18
|
+
addresstype?: "2" | "1" | undefined;
|
19
19
|
clientidNull?: string | undefined;
|
20
20
|
addresstypeStr?: string | undefined;
|
21
21
|
addressAttrStr?: string | undefined;
|
@@ -21,5 +21,6 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
21
21
|
goodsId: string;
|
22
22
|
isAutoGenerate?: string | undefined;
|
23
23
|
filterInv?: boolean | undefined;
|
24
|
+
isGoodType?: string | number | undefined;
|
24
25
|
} & React.RefAttributes<unknown>>>;
|
25
26
|
export default _default;
|
@@ -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 = ["ownerId", "initialValue", "warehouseIds", "warehouseAreaId", "searchTimes", "rowLabel", "isDefWth", "goodsId", "batch", "isAutoGenerate", "filterInv"];
|
2
|
+
var _excluded = ["ownerId", "initialValue", "warehouseIds", "warehouseAreaId", "searchTimes", "rowLabel", "isDefWth", "goodsId", "batch", "isAutoGenerate", "filterInv", "isGoodType"];
|
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; }
|
@@ -73,6 +73,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
73
73
|
isAutoGenerate = _props$isAutoGenerate === void 0 ? '2' : _props$isAutoGenerate,
|
74
74
|
_props$filterInv = props.filterInv,
|
75
75
|
filterInv = _props$filterInv === void 0 ? false : _props$filterInv,
|
76
|
+
isGoodType = props.isGoodType,
|
76
77
|
restProps = _objectWithoutProperties(props, _excluded);
|
77
78
|
var _useState = useState(),
|
78
79
|
_useState2 = _slicedToArray(_useState, 2),
|
@@ -101,7 +102,8 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
101
102
|
page: 1,
|
102
103
|
size: 20,
|
103
104
|
isAutoGenerate: isAutoGenerate,
|
104
|
-
filterInv: filterInv
|
105
|
+
filterInv: filterInv,
|
106
|
+
isGoodType: isGoodType
|
105
107
|
}).then(function (res) {
|
106
108
|
if (res !== null && res !== void 0 && res.length && res[0].id) {
|
107
109
|
setLocationList(res);
|
@@ -126,7 +128,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
126
128
|
setLoading(false);
|
127
129
|
});
|
128
130
|
}
|
129
|
-
}, [initialValue, warehouseIds, goodsId, ownerId, isDefWth, batch, warehouseAreaId, props, isAutoGenerate, rowLabel, filterInv]);
|
131
|
+
}, [initialValue, warehouseIds, goodsId, ownerId, isDefWth, batch, warehouseAreaId, props, isAutoGenerate, rowLabel, filterInv, isGoodType]);
|
130
132
|
var onSearch = useCallback(function (sValue) {
|
131
133
|
if (timerRef.current) clearTimeout(timerRef.current);
|
132
134
|
timerRef.current = setTimeout(function () {
|
@@ -141,14 +143,15 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
141
143
|
page: 1,
|
142
144
|
size: 20,
|
143
145
|
isAutoGenerate: isAutoGenerate,
|
144
|
-
filterInv: filterInv
|
146
|
+
filterInv: filterInv,
|
147
|
+
isGoodType: isGoodType
|
145
148
|
}).then(function (res) {
|
146
149
|
setLocationList(res);
|
147
150
|
}).finally(function () {
|
148
151
|
setLoading(false);
|
149
152
|
});
|
150
153
|
}, searchTimes);
|
151
|
-
}, [searchTimes, warehouseIds, goodsId, ownerId, isDefWth, batch, isAutoGenerate, filterInv]);
|
154
|
+
}, [searchTimes, warehouseIds, goodsId, ownerId, isDefWth, batch, isAutoGenerate, filterInv, isGoodType]);
|
152
155
|
return /*#__PURE__*/_jsx(TableSelectBase, _objectSpread(_objectSpread({
|
153
156
|
ref: ref
|
154
157
|
}, restProps), {}, {
|
@@ -16,5 +16,6 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
16
16
|
isAutoGenerate?: string | undefined;
|
17
17
|
remoteSearchValue?: string | undefined;
|
18
18
|
isQueryScene?: number | undefined;
|
19
|
+
locationCodes?: string | undefined;
|
19
20
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
20
21
|
export default _default;
|
@@ -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 = ["ownerId", "locationCode", "warehouseAreaId", "warehouseId", "warehouseIds", "onChange", "onChangeData", "type", "areaType", "interfaceType", "temperateZone", "isFirstLoad", "isAutoGenerate", "isQueryScene"];
|
2
|
+
var _excluded = ["ownerId", "locationCode", "warehouseAreaId", "warehouseId", "warehouseIds", "onChange", "onChangeData", "type", "areaType", "interfaceType", "temperateZone", "isFirstLoad", "isAutoGenerate", "isQueryScene", "locationCodes"];
|
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; }
|
@@ -57,6 +57,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
57
57
|
isAutoGenerate = _props$isAutoGenerate === void 0 ? '2' : _props$isAutoGenerate,
|
58
58
|
_props$isQueryScene = props.isQueryScene,
|
59
59
|
isQueryScene = _props$isQueryScene === void 0 ? 2 : _props$isQueryScene,
|
60
|
+
locationCodes = props.locationCodes,
|
60
61
|
restProps = _objectWithoutProperties(props, _excluded);
|
61
62
|
var _useState5 = useState(isFirstLoad),
|
62
63
|
_useState6 = _slicedToArray(_useState5, 2),
|
@@ -82,7 +83,8 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
82
83
|
isFirstLoadSearch: isFirstLoadSearch,
|
83
84
|
remoteSearchCValue: remoteSearchCValue,
|
84
85
|
isAutoGenerate: isAutoGenerate,
|
85
|
-
isQueryScene: isQueryScene
|
86
|
+
isQueryScene: isQueryScene,
|
87
|
+
locationCodes: locationCodes
|
86
88
|
};
|
87
89
|
return interfaceType && interfaceType === '1' ? _objectSpread(_objectSpread({}, params), {}, {
|
88
90
|
warehouseAreaType: areaType,
|
@@ -92,7 +94,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
92
94
|
page: 1,
|
93
95
|
size: 20
|
94
96
|
});
|
95
|
-
}, [locationCode, warehouseAreaId, warehouseId, warehouseIds, areaType, interfaceType, ownerId, temperateZone, isFirstLoadSearch, remoteSearchCValue, isAutoGenerate, isQueryScene]);
|
97
|
+
}, [locationCode, warehouseAreaId, warehouseId, warehouseIds, areaType, interfaceType, ownerId, temperateZone, isFirstLoadSearch, remoteSearchCValue, isAutoGenerate, isQueryScene, locationCodes]);
|
96
98
|
var handleOnChange = useCallback(function (value, option) {
|
97
99
|
if (onChange) onChange(value, option);
|
98
100
|
if (onChangeData) {
|
@@ -11,5 +11,6 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
11
11
|
goodsId?: string | undefined;
|
12
12
|
qty?: string | number | undefined;
|
13
13
|
lpnId?: string | number | undefined;
|
14
|
+
isGoodType?: string | number | undefined;
|
14
15
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
15
16
|
export default _default;
|
@@ -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 = ["locationId", "onChange", "onChangeData", "isFirstLoad", "isAutoComplete", "locationType", "defaultValues", "style", "goodsId", "qty", "lpnId"];
|
2
|
+
var _excluded = ["locationId", "onChange", "onChangeData", "isFirstLoad", "isAutoComplete", "locationType", "defaultValues", "style", "goodsId", "qty", "lpnId", "isGoodType"];
|
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; }
|
@@ -48,6 +48,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
48
48
|
goodsId = props.goodsId,
|
49
49
|
qty = props.qty,
|
50
50
|
lpnId = props.lpnId,
|
51
|
+
isGoodType = props.isGoodType,
|
51
52
|
restProps = _objectWithoutProperties(props, _excluded);
|
52
53
|
var _useState3 = useState(isFirstLoad),
|
53
54
|
_useState4 = _slicedToArray(_useState3, 2),
|
@@ -81,7 +82,8 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
81
82
|
locationType: locationType,
|
82
83
|
goodsId: goodsId,
|
83
84
|
qty: qty,
|
84
|
-
lpnId: lpnId
|
85
|
+
lpnId: lpnId,
|
86
|
+
isGoodType: isGoodType
|
85
87
|
}).then(function (res) {
|
86
88
|
var data = res === null || res === void 0 ? void 0 : res.map(function (item) {
|
87
89
|
return _objectSpread(_objectSpread({}, item), {}, {
|