From 59ea8ea6f669d7e1bc50f773a153fc08c4c0645c Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Thu, 5 Mar 2026 17:11:06 +0800 Subject: [PATCH] 1.车间行车记录明细弹窗,宽高都调小 --- src/mes/common/commonModalComponent/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mes/common/commonModalComponent/index.js b/src/mes/common/commonModalComponent/index.js index 1948ef6..b3e62fb 100644 --- a/src/mes/common/commonModalComponent/index.js +++ b/src/mes/common/commonModalComponent/index.js @@ -6,11 +6,12 @@ import RouterComponent from "@/routes/mes/routerComponent"; import * as commonUtils from "@/utils/utils"; const CommonModalComponent = props => { + const bSmall = props?.sModelsId ==='17211911815017669983448000'; const { visible, title, - width = "calc(100vw - 110px)", - height = "calc(100vh - 60px)", + width = bSmall? "calc(75vw - 110px)" : "calc(100vw - 110px)", + height = bSmall? "calc(80vh - 60px)" : "calc(100vh - 60px)", onCancel } = props; @@ -22,7 +23,7 @@ const CommonModalComponent = props => { padding: 0, margin: 0, top: 60, - left: 110 + left: bSmall? 216: 110 }; } -- libgit2 0.22.2