Commit 59ea8ea6f669d7e1bc50f773a153fc08c4c0645c

Authored by Min
1 parent 1d6e0e8d

1.车间行车记录明细弹窗,宽高都调小

src/mes/common/commonModalComponent/index.js
@@ -6,11 +6,12 @@ import RouterComponent from "@/routes/mes/routerComponent"; @@ -6,11 +6,12 @@ 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';
9 const { 10 const {
10 visible, 11 visible,
11 title, 12 title,
12 - width = "calc(100vw - 110px)",  
13 - height = "calc(100vh - 60px)", 13 + width = bSmall? "calc(75vw - 110px)" : "calc(100vw - 110px)",
  14 + height = bSmall? "calc(80vh - 60px)" : "calc(100vh - 60px)",
14 onCancel 15 onCancel
15 } = props; 16 } = props;
16 17
@@ -22,7 +23,7 @@ const CommonModalComponent = props => { @@ -22,7 +23,7 @@ const CommonModalComponent = props => {
22 padding: 0, 23 padding: 0,
23 margin: 0, 24 margin: 0,
24 top: 60, 25 top: 60,
25 - left: 110 26 + left: bSmall? 216: 110
26 }; 27 };
27 } 28 }
28 29