wt-enjoy-link-antd-repack 4.1.38 → 4.1.39
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.
@@ -68,6 +68,9 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
68
68
|
setResult([]);
|
69
69
|
return;
|
70
70
|
}
|
71
|
+
if (locationType == 3 && !defaultValues) {
|
72
|
+
setDefaultValue('');
|
73
|
+
}
|
71
74
|
getLpnList({
|
72
75
|
locationId: locationId,
|
73
76
|
locationType: locationType
|
@@ -81,7 +84,7 @@ export default /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(function (props,
|
|
81
84
|
});
|
82
85
|
setResult(data || []);
|
83
86
|
});
|
84
|
-
}, [locationId, isFirstLoadSearch, locationType, defaultValue]);
|
87
|
+
}, [locationId, isFirstLoadSearch, locationType, defaultValue, defaultValues]);
|
85
88
|
var onSearch = useCallback(function () {
|
86
89
|
setIsFirstLoadSearch(true);
|
87
90
|
}, []);
|
@@ -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 | 2 | 1 | 3 | 4 | 5;
|
13
13
|
isFirstLoad: boolean;
|
14
14
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
15
15
|
export default _default;
|
@@ -46,4 +46,4 @@ export declare const BiuTableSelect: React.MemoExoticComponent<React.ForwardRefE
|
|
46
46
|
* 转换下绑定到组件上的数据源
|
47
47
|
*/
|
48
48
|
dataOption?: ((value: Record<string, any>) => Record<string, any>[]) | undefined;
|
49
|
-
} & Pick<SelectProps<any, import("antd/lib/select").DefaultOptionType>, "
|
49
|
+
} & Pick<SelectProps<any, import("antd/lib/select").DefaultOptionType>, "showSearch" | "allowClear"> & Pick<TableProps<any>, "dataSource" | "onRow"> & React.RefAttributes<unknown>>>;
|
@@ -10,4 +10,4 @@ export interface BiuVirtualTablePropsType {
|
|
10
10
|
y: number;
|
11
11
|
};
|
12
12
|
}
|
13
|
-
export declare const BiuVirtualTable: React.MemoExoticComponent<React.ForwardRefExoticComponent<BiuVirtualTablePropsType & Omit<TableProps<any>, "
|
13
|
+
export declare const BiuVirtualTable: React.MemoExoticComponent<React.ForwardRefExoticComponent<BiuVirtualTablePropsType & Omit<TableProps<any>, "scroll" | "columns"> & React.RefAttributes<unknown>>>;
|