kmkf-work-order-service-component 0.4.0-alpha.1 → 0.4.0-alpha.3
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.
@@ -34,6 +34,12 @@
|
|
34
34
|
}
|
35
35
|
|
36
36
|
.customizeFormModalClassName {
|
37
|
+
:global(.ant-cascader-menu-item-content) {
|
38
|
+
max-width: 200px;
|
39
|
+
overflow: hidden;
|
40
|
+
white-space: nowrap;
|
41
|
+
text-overflow: ellipsis;
|
42
|
+
}
|
37
43
|
:global(.goods-uploaded-state) {
|
38
44
|
margin: 6px 0 5px 0;
|
39
45
|
padding-left: 7px;
|
@@ -176,8 +176,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref3) {
|
|
176
176
|
pagination = tableProps.pagination,
|
177
177
|
_onChange = tableProps.onChange;
|
178
178
|
useEffect(function () {
|
179
|
-
|
180
|
-
if (pagination.current === 1 && total === 0) {
|
179
|
+
if (pagination.current === 1) {
|
181
180
|
setTotal(pagination.total);
|
182
181
|
}
|
183
182
|
}, [pagination, total]);
|
@@ -357,7 +356,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref3) {
|
|
357
356
|
width: platform === PlatForm.XIAOZHI ? '100%' : '90%'
|
358
357
|
}), /*#__PURE__*/_jsx(Drawer, {
|
359
358
|
closeIcon: /*#__PURE__*/_jsx(LeftOutlined, {}),
|
360
|
-
title: title,
|
359
|
+
title: (record === null || record === void 0 ? void 0 : record.templateName) || title,
|
361
360
|
width: platform === PlatForm.XIAOZHI ? '100%' : '90%',
|
362
361
|
open: formRenderVisible,
|
363
362
|
onClose: handleCloseFormModal,
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
@@ -11,4 +11,5 @@
|
|
11
11
|
export { default as WorkOrder } from "./WorkOrder";
|
12
12
|
export { default as Login } from "./Login";
|
13
13
|
export { default as SingleShopWorkOrder } from "./SingleShopWorkOrder";
|
14
|
+
export { default as FormRender } from "./FormRender";
|
14
15
|
export * from "./WorkOrder/types";
|