Commit a20d6df5cac80034a515ba53524c40e227a2766a

Authored by Min
1 parent b48854d1

1.处理弹窗样式根据固定模块id控制弹窗大小

src/components/Common/CommonViewTable/index.js
@@ -308,7 +308,7 @@ class CommonViewTableRc extends Component { @@ -308,7 +308,7 @@ class CommonViewTableRc extends Component {
308 }, 308 },
309 wrapperCol: { span: this.props?.sModelsId !== "17086722220003015078585693314000" ? 17 : 8, } 309 wrapperCol: { span: this.props?.sModelsId !== "17086722220003015078585693314000" ? 17 : 8, }
310 }; 310 };
311 - 311 +
312 /* 字段弹窗功能 */ 312 /* 字段弹窗功能 */
313 let commonFieldPopupProps = {}; 313 let commonFieldPopupProps = {};
314 let commonFieldPopupTitle = "选择弹窗"; 314 let commonFieldPopupTitle = "选择弹窗";
src/mes/common/commonModalComponent/index.js
@@ -6,7 +6,7 @@ import RouterComponent from "@/routes/mes/routerComponent"; @@ -6,7 +6,7 @@ import RouterComponent from "@/routes/mes/routerComponent";
6 import * as commonUtils from "@/utils/utils"; 6 import * as commonUtils from "@/utils/utils";
7 7
8 const CommonModalComponent = props => { 8 const CommonModalComponent = props => {
9 - const bSmall = props?.sModelsId ==='17211911815017669983448000' || '172117190122117805553443590'; 9 + const bSmall = props?.sModelsId ==='17211911815017669983448000' || props?.sModelsId === '172117190122117805553443590';
10 const { 10 const {
11 visible, 11 visible,
12 title, 12 title,