From e8339f25286938ff76ad217ef73f71250f0ec00b Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Fri, 5 Sep 2025 13:47:21 +0800 Subject: [PATCH] 1.处理工艺指导书报错 2.更多功能去掉重置日报 --- src/components/Common/CommonViewDragable/index.js | 5 +++-- src/mes/indexMes/index.js | 18 +++++++++--------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/components/Common/CommonViewDragable/index.js b/src/components/Common/CommonViewDragable/index.js index ed03713..cce2476 100644 --- a/src/components/Common/CommonViewDragable/index.js +++ b/src/components/Common/CommonViewDragable/index.js @@ -9,6 +9,7 @@ import React, { import "@ant-design/compatible/assets/index.css"; import { Tabs, Tooltip } from "antd"; import ShowType from "@/components/Common/CommonComponent"; +import * as commonFunc from "@/components/Common/commonFunc"; import * as commonBusiness from "@/components/Common/commonBusiness"; import StaticEditTable from "@/components/Common/CommonTable"; import * as commonUtils from "@/utils/utils"; @@ -221,8 +222,8 @@ const RGLComponent = childProps => { ); }; -const EmptyComponent = () => { - const noData = commonFunc.showLocalMessage(this.props, 'noData', '暂无数据'); +const EmptyComponent = (props) => { + const noData = commonFunc.showLocalMessage(props, 'noData', '暂无数据'); return