From 71968259038f60ff325a133ffea85617a7a36826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Thu, 15 Dec 2022 00:15:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=A0=B7=E5=BC=8F=EF=BC=8C?= =?UTF-8?q?=E5=85=BC=E5=AE=B9=E6=89=8B=E6=9C=BA=E6=B5=8F=E8=A7=88=E5=99=A8?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/assets/less/common.less | 33 +++---------------- .../src/components/jeecg/JModal/index.vue | 7 +++- .../jeecgbiz/modal/JSelectMaterialModal.vue | 5 +-- .../src/components/tools/ImportFileModal.vue | 8 +++-- jshERP-web/src/components/tools/UserMenu.vue | 6 ++-- .../src/components/tools/UserPassword.vue | 7 ++-- jshERP-web/src/utils/mixin.js | 7 ++++ .../src/views/bill/dialog/BatchSetDepot.vue | 7 ++-- .../src/views/bill/dialog/BillPrintIframe.vue | 7 ++-- .../src/views/bill/dialog/HistoryBillList.vue | 8 +++-- .../src/views/bill/dialog/LinkBillList.vue | 8 +++-- .../views/bill/dialog/ManyAccountModal.vue | 7 ++-- .../views/bill/modules/AllocationOutModal.vue | 4 +-- .../src/views/bill/modules/AssembleModal.vue | 4 +-- .../views/bill/modules/DisassembleModal.vue | 4 +-- .../src/views/bill/modules/OtherInModal.vue | 4 +-- .../src/views/bill/modules/OtherOutModal.vue | 4 +-- .../views/bill/modules/PurchaseBackModal.vue | 4 +-- .../views/bill/modules/PurchaseInModal.vue | 4 +-- .../views/bill/modules/PurchaseOrderModal.vue | 4 +-- .../views/bill/modules/RetailBackModal.vue | 4 +-- .../src/views/bill/modules/RetailOutModal.vue | 4 +-- .../src/views/bill/modules/SaleBackModal.vue | 4 +-- .../src/views/bill/modules/SaleOrderModal.vue | 4 +-- .../src/views/bill/modules/SaleOutModal.vue | 4 +-- .../views/financial/dialog/DebtBillList.vue | 8 +++-- .../financial/modules/AdvanceInModal.vue | 4 +-- .../src/views/financial/modules/GiroModal.vue | 4 +-- .../views/financial/modules/ItemInModal.vue | 4 +-- .../views/financial/modules/ItemOutModal.vue | 4 +-- .../views/financial/modules/MoneyInModal.vue | 4 +-- .../views/financial/modules/MoneyOutModal.vue | 4 +-- .../material/modules/BatchSetInfoModal.vue | 7 ++-- .../material/modules/BatchSetPriceModal.vue | 7 ++-- .../material/modules/BatchSetStockModal.vue | 7 ++-- .../modules/MaterialAttributeModal.vue | 9 +++-- .../modules/MaterialCategoryModal.vue | 7 ++-- .../views/material/modules/MaterialModal.vue | 2 -- .../modules/MaterialPropertyModal.vue | 7 ++-- .../views/report/modules/AccountInOutList.vue | 8 +++-- .../views/report/modules/DebtAccountList.vue | 8 +++-- .../report/modules/MaterialInOutList.vue | 8 +++-- .../src/views/system/modules/AccountModal.vue | 7 ++-- .../views/system/modules/CustomerModal.vue | 7 ++-- .../src/views/system/modules/DepotModal.vue | 8 +++-- .../views/system/modules/FunctionModal.vue | 7 ++-- .../system/modules/FunctionTreeModal.vue | 7 ++-- .../views/system/modules/InOutItemModal.vue | 7 ++-- .../src/views/system/modules/MemberModal.vue | 7 ++-- .../system/modules/OrganizationModal.vue | 7 ++-- .../src/views/system/modules/PersonModal.vue | 7 ++-- .../system/modules/PlatformConfigModal.vue | 7 ++-- .../views/system/modules/PluginAppModal.vue | 7 ++-- .../src/views/system/modules/PluginModal.vue | 7 ++-- .../system/modules/RoleFunctionModal.vue | 7 ++-- .../src/views/system/modules/RoleModal.vue | 7 ++-- .../views/system/modules/RolePushBtnModal.vue | 8 +++-- .../src/views/system/modules/TenantModal.vue | 7 ++-- .../src/views/system/modules/UnitModal.vue | 7 ++-- .../system/modules/UserCustomerModal.vue | 7 ++-- .../views/system/modules/UserDepotModal.vue | 7 ++-- .../src/views/system/modules/UserModal.vue | 7 ++-- .../src/views/system/modules/VendorModal.vue | 7 ++-- 63 files changed, 235 insertions(+), 178 deletions(-) diff --git a/jshERP-web/src/assets/less/common.less b/jshERP-web/src/assets/less/common.less index e781e273..835e2948 100644 --- a/jshERP-web/src/assets/less/common.less +++ b/jshERP-web/src/assets/less/common.less @@ -17,10 +17,12 @@ padding-top: 15px; padding-bottom: 15px; } -/*列表页面弹出modal*/ -.ant-modal-cust-warp { +.depot-mask { margin-top: 93px; margin-left: 154px; +} +/*列表页面弹出modal*/ +.ant-modal-cust-warp { height: 100% } /*弹出modal Y轴滚动条*/ @@ -44,33 +46,6 @@ height: calc(100% - 200px) !important; overflow-y: auto } -/*商品-列表页面弹出modal*/ -.ant-modal-material-warp { - margin-top: 93px; - margin-left: 154px; - height: 100% -} -/*商品-弹出modal Y轴滚动条*/ -.ant-modal-material-warp .ant-modal-body { - padding: 12px 24px 12px 24px; - height: calc(100% - 110px) !important; - overflow-y: auto -} -/*商品-弹出modal 先有content后有body 故滚动条控制在body上*/ -.ant-modal-material-warp .ant-modal-content { - height: 90%; - overflow-y: hidden -} -/*商品-文本框样式*/ -.ant-modal-material-warp .ant-form-item { - margin-bottom: 12px; -} -/*全屏模式*/ -.ant-modal-material-warp .fullscreen .ant-modal-body { - padding: 24px 24px 12px 24px; - height: calc(100% - 200px) !important; - overflow-y: auto -} /*列表中有图片的加这个样式 参考用户管理*/ .anty-img-wrap { height: 25px; diff --git a/jshERP-web/src/components/jeecg/JModal/index.vue b/jshERP-web/src/components/jeecg/JModal/index.vue index 3a667ec7..255eb94e 100644 --- a/jshERP-web/src/components/jeecg/JModal/index.vue +++ b/jshERP-web/src/components/jeecg/JModal/index.vue @@ -5,8 +5,11 @@ :class="getClass(modalClass)" :style="getStyle(modalStyle)" :visible="visible" - :maskStyle="{'top':'93px','left':'154px'}" :getContainer="() => $refs.container" + :maskStyle="{'top':'93px','left':'154px'}" + :wrapClassName="wrapClassNameInfo()" + :mask="isDesktop()" + :maskClosable="false" v-bind="_attrs" v-on="$listeners" @ok="handleOk" @@ -49,10 +52,12 @@ import { getClass, getStyle } from '@/utils/props-util' import { triggerWindowResizeEvent, handleIntroJs } from "@/utils/util" + import {mixinDevice} from '@/utils/mixin' import Vue from 'vue' export default { name: 'JModal', + mixins: [mixinDevice], props: { title: String, // 可使用 .sync 修饰符 diff --git a/jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue b/jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue index 882de209..b647b5a3 100644 --- a/jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue +++ b/jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue @@ -3,11 +3,11 @@ :width="modalWidth" :visible="visible" :title="title" + :wrapClassName="wrapClassNameInfo()" @ok="handleSubmit" @cancel="close" cancelText="关闭" style="top:5%;height: 90%;overflow-y: hidden" - wrapClassName="ant-modal-cust-warp" > @@ -113,11 +113,12 @@ import {filterObj, getMpListShort} from '@/utils/util' import {getMaterialBySelect, queryMaterialCategoryTreeList} from '@/api/api' import { JeecgListMixin } from '@/mixins/JeecgListMixin' + import {mixinDevice} from '@/utils/mixin' import Vue from 'vue' export default { name: 'JSelectMaterialModal', - mixins:[JeecgListMixin], + mixins:[JeecgListMixin, mixinDevice], components: { MaterialModal: () => import('@/views/material/modules/MaterialModal') }, diff --git a/jshERP-web/src/components/tools/ImportFileModal.vue b/jshERP-web/src/components/tools/ImportFileModal.vue index 15f310f4..918f8786 100644 --- a/jshERP-web/src/components/tools/ImportFileModal.vue +++ b/jshERP-web/src/components/tools/ImportFileModal.vue @@ -7,10 +7,11 @@ :confirm-loading="confirmLoading" :getContainer="() => $refs.container" :maskStyle="{'top':'93px','left':'154px'}" + :wrapClassName="wrapClassNameInfo()" + :mask="isDesktop()" :maskClosable="false" @cancel="handleCancel" - wrapClassName="ant-modal-cust-warp" - style="top:20%;height: 45%;overflow-y: hidden"> + style="top:20%;height: 45%;"> @@ -39,9 +40,10 @@