wt-enjoy-link-antd-repack 4.2.4 → 4.2.6
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/BiuDetailDrawer/index.js +1 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/index.js +8 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/newGoodsSelect.d.ts +21 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/newGoodsSelect.js +247 -0
- package/dist/esm/component/BiuField/component/biuMultipleAInput.js +24 -6
- package/dist/esm/component/BiuField/index.d.ts +1 -1
- package/dist/esm/component/BiuField/index.js +71 -50
- package/package.json +1 -1
- package/dist/esm/component/BiuAButton/index.d.ts.map +0 -1
- package/dist/esm/component/BiuACard/index.d.ts.map +0 -1
- package/dist/esm/component/BiuACascader/index.d.ts.map +0 -1
- package/dist/esm/component/BiuADatePicker/index.d.ts.map +0 -1
- package/dist/esm/component/BiuAForm/index.d.ts.map +0 -1
- package/dist/esm/component/BiuAInput/index.d.ts.map +0 -1
- package/dist/esm/component/BiuASelect/index.d.ts.map +0 -1
- package/dist/esm/component/BiuASwitch/index.d.ts.map +0 -1
- package/dist/esm/component/BiuATimePicker/index.d.ts.map +0 -1
- package/dist/esm/component/BiuATreeSelect/index.d.ts.map +0 -1
- package/dist/esm/component/BiuBar/index.d.ts.map +0 -1
- package/dist/esm/component/BiuComSelect/index.d.ts.map +0 -1
- package/dist/esm/component/BiuCue/index.d.ts.map +0 -1
- package/dist/esm/component/BiuCustomSelect/index.d.ts.map +0 -1
- package/dist/esm/component/BiuCustomTable/index.d.ts.map +0 -1
- package/dist/esm/component/BiuCustomerOperCard/component/editTable.d.ts.map +0 -1
- package/dist/esm/component/BiuCustomerOperCard/component/index.d.ts.map +0 -1
- package/dist/esm/component/BiuCustomerOperCard/index.d.ts.map +0 -1
- package/dist/esm/component/BiuCustomerOperCard/type.d.ts.map +0 -1
- package/dist/esm/component/BiuCustomerOperCard/utils.d.ts.map +0 -1
- package/dist/esm/component/BiuDescriptions/index.d.ts.map +0 -1
- package/dist/esm/component/BiuDetailDrawer/index.d.ts.map +0 -1
- package/dist/esm/component/BiuDivider/index.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/AddressTableSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/index.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useConvertSubValue.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useConvertUnSubValue.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useInConvertUnSubValue.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/DepartOrgSelect/index.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/DepartOrgSelect/type.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/DepartOrgSelect/utils.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/OMSSystem/cityAreaSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/OMSSystem/warehouseSel.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/SNInput.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/addressSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/base.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/goodSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/index.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/interface.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/locationSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/package.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/supplierSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/warehouseAreaSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/TableSelectLocal/warehouseInfoSelects.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/appliedgoodsTypeSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/autoComplete.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/biuMultipleAInput.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/boxTypeSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/businessdistrictselect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/carrierInfoSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/channelSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/cityAreaCascader.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/clientInfoTableSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/customMenu.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/databaseSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/departmentTreeSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/dicNameSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/dicTypeSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/dockingPartySelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/editLocationSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/electronicFaceSheet/accountSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/electronicFaceSheet/addresSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/electronicFaceSheet/platformSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/goodsTypeSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/index.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/interfaceNameSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/lpnSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/lpnSelectNew.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/newEditLocationSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/orderTypeSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/orderTypeTableSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/parkSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/personnelinfoselect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/propertNameSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/shipperTableSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/userSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/warehouseAreaSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/warehouseInfoSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/component/warehouseLoctionSelect.d.ts.map +0 -1
- package/dist/esm/component/BiuField/index.d.ts.map +0 -1
- package/dist/esm/component/BiuFileInput/index.d.ts.map +0 -1
- package/dist/esm/component/BiuForm/index.d.ts.map +0 -1
- package/dist/esm/component/BiuForm/type.d.ts.map +0 -1
- package/dist/esm/component/BiuForm/utils.d.ts.map +0 -1
- package/dist/esm/component/BiuIcon/index.d.ts.map +0 -1
- package/dist/esm/component/BiuMapSelectSite/index.d.ts.map +0 -1
- package/dist/esm/component/BiuModal/index.d.ts.map +0 -1
- package/dist/esm/component/BiuOperForm/index.d.ts.map +0 -1
- package/dist/esm/component/BiuOperForm/type.d.ts.map +0 -1
- package/dist/esm/component/BiuOperTable/index.d.ts.map +0 -1
- package/dist/esm/component/BiuOperTable/type.d.ts.map +0 -1
- package/dist/esm/component/BiuOperTable/utils.d.ts.map +0 -1
- package/dist/esm/component/BiuPagination/index.d.ts.map +0 -1
- package/dist/esm/component/BiuResizeTable/component/biuTableCell.d.ts.map +0 -1
- package/dist/esm/component/BiuResizeTable/component/index.d.ts.map +0 -1
- package/dist/esm/component/BiuResizeTable/index.d.ts.map +0 -1
- package/dist/esm/component/BiuSplit/index.d.ts.map +0 -1
- package/dist/esm/component/BiuTable/component/index.d.ts.map +0 -1
- package/dist/esm/component/BiuTable/component/tableActionBarRender.d.ts.map +0 -1
- package/dist/esm/component/BiuTable/component/tableCellRender.d.ts.map +0 -1
- package/dist/esm/component/BiuTable/component/tableSettingRender.d.ts.map +0 -1
- package/dist/esm/component/BiuTable/context.d.ts.map +0 -1
- package/dist/esm/component/BiuTable/index.d.ts.map +0 -1
- package/dist/esm/component/BiuTable/type.d.ts.map +0 -1
- package/dist/esm/component/BiuTable/utils.d.ts.map +0 -1
- package/dist/esm/component/BiuTableLink/index.d.ts.map +0 -1
- package/dist/esm/component/BiuTableSelect/index.d.ts.map +0 -1
- package/dist/esm/component/BiuTabs/index.d.ts.map +0 -1
- package/dist/esm/component/index.d.ts.map +0 -1
- package/dist/esm/constant/Cache_Key.d.ts.map +0 -1
- package/dist/esm/constant/DateTime.d.ts.map +0 -1
- package/dist/esm/constant/External.d.ts.map +0 -1
- package/dist/esm/constant/Gateway_Path.d.ts.map +0 -1
- package/dist/esm/constant/Layout.d.ts.map +0 -1
- package/dist/esm/constant/Regexp.d.ts.map +0 -1
- package/dist/esm/constant/index.d.ts.map +0 -1
- package/dist/esm/hooks/index.d.ts.map +0 -1
- package/dist/esm/hooks/useAuth.d.ts.map +0 -1
- package/dist/esm/hooks/useCurrentSystem.d.ts.map +0 -1
- package/dist/esm/hooks/useLayoutInfo.d.ts.map +0 -1
- package/dist/esm/hooks/useReducerState.d.ts.map +0 -1
- package/dist/esm/hooks/useUserInfo.d.ts.map +0 -1
- package/dist/esm/hooks/useWareInfo.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/package/index.d.ts.map +0 -1
- package/dist/esm/package/requestWrapper/baseRequest.d.ts.map +0 -1
- package/dist/esm/package/requestWrapper/index.d.ts.map +0 -1
- package/dist/esm/package/requestWrapper/type.d.ts.map +0 -1
- package/dist/esm/package/requestWrapper/utils.d.ts.map +0 -1
- package/dist/esm/utils/authUtils.d.ts.map +0 -1
- package/dist/esm/utils/cacheUtils.d.ts.map +0 -1
- package/dist/esm/utils/chainUtils.d.ts.map +0 -1
- package/dist/esm/utils/dateUtils.d.ts.map +0 -1
- package/dist/esm/utils/decimalUtils.d.ts.map +0 -1
- package/dist/esm/utils/excelUtils.d.ts.map +0 -1
- package/dist/esm/utils/index.d.ts.map +0 -1
- package/dist/esm/utils/layoutUtils.d.ts.map +0 -1
- package/dist/esm/utils/objectUtils.d.ts.map +0 -1
- package/dist/esm/utils/soundUtils.d.ts.map +0 -1
- package/dist/esm/utils/stringUtils.d.ts.map +0 -1
- package/dist/esm/utils/sysUtils.d.ts.map +0 -1
|
@@ -25,7 +25,7 @@ export var BiuDetailDrawer = /*#__PURE__*/React.memo(function (props) {
|
|
|
25
25
|
closable = _props$closable === void 0 ? true : _props$closable,
|
|
26
26
|
_afterOpenChange = props.afterOpenChange,
|
|
27
27
|
_props$width = props.width,
|
|
28
|
-
width = _props$width === void 0 ? '
|
|
28
|
+
width = _props$width === void 0 ? '90%' : _props$width,
|
|
29
29
|
restProps = _objectWithoutProperties(props, _excluded);
|
|
30
30
|
var footerNode = useCallback(function () {
|
|
31
31
|
if (footer) {
|
|
@@ -11,6 +11,7 @@ import React, { forwardRef } from 'react';
|
|
|
11
11
|
import AddressSelect from "./addressSelect";
|
|
12
12
|
import TableSelectBase from "./base";
|
|
13
13
|
import GoodSelect from "./goodSelect";
|
|
14
|
+
import NewGoodsSelect from "./newGoodsSelect";
|
|
14
15
|
import LocationSelect from "./locationSelect";
|
|
15
16
|
import Package from "./package";
|
|
16
17
|
import SupplierSelect from "./supplierSelect";
|
|
@@ -36,6 +37,13 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
|
36
37
|
}, restProps), {}, {
|
|
37
38
|
ref: ref
|
|
38
39
|
}));
|
|
40
|
+
case 'newGoods':
|
|
41
|
+
return /*#__PURE__*/_jsx(NewGoodsSelect, _objectSpread(_objectSpread({
|
|
42
|
+
ownerId: ownerId,
|
|
43
|
+
goodsAttribute: goodsAttribute
|
|
44
|
+
}, restProps), {}, {
|
|
45
|
+
ref: ref
|
|
46
|
+
}));
|
|
39
47
|
case 'supplier':
|
|
40
48
|
return /*#__PURE__*/_jsx(SupplierSelect, _objectSpread(_objectSpread({}, restProps), {}, {
|
|
41
49
|
ref: ref
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BiuColumnType } from "../../..";
|
|
3
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd/es/table").TableProps<any> & import("antd").SelectProps<any, import("antd/lib/select").DefaultOptionType> & {
|
|
4
|
+
columns?: BiuColumnType[] | undefined;
|
|
5
|
+
bindField?: {
|
|
6
|
+
rowKey?: string | undefined;
|
|
7
|
+
rowLabel?: string | undefined;
|
|
8
|
+
} | undefined;
|
|
9
|
+
value?: string | undefined;
|
|
10
|
+
initialValue?: any;
|
|
11
|
+
initSelectValue?: any;
|
|
12
|
+
onChangeData?: ((value: any, record: any) => void) | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
ownerId: number;
|
|
15
|
+
clientId: number;
|
|
16
|
+
searchTimes?: number | undefined;
|
|
17
|
+
rowLabel?: string | undefined;
|
|
18
|
+
goodsAttribute: string;
|
|
19
|
+
isLoadAttribute: boolean;
|
|
20
|
+
} & React.RefAttributes<unknown>>>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,247 @@
|
|
|
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", "clientId", "initialValue", "searchTimes", "rowLabel", "goodsAttribute", "isLoadAttribute", "onChangeData", "onChange", "value"];
|
|
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
|
+
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
|
+
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
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
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."); }
|
|
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); }
|
|
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; }
|
|
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; } }
|
|
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
|
+
import React, { forwardRef, useCallback, useEffect, useRef, useState } from 'react';
|
|
17
|
+
import TableSelectBase from "./base";
|
|
18
|
+
import { GATEWAY_ROUTE_WMS } from "../../../../constant";
|
|
19
|
+
import { request } from "../../../../package";
|
|
20
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
|
+
var getClientInfoExtendAttributeList = function getClientInfoExtendAttributeList(data) {
|
|
22
|
+
return request({
|
|
23
|
+
apiName: 'wms.basedata.extendAttributeQuery',
|
|
24
|
+
data: data,
|
|
25
|
+
requestConfig: {
|
|
26
|
+
GatewayRoute: GATEWAY_ROUTE_WMS
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
var EXT_INFO = /*#__PURE__*/function (EXT_INFO) {
|
|
31
|
+
EXT_INFO["prefix"] = "ext";
|
|
32
|
+
EXT_INFO["prefixAttr"] = "attribute";
|
|
33
|
+
EXT_INFO["\u5165\u5E93\u5FC5\u586B"] = "isInFill";
|
|
34
|
+
EXT_INFO["\u4E0A\u67B6\u5FC5\u586B"] = "isSheFill";
|
|
35
|
+
EXT_INFO["\u5E93\u5B58\u5FC5\u586B"] = "isInvFill";
|
|
36
|
+
EXT_INFO["\u51FA\u5E93\u5FC5\u586B"] = "isOutFill";
|
|
37
|
+
EXT_INFO["\u5165\u5E93\u8BA2\u5355\u663E\u793A"] = "isInShow";
|
|
38
|
+
EXT_INFO["\u5165\u5E93\u4E0A\u67B6\u663E\u793A"] = "isSheShow";
|
|
39
|
+
EXT_INFO["\u51FA\u5E93\u8BA2\u5355\u663E\u793A"] = "isOutShow";
|
|
40
|
+
EXT_INFO["\u62E3\u8D27\u5355\u663E\u793A"] = "isPickingShow";
|
|
41
|
+
EXT_INFO["\u5165\u5E93\u6253\u5370\u663E\u793A"] = "isInPrintShow";
|
|
42
|
+
EXT_INFO["\u51FA\u5E93\u6253\u5370\u663E\u793A"] = "isOutPrintShow";
|
|
43
|
+
EXT_INFO["\u62E3\u8D27\u6253\u5370\u663E\u793A"] = "isPicPrintShow";
|
|
44
|
+
EXT_INFO["\u5E93\u5B58\u663E\u793A"] = "isInvShow";
|
|
45
|
+
return EXT_INFO;
|
|
46
|
+
}(EXT_INFO || {});
|
|
47
|
+
var queryGoodsInfo = function queryGoodsInfo(data) {
|
|
48
|
+
return request({
|
|
49
|
+
apiName: 'wms.basedata.queryGoodsInfo',
|
|
50
|
+
data: data,
|
|
51
|
+
requestConfig: {
|
|
52
|
+
GatewayRoute: GATEWAY_ROUTE_WMS
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
var initColumns = [{
|
|
57
|
+
title: '商品编码',
|
|
58
|
+
dataIndex: 'goodsCode',
|
|
59
|
+
ellipsis: true,
|
|
60
|
+
width: 80
|
|
61
|
+
}, {
|
|
62
|
+
title: '商品名称',
|
|
63
|
+
dataIndex: 'goodsName',
|
|
64
|
+
ellipsis: true,
|
|
65
|
+
width: 80
|
|
66
|
+
}, {
|
|
67
|
+
title: '客户商品编码',
|
|
68
|
+
dataIndex: 'clientGoodsCode',
|
|
69
|
+
ellipsis: true,
|
|
70
|
+
width: 80
|
|
71
|
+
}];
|
|
72
|
+
export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props, ref) {
|
|
73
|
+
var ownerId = props.ownerId,
|
|
74
|
+
clientId = props.clientId,
|
|
75
|
+
initialValue = props.initialValue,
|
|
76
|
+
_props$searchTimes = props.searchTimes,
|
|
77
|
+
searchTimes = _props$searchTimes === void 0 ? 300 : _props$searchTimes,
|
|
78
|
+
_props$rowLabel = props.rowLabel,
|
|
79
|
+
rowLabel = _props$rowLabel === void 0 ? 'goodsCode' : _props$rowLabel,
|
|
80
|
+
goodsAttribute = props.goodsAttribute,
|
|
81
|
+
_props$isLoadAttribut = props.isLoadAttribute,
|
|
82
|
+
isLoadAttribute = _props$isLoadAttribut === void 0 ? false : _props$isLoadAttribut,
|
|
83
|
+
onChangeData = props.onChangeData,
|
|
84
|
+
onChange = props.onChange,
|
|
85
|
+
value = props.value,
|
|
86
|
+
restProps = _objectWithoutProperties(props, _excluded);
|
|
87
|
+
var _useState = useState(initColumns),
|
|
88
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
89
|
+
columns = _useState2[0],
|
|
90
|
+
setColumns = _useState2[1];
|
|
91
|
+
var _useState3 = useState(),
|
|
92
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
93
|
+
goodsList = _useState4[0],
|
|
94
|
+
setGoodsList = _useState4[1];
|
|
95
|
+
var _useState5 = useState(false),
|
|
96
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
97
|
+
loading = _useState6[0],
|
|
98
|
+
setLoading = _useState6[1];
|
|
99
|
+
var _useState7 = useState(),
|
|
100
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
101
|
+
initSelectValue = _useState8[0],
|
|
102
|
+
setInitSelectValue = _useState8[1];
|
|
103
|
+
var timerRef = useRef();
|
|
104
|
+
var prevData = useRef(props);
|
|
105
|
+
useEffect(function () {
|
|
106
|
+
if (ownerId) {
|
|
107
|
+
// 加载货物拓展属性
|
|
108
|
+
getClientInfoExtendAttributeList({
|
|
109
|
+
ownerId: ownerId,
|
|
110
|
+
attributeType: '1',
|
|
111
|
+
isActive: '1',
|
|
112
|
+
isDelete: '1'
|
|
113
|
+
}).then(function (_ref) {
|
|
114
|
+
var _ref$rows = _ref.rows,
|
|
115
|
+
rows = _ref$rows === void 0 ? [] : _ref$rows;
|
|
116
|
+
setColumns(initColumns.concat(rows.map(function (item) {
|
|
117
|
+
return {
|
|
118
|
+
title: item.attributeName,
|
|
119
|
+
dataIndex: "".concat(EXT_INFO.prefix).concat(item.attributeNumber),
|
|
120
|
+
ellipsis: true,
|
|
121
|
+
width: 60
|
|
122
|
+
};
|
|
123
|
+
})));
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
setGoodsList([]);
|
|
127
|
+
}, [ownerId]);
|
|
128
|
+
useEffect(function () {
|
|
129
|
+
console.log('value', value, initialValue);
|
|
130
|
+
console.log('props.value', props.value);
|
|
131
|
+
console.log('ownerId', ownerId);
|
|
132
|
+
console.log('clientId', clientId);
|
|
133
|
+
console.log('props.initSelectValue', props.initSelectValue);
|
|
134
|
+
if ((ownerId || clientId) && initialValue && !props.initSelectValue && (value === initialValue || value === undefined || value === null)) {
|
|
135
|
+
console.log('queryGoodsInfo');
|
|
136
|
+
setLoading(true);
|
|
137
|
+
queryGoodsInfo({
|
|
138
|
+
id: initialValue,
|
|
139
|
+
ownerId: ownerId,
|
|
140
|
+
clientId: clientId,
|
|
141
|
+
goodsAttribute: goodsAttribute
|
|
142
|
+
}).then(function (_ref2) {
|
|
143
|
+
var _ref2$rows = _ref2.rows,
|
|
144
|
+
rows = _ref2$rows === void 0 ? [] : _ref2$rows;
|
|
145
|
+
if (rows !== null && rows !== void 0 && rows.length && rows[0].id) {
|
|
146
|
+
setGoodsList(rows);
|
|
147
|
+
setInitSelectValue(rows[0][rowLabel]);
|
|
148
|
+
getClientInfoExtendAttributeList({
|
|
149
|
+
ownerId: clientId,
|
|
150
|
+
goodsId: initialValue,
|
|
151
|
+
attributeType: 2,
|
|
152
|
+
isActive: '1'
|
|
153
|
+
}).then(function (data) {
|
|
154
|
+
// if (onChange) {
|
|
155
|
+
// onChange(initialValue, {
|
|
156
|
+
// ...rows[0],
|
|
157
|
+
// extendAttributeList: data.rows
|
|
158
|
+
// })
|
|
159
|
+
// }
|
|
160
|
+
// if (onChangeData) {
|
|
161
|
+
// onChangeData(initialValue, {
|
|
162
|
+
// ...rows[0],
|
|
163
|
+
// extendAttributeList: data.rows
|
|
164
|
+
// })
|
|
165
|
+
// }
|
|
166
|
+
});
|
|
167
|
+
} else {
|
|
168
|
+
setGoodsList([]);
|
|
169
|
+
setInitSelectValue(undefined);
|
|
170
|
+
// if (onChange) {
|
|
171
|
+
// onChange(undefined, undefined as any)
|
|
172
|
+
// }
|
|
173
|
+
// if (onChangeData) {
|
|
174
|
+
// onChangeData(undefined, {})
|
|
175
|
+
// }
|
|
176
|
+
}
|
|
177
|
+
}).finally(function () {
|
|
178
|
+
setLoading(false);
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
}, [initialValue, ownerId, clientId, onChange, onChangeData, goodsAttribute, rowLabel, props.initSelectValue, props.value, value]);
|
|
182
|
+
var onSearch = useCallback(function (sValue) {
|
|
183
|
+
if (timerRef.current) clearTimeout(timerRef.current);
|
|
184
|
+
timerRef.current = setTimeout(function () {
|
|
185
|
+
setLoading(true);
|
|
186
|
+
queryGoodsInfo({
|
|
187
|
+
ownerId: ownerId,
|
|
188
|
+
clientId: clientId,
|
|
189
|
+
remoteSearchCValue: sValue,
|
|
190
|
+
isEnable: 0,
|
|
191
|
+
isExt: 0,
|
|
192
|
+
goodsAttribute: goodsAttribute
|
|
193
|
+
}).then(function (_ref3) {
|
|
194
|
+
var rows = _ref3.rows;
|
|
195
|
+
setGoodsList(rows || []);
|
|
196
|
+
}).finally(function () {
|
|
197
|
+
setLoading(false);
|
|
198
|
+
});
|
|
199
|
+
}, searchTimes);
|
|
200
|
+
}, [searchTimes, ownerId, clientId, goodsAttribute]);
|
|
201
|
+
var baseChangeData = useCallback(function (params, record) {
|
|
202
|
+
if (isLoadAttribute) {
|
|
203
|
+
getClientInfoExtendAttributeList({
|
|
204
|
+
ownerId: clientId,
|
|
205
|
+
goodsId: params,
|
|
206
|
+
attributeType: 2,
|
|
207
|
+
isActive: '1'
|
|
208
|
+
}).then(function (data) {
|
|
209
|
+
if (onChange) {
|
|
210
|
+
onChange(params, _objectSpread(_objectSpread({}, record), {}, {
|
|
211
|
+
extendAttributeList: data.rows
|
|
212
|
+
}));
|
|
213
|
+
}
|
|
214
|
+
if (onChangeData) {
|
|
215
|
+
onChangeData(params, _objectSpread(_objectSpread({}, record), {}, {
|
|
216
|
+
extendAttributeList: data.rows
|
|
217
|
+
}));
|
|
218
|
+
}
|
|
219
|
+
});
|
|
220
|
+
} else {
|
|
221
|
+
if (onChange) {
|
|
222
|
+
onChange(params, _objectSpread(_objectSpread({}, record), {}, {
|
|
223
|
+
extendAttributeList: []
|
|
224
|
+
}));
|
|
225
|
+
}
|
|
226
|
+
if (onChangeData) {
|
|
227
|
+
onChangeData(params, _objectSpread(_objectSpread({}, record), {}, {
|
|
228
|
+
extendAttributeList: []
|
|
229
|
+
}));
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}, [isLoadAttribute, clientId, onChange, onChangeData]);
|
|
233
|
+
return /*#__PURE__*/_jsx(TableSelectBase, _objectSpread(_objectSpread({
|
|
234
|
+
ref: ref
|
|
235
|
+
}, restProps), {}, {
|
|
236
|
+
loading: loading,
|
|
237
|
+
initSelectValue: initSelectValue || restProps.initSelectValue,
|
|
238
|
+
bindField: {
|
|
239
|
+
rowKey: 'id',
|
|
240
|
+
rowLabel: rowLabel
|
|
241
|
+
},
|
|
242
|
+
onSearch: onSearch,
|
|
243
|
+
columns: columns,
|
|
244
|
+
dataSource: goodsList,
|
|
245
|
+
onChangeData: baseChangeData
|
|
246
|
+
}));
|
|
247
|
+
}));
|
|
@@ -59,8 +59,13 @@ export var BiuMultipleAInput = /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(
|
|
|
59
59
|
setVisible = _useState4[1];
|
|
60
60
|
var onExpandClick = useCallback(function () {
|
|
61
61
|
setVisible(true);
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
if (value) {
|
|
63
|
+
var newValue = value.replace(/,/g, '\n');
|
|
64
|
+
setExtendedValue(newValue);
|
|
65
|
+
} else {
|
|
66
|
+
setExtendedValue(state);
|
|
67
|
+
}
|
|
68
|
+
}, [state, value]);
|
|
64
69
|
var onModelCancel = useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
65
70
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
66
71
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -73,14 +78,27 @@ export var BiuMultipleAInput = /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(
|
|
|
73
78
|
}, _callee);
|
|
74
79
|
})), []);
|
|
75
80
|
var onModelOk = useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
76
|
-
var result;
|
|
81
|
+
var result, temResult;
|
|
77
82
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
78
83
|
while (1) switch (_context2.prev = _context2.next) {
|
|
79
84
|
case 0:
|
|
80
|
-
result = (extendedValue || '').replace(/^\s*(?:\r\n?|\n)/gm, '').trim().replace(/\n
|
|
81
|
-
|
|
85
|
+
result = (extendedValue || '').replace(/^\s*(?:\r\n?|\n)/gm, '').trim().replace(/\n|,/g, ',');
|
|
86
|
+
temResult = result.split(',');
|
|
87
|
+
if (temResult.length) {
|
|
88
|
+
temResult = temResult.map(function (item) {
|
|
89
|
+
item = item.trim();
|
|
90
|
+
return item;
|
|
91
|
+
});
|
|
92
|
+
temResult = temResult.filter(function (item) {
|
|
93
|
+
return item !== '';
|
|
94
|
+
});
|
|
95
|
+
console.log('temResult', temResult);
|
|
96
|
+
temResult = temResult.join(',');
|
|
97
|
+
}
|
|
98
|
+
console.log('temResult', temResult);
|
|
99
|
+
setState(temResult);
|
|
82
100
|
setVisible(false);
|
|
83
|
-
case
|
|
101
|
+
case 6:
|
|
84
102
|
case "end":
|
|
85
103
|
return _context2.stop();
|
|
86
104
|
}
|
|
@@ -4,5 +4,5 @@ export type BiuFieldPropsType = {
|
|
|
4
4
|
} & {
|
|
5
5
|
[P in string]: any;
|
|
6
6
|
};
|
|
7
|
-
export type BiuFieldType = 'sninput' | 'omswarehousesel' | 'cityareaselect' | 'label' | 'text' | 'textarea' | 'inputpassword' | 'number' | 'time' | 'date' | 'datetime' | 'month' | 'dicselect' | 'cityareacascader' | 'daterange' | 'distributioncentreselect' | 'warehouseinfoselect' | 'warehouseloctionwelect' | 'departtreeselect' | 'select' | 'goodsselect' | 'warehouseareaselect' | 'clientselect' | 'checkbox' | 'ordertypetableselect' | 'customer' | 'goodstypeselect' | 'shipperselect' | 'ordertypeselect' | 'dicselectname' | 'carrierinfoselect' | 'databaseSelect' | 'editLocationSelect' | 'newEditLocationSelect' | 'departorgselect' | 'departmentTreeSelect' | 'tableselectlocal' | 'appliedgoodstypeselect' | 'dockingPartySelect' | 'interfaceNameSelect' | 'boxtypeselect' | 'propertNameSelect' | 'userSelect' | 'channelSelect' | 'customMenu' | 'lpnselect' | 'lpnSelectNew' | 'autoComplete' | 'platformSelect' | 'accountSelect' | 'addressSelect' | 'addressTableSelect' | 'personnelinfoselect' | 'businessdistrictselect' | 'checkboxgroup' | 'filter' | 'multipleInput';
|
|
7
|
+
export type BiuFieldType = 'sninput' | 'omswarehousesel' | 'cityareaselect' | 'label' | 'text' | 'textarea' | 'inputpassword' | 'number' | 'time' | 'date' | 'datetime' | 'month' | 'dicselect' | 'cityareacascader' | 'daterange' | 'distributioncentreselect' | 'warehouseinfoselect' | 'warehouseloctionwelect' | 'departtreeselect' | 'select' | 'goodsselect' | 'newGoodsSelect' | 'warehouseareaselect' | 'clientselect' | 'checkbox' | 'ordertypetableselect' | 'customer' | 'goodstypeselect' | 'shipperselect' | 'ordertypeselect' | 'dicselectname' | 'carrierinfoselect' | 'databaseSelect' | 'editLocationSelect' | 'newEditLocationSelect' | 'departorgselect' | 'departmentTreeSelect' | 'tableselectlocal' | 'appliedgoodstypeselect' | 'dockingPartySelect' | 'interfaceNameSelect' | 'boxtypeselect' | 'propertNameSelect' | 'userSelect' | 'channelSelect' | 'customMenu' | 'lpnselect' | 'lpnSelectNew' | 'autoComplete' | 'platformSelect' | 'accountSelect' | 'addressSelect' | 'addressTableSelect' | 'personnelinfoselect' | 'businessdistrictselect' | 'checkboxgroup' | 'filter' | 'multipleInput';
|
|
8
8
|
export declare const BiuField: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<BiuFieldPropsType, "ref"> & React.RefAttributes<unknown>>>;
|
|
@@ -478,157 +478,178 @@ export var BiuField = /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function
|
|
|
478
478
|
initSelectValue: initSelectValue
|
|
479
479
|
}, commonProps));
|
|
480
480
|
}
|
|
481
|
-
case '
|
|
481
|
+
case 'newGoodsSelect':
|
|
482
482
|
{
|
|
483
|
-
var
|
|
484
|
-
_columns = diffProps.columns,
|
|
483
|
+
var _columns = diffProps.columns,
|
|
485
484
|
_dataSource = diffProps.dataSource,
|
|
486
485
|
_onChangeData12 = diffProps.onChangeData,
|
|
487
486
|
_ownerId5 = diffProps.ownerId,
|
|
488
487
|
_initSelectValue = diffProps.initSelectValue,
|
|
489
488
|
_initialvalue2 = diffProps.initialvalue,
|
|
490
489
|
_initialValue2 = diffProps.initialValue,
|
|
491
|
-
|
|
490
|
+
_allowClear35 = diffProps.allowClear;
|
|
492
491
|
return /*#__PURE__*/_jsx(TableSelectLocal, _objectSpread({
|
|
492
|
+
type: "newGoods",
|
|
493
493
|
allowClear: _allowClear35,
|
|
494
494
|
initialValue: _initialvalue2 || _initialValue2,
|
|
495
495
|
onChangeData: _onChangeData12,
|
|
496
496
|
columns: _columns,
|
|
497
497
|
dataSource: _dataSource,
|
|
498
|
-
initSelectValue: _initSelectValue,
|
|
499
498
|
ownerId: _ownerId5,
|
|
500
|
-
|
|
499
|
+
initSelectValue: _initSelectValue
|
|
501
500
|
}, commonProps));
|
|
502
501
|
}
|
|
503
|
-
case '
|
|
502
|
+
case 'tableselectlocal':
|
|
504
503
|
{
|
|
505
|
-
var
|
|
506
|
-
|
|
507
|
-
|
|
504
|
+
var _allowClear36 = diffProps.allowClear,
|
|
505
|
+
_columns2 = diffProps.columns,
|
|
506
|
+
_dataSource2 = diffProps.dataSource,
|
|
507
|
+
_onChangeData13 = diffProps.onChangeData,
|
|
508
|
+
_ownerId6 = diffProps.ownerId,
|
|
509
|
+
_initSelectValue2 = diffProps.initSelectValue,
|
|
510
|
+
_initialvalue3 = diffProps.initialvalue,
|
|
511
|
+
_initialValue3 = diffProps.initialValue,
|
|
512
|
+
goodsAttribute = diffProps.goodsAttribute;
|
|
513
|
+
return /*#__PURE__*/_jsx(TableSelectLocal, _objectSpread({
|
|
508
514
|
allowClear: _allowClear36,
|
|
515
|
+
initialValue: _initialvalue3 || _initialValue3,
|
|
509
516
|
onChangeData: _onChangeData13,
|
|
510
|
-
|
|
517
|
+
columns: _columns2,
|
|
518
|
+
dataSource: _dataSource2,
|
|
519
|
+
initSelectValue: _initSelectValue2,
|
|
520
|
+
ownerId: _ownerId6,
|
|
521
|
+
goodsAttribute: goodsAttribute
|
|
511
522
|
}, commonProps));
|
|
512
523
|
}
|
|
513
|
-
case '
|
|
524
|
+
case 'dockingPartySelect':
|
|
514
525
|
{
|
|
515
526
|
var _onChangeData14 = diffProps.onChangeData,
|
|
516
527
|
_allowClear37 = diffProps.allowClear;
|
|
517
|
-
return /*#__PURE__*/_jsx(
|
|
528
|
+
return /*#__PURE__*/_jsx(DockingPartySelect, _objectSpread({
|
|
518
529
|
allowClear: _allowClear37,
|
|
519
530
|
onChangeData: _onChangeData14,
|
|
520
531
|
placeholder: "\u8BF7\u9009\u62E9"
|
|
521
532
|
}, commonProps));
|
|
522
533
|
}
|
|
523
|
-
case '
|
|
524
|
-
return /*#__PURE__*/_jsx(BoxTypeSelect, _objectSpread({}, commonProps));
|
|
525
|
-
case 'userSelect':
|
|
534
|
+
case 'interfaceNameSelect':
|
|
526
535
|
{
|
|
527
536
|
var _onChangeData15 = diffProps.onChangeData,
|
|
528
537
|
_allowClear38 = diffProps.allowClear;
|
|
529
|
-
return /*#__PURE__*/_jsx(
|
|
538
|
+
return /*#__PURE__*/_jsx(InterfaceNameSelect, _objectSpread({
|
|
530
539
|
allowClear: _allowClear38,
|
|
531
540
|
onChangeData: _onChangeData15,
|
|
532
541
|
placeholder: "\u8BF7\u9009\u62E9"
|
|
533
542
|
}, commonProps));
|
|
534
543
|
}
|
|
535
|
-
case '
|
|
544
|
+
case 'boxtypeselect':
|
|
545
|
+
return /*#__PURE__*/_jsx(BoxTypeSelect, _objectSpread({}, commonProps));
|
|
546
|
+
case 'userSelect':
|
|
536
547
|
{
|
|
537
548
|
var _onChangeData16 = diffProps.onChangeData,
|
|
538
|
-
serialNumber = diffProps.serialNumber,
|
|
539
|
-
_ownerId6 = diffProps.ownerId,
|
|
540
549
|
_allowClear39 = diffProps.allowClear;
|
|
541
|
-
return /*#__PURE__*/_jsx(
|
|
550
|
+
return /*#__PURE__*/_jsx(UserSelect, _objectSpread({
|
|
542
551
|
allowClear: _allowClear39,
|
|
543
552
|
onChangeData: _onChangeData16,
|
|
544
|
-
|
|
545
|
-
serialNumber: serialNumber
|
|
553
|
+
placeholder: "\u8BF7\u9009\u62E9"
|
|
546
554
|
}, commonProps));
|
|
547
555
|
}
|
|
548
|
-
case '
|
|
556
|
+
case 'sninput':
|
|
549
557
|
{
|
|
550
558
|
var _onChangeData17 = diffProps.onChangeData,
|
|
559
|
+
serialNumber = diffProps.serialNumber,
|
|
560
|
+
_ownerId7 = diffProps.ownerId,
|
|
551
561
|
_allowClear40 = diffProps.allowClear;
|
|
552
|
-
return /*#__PURE__*/_jsx(
|
|
562
|
+
return /*#__PURE__*/_jsx(SNInput, _objectSpread({
|
|
553
563
|
allowClear: _allowClear40,
|
|
554
564
|
onChangeData: _onChangeData17,
|
|
555
|
-
|
|
565
|
+
ownerId: _ownerId7,
|
|
566
|
+
serialNumber: serialNumber
|
|
556
567
|
}, commonProps));
|
|
557
568
|
}
|
|
558
|
-
case '
|
|
569
|
+
case 'channelSelect':
|
|
559
570
|
{
|
|
560
|
-
var
|
|
561
|
-
|
|
571
|
+
var _onChangeData18 = diffProps.onChangeData,
|
|
572
|
+
_allowClear41 = diffProps.allowClear;
|
|
573
|
+
return /*#__PURE__*/_jsx(ChannelSelect, _objectSpread({
|
|
562
574
|
allowClear: _allowClear41,
|
|
575
|
+
onChangeData: _onChangeData18,
|
|
563
576
|
placeholder: "\u8BF7\u9009\u62E9"
|
|
564
577
|
}, commonProps));
|
|
565
578
|
}
|
|
566
|
-
case '
|
|
579
|
+
case 'customMenu':
|
|
567
580
|
{
|
|
568
|
-
var
|
|
569
|
-
|
|
570
|
-
return /*#__PURE__*/_jsx(LpnSelect, _objectSpread({
|
|
581
|
+
var _allowClear42 = diffProps.allowClear;
|
|
582
|
+
return /*#__PURE__*/_jsx(CustomMenu, _objectSpread({
|
|
571
583
|
allowClear: _allowClear42,
|
|
572
|
-
onChangeData: _onChangeData18,
|
|
573
584
|
placeholder: "\u8BF7\u9009\u62E9"
|
|
574
585
|
}, commonProps));
|
|
575
586
|
}
|
|
576
|
-
case '
|
|
587
|
+
case 'lpnselect':
|
|
577
588
|
{
|
|
578
589
|
var _onChangeData19 = diffProps.onChangeData,
|
|
579
590
|
_allowClear43 = diffProps.allowClear;
|
|
580
|
-
return /*#__PURE__*/_jsx(
|
|
591
|
+
return /*#__PURE__*/_jsx(LpnSelect, _objectSpread({
|
|
581
592
|
allowClear: _allowClear43,
|
|
582
593
|
onChangeData: _onChangeData19,
|
|
583
594
|
placeholder: "\u8BF7\u9009\u62E9"
|
|
584
595
|
}, commonProps));
|
|
585
596
|
}
|
|
586
|
-
case '
|
|
597
|
+
case 'lpnSelectNew':
|
|
587
598
|
{
|
|
588
599
|
var _onChangeData20 = diffProps.onChangeData,
|
|
589
600
|
_allowClear44 = diffProps.allowClear;
|
|
590
|
-
return /*#__PURE__*/_jsx(
|
|
601
|
+
return /*#__PURE__*/_jsx(LpnSelectNew, _objectSpread({
|
|
591
602
|
allowClear: _allowClear44,
|
|
592
|
-
onChangeData: _onChangeData20
|
|
603
|
+
onChangeData: _onChangeData20,
|
|
604
|
+
placeholder: "\u8BF7\u9009\u62E9"
|
|
593
605
|
}, commonProps));
|
|
594
606
|
}
|
|
595
|
-
case '
|
|
607
|
+
case 'autoComplete':
|
|
596
608
|
{
|
|
597
609
|
var _onChangeData21 = diffProps.onChangeData,
|
|
598
610
|
_allowClear45 = diffProps.allowClear;
|
|
599
|
-
return /*#__PURE__*/_jsx(
|
|
611
|
+
return /*#__PURE__*/_jsx(AutoCompleteSelect, _objectSpread({
|
|
600
612
|
allowClear: _allowClear45,
|
|
601
|
-
onChangeData: _onChangeData21
|
|
602
|
-
placeholder: "\u8BF7\u9009\u62E9"
|
|
613
|
+
onChangeData: _onChangeData21
|
|
603
614
|
}, commonProps));
|
|
604
615
|
}
|
|
605
|
-
case '
|
|
616
|
+
case 'platformSelect':
|
|
606
617
|
{
|
|
607
618
|
var _onChangeData22 = diffProps.onChangeData,
|
|
608
619
|
_allowClear46 = diffProps.allowClear;
|
|
609
|
-
return /*#__PURE__*/_jsx(
|
|
620
|
+
return /*#__PURE__*/_jsx(PlatformSelect, _objectSpread({
|
|
610
621
|
allowClear: _allowClear46,
|
|
611
|
-
onChangeData: _onChangeData22
|
|
622
|
+
onChangeData: _onChangeData22,
|
|
623
|
+
placeholder: "\u8BF7\u9009\u62E9"
|
|
612
624
|
}, commonProps));
|
|
613
625
|
}
|
|
614
|
-
case '
|
|
626
|
+
case 'accountSelect':
|
|
615
627
|
{
|
|
616
628
|
var _onChangeData23 = diffProps.onChangeData,
|
|
617
629
|
_allowClear47 = diffProps.allowClear;
|
|
618
|
-
return /*#__PURE__*/_jsx(
|
|
630
|
+
return /*#__PURE__*/_jsx(AccountSelect, _objectSpread({
|
|
619
631
|
allowClear: _allowClear47,
|
|
620
632
|
onChangeData: _onChangeData23
|
|
621
633
|
}, commonProps));
|
|
622
634
|
}
|
|
623
|
-
case '
|
|
635
|
+
case 'addressSelect':
|
|
624
636
|
{
|
|
625
637
|
var _onChangeData24 = diffProps.onChangeData,
|
|
626
638
|
_allowClear48 = diffProps.allowClear;
|
|
627
|
-
return /*#__PURE__*/_jsx(
|
|
639
|
+
return /*#__PURE__*/_jsx(AddressSelect, _objectSpread({
|
|
628
640
|
allowClear: _allowClear48,
|
|
629
641
|
onChangeData: _onChangeData24
|
|
630
642
|
}, commonProps));
|
|
631
643
|
}
|
|
644
|
+
case 'addressTableSelect':
|
|
645
|
+
{
|
|
646
|
+
var _onChangeData25 = diffProps.onChangeData,
|
|
647
|
+
_allowClear49 = diffProps.allowClear;
|
|
648
|
+
return /*#__PURE__*/_jsx(AddressTableSelect, _objectSpread({
|
|
649
|
+
allowClear: _allowClear49,
|
|
650
|
+
onChangeData: _onChangeData25
|
|
651
|
+
}, commonProps));
|
|
652
|
+
}
|
|
632
653
|
default:
|
|
633
654
|
var allowClear = diffProps.allowClear;
|
|
634
655
|
return /*#__PURE__*/_jsx(BiuAInput, _objectSpread({
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAmGzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;wCAA4B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAgBzB,eAAO,MAAM,QAAQ,2RAAyB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAczB,eAAO,MAAM,YAAY;;;;;;;;wCAA6B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAYzB,eAAO,MAAM,cAAc;;;;;;;;sEAA+B,CAAA;AAC1D,eAAO,MAAM,eAAe;;;;uBAE3B,CAAA;AACD,eAAO,MAAM,eAAe;;;YAE3B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,MAAM,CAAA;AA0BvC,eAAO,MAAM,YAAY;;;;EAAiD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAgEzB,eAAO,MAAM,SAAS;;;;;EAA0C,CAAA;AAIhE,eAAO,MAAM,YAAY,yKAA6B,CAAA;AAEtD,eAAO,MAAM,YAAY,mJAA2D,CAAA;AACpF,eAAO,MAAM,cAAc,iEAA0B,CAAA;AACrD,eAAO,MAAM,UAAU,iJAAuD,CAAA;AAE9E,eAAO,MAAM,eAAe,KAAuC,CAAA;AAEnE,eAAO,MAAM,gBAAgB,KAAwC,CAAA;AACrE,eAAO,MAAM,sBAAsB,mEAAkC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAsCzB;;GAEG;AACH,eAAO,MAAM,UAAU,KAAkC,CAAA;AAGzD,eAAO,MAAM,gBAAgB,mEAA4B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,eAAO,MAAM,UAAU,mVAA2B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,eAAO,MAAM,cAAc;;EAAoD,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAgCzB,eAAO,MAAM,cAAc,mTAA+B,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAkC,MAAM,OAAO,CAAA;AAEtD,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ;AAED;;;;;GAKG;AACH,eAAO,MAAM,MAAM,4GA6BlB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAA;AACvC,OAAO,KAAgE,MAAM,OAAO,CAAA;AAKpF;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,kLAqExB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,IAAI,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAGxE,OAAO,KAAK,EAAE,cAAc,EAAE,oBAAe;AAE7C,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,CAAA;CAChC,GAAG,eAAe,CAAA;AAEnB,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAA;AAE9D,MAAM,MAAM,4BAA4B,GAAG;IACzC,CACE,OAAO,EAAE,MAAM,EACf,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC,qBAAqB,EAAE,SAAS,CAAC,EACpE,KAAK,CAAC,EAAE,IAAI,CAAC,qBAAqB,EAAE,SAAS,CAAC,GAC7C,IAAI,CAAA;CACR,CAAA;AA2CD,eAAO,MAAM,MAAM,EAAE,4BAA4B,GAAG;IAClD,OAAO,EAAE,4BAA4B,CAAA;IACrC,KAAK,EAAE,4BAA4B,CAAA;IACnC,OAAO,EAAE,4BAA4B,CAAA;IACrC,IAAI,EAAE,4BAA4B,CAAA;CAMlC,CAAA"}
|