Commit 71968259 authored by 季圣华's avatar 季圣华
Browse files

调整样式,兼容手机浏览器页面

parent 05426bf2
...@@ -4,13 +4,11 @@ ...@@ -4,13 +4,11 @@
:width="width" :width="width"
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:maskClosable="false"
:keyboard="false" :keyboard="false"
:forceRender="true" :forceRender="true"
switchFullscreen switchFullscreen
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" style="top:20px;height: 95%;">
style="top:20px;height: 95%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button @click="handleCancel">取消</a-button> <a-button @click="handleCancel">取消</a-button>
<a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button> <a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
......
...@@ -4,16 +4,14 @@ ...@@ -4,16 +4,14 @@
:width="width" :width="width"
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:maskClosable="false"
:keyboard="false" :keyboard="false"
:forceRender="true" :forceRender="true"
v-bind:prefixNo="prefixNo" v-bind:prefixNo="prefixNo"
switchHelp switchHelp
switchFullscreen switchFullscreen
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp"
:id="prefixNo" :id="prefixNo"
style="top:20px;height: 95%;overflow-y: hidden"> style="top:20px;height: 95%;">
<template slot="footer"> <template slot="footer">
<a-button @click="handleCancel">取消</a-button> <a-button @click="handleCancel">取消</a-button>
<a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button> <a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
......
...@@ -4,13 +4,11 @@ ...@@ -4,13 +4,11 @@
:width="width" :width="width"
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:maskClosable="false"
:keyboard="false" :keyboard="false"
:forceRender="true" :forceRender="true"
switchFullscreen switchFullscreen
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" style="top:20px;height: 95%;">
style="top:20px;height: 95%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button @click="handleCancel">取消</a-button> <a-button @click="handleCancel">取消</a-button>
<a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button> <a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
......
...@@ -4,16 +4,14 @@ ...@@ -4,16 +4,14 @@
:width="width" :width="width"
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:maskClosable="false"
:keyboard="false" :keyboard="false"
:forceRender="true" :forceRender="true"
v-bind:prefixNo="prefixNo" v-bind:prefixNo="prefixNo"
switchHelp switchHelp
switchFullscreen switchFullscreen
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp"
:id="prefixNo" :id="prefixNo"
style="top:20px;height: 95%;overflow-y: hidden"> style="top:20px;height: 95%;">
<template slot="footer"> <template slot="footer">
<a-button @click="handleCancel">取消</a-button> <a-button @click="handleCancel">取消</a-button>
<a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button> <a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
......
...@@ -4,16 +4,14 @@ ...@@ -4,16 +4,14 @@
:width="width" :width="width"
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:maskClosable="false"
:keyboard="false" :keyboard="false"
:forceRender="true" :forceRender="true"
v-bind:prefixNo="prefixNo" v-bind:prefixNo="prefixNo"
switchHelp switchHelp
switchFullscreen switchFullscreen
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp"
:id="prefixNo" :id="prefixNo"
style="top:20px;height: 95%;overflow-y: hidden"> style="top:20px;height: 95%;">
<template slot="footer"> <template slot="footer">
<a-button @click="handleCancel">取消</a-button> <a-button @click="handleCancel">取消</a-button>
<a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button> <a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
......
...@@ -6,12 +6,13 @@ ...@@ -6,12 +6,13 @@
:visible="visible" :visible="visible"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'93px','left':'154px'}" :maskStyle="{'top':'93px','left':'154px'}"
:wrapClassName="wrapClassNameInfo()"
:mask="isDesktop()"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" style="top:20px;height: 95%;">
style="top:20px;height: 95%;overflow-y: hidden">
<!-- 查询区域 --> <!-- 查询区域 -->
<div class="table-page-search-wrapper"> <div class="table-page-search-wrapper">
<!-- 搜索区域 --> <!-- 搜索区域 -->
...@@ -81,11 +82,12 @@ ...@@ -81,11 +82,12 @@
<script> <script>
import BillDetail from '../../bill/dialog/BillDetail' import BillDetail from '../../bill/dialog/BillDetail'
import { JeecgListMixin } from '@/mixins/JeecgListMixin' import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import {mixinDevice} from '@/utils/mixin'
import { findBillDetailByNumber } from '@/api/api' import { findBillDetailByNumber } from '@/api/api'
import Vue from 'vue' import Vue from 'vue'
export default { export default {
name: 'DebtBillList', name: 'DebtBillList',
mixins:[JeecgListMixin], mixins:[JeecgListMixin, mixinDevice],
components: { components: {
BillDetail BillDetail
}, },
......
...@@ -4,13 +4,11 @@ ...@@ -4,13 +4,11 @@
:width="width" :width="width"
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:maskClosable="false"
:keyboard="false" :keyboard="false"
:forceRender="true" :forceRender="true"
switchFullscreen switchFullscreen
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" style="top:20px;height: 95%;">
style="top:20px;height: 95%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button @click="handleCancel">取消</a-button> <a-button @click="handleCancel">取消</a-button>
<a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button> <a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
......
...@@ -4,13 +4,11 @@ ...@@ -4,13 +4,11 @@
:width="width" :width="width"
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:maskClosable="false"
:keyboard="false" :keyboard="false"
:forceRender="true" :forceRender="true"
switchFullscreen switchFullscreen
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" style="top:20px;height: 95%;">
style="top:20px;height: 95%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button @click="handleCancel">取消</a-button> <a-button @click="handleCancel">取消</a-button>
<a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button> <a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
......
...@@ -4,13 +4,11 @@ ...@@ -4,13 +4,11 @@
:width="width" :width="width"
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:maskClosable="false"
:keyboard="false" :keyboard="false"
:forceRender="true" :forceRender="true"
switchFullscreen switchFullscreen
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" style="top:20px;height: 95%;">
style="top:20px;height: 95%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button @click="handleCancel">取消</a-button> <a-button @click="handleCancel">取消</a-button>
<a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button> <a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
......
...@@ -4,13 +4,11 @@ ...@@ -4,13 +4,11 @@
:width="width" :width="width"
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:maskClosable="false"
:keyboard="false" :keyboard="false"
:forceRender="true" :forceRender="true"
switchFullscreen switchFullscreen
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" style="top:20px;height: 95%;">
style="top:20px;height: 95%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button @click="handleCancel">取消</a-button> <a-button @click="handleCancel">取消</a-button>
<a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button> <a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
......
...@@ -4,13 +4,11 @@ ...@@ -4,13 +4,11 @@
:width="width" :width="width"
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:maskClosable="false"
:keyboard="false" :keyboard="false"
:forceRender="true" :forceRender="true"
switchFullscreen switchFullscreen
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" style="top:20px;height: 95%;">
style="top:20px;height: 95%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button @click="handleCancel">取消</a-button> <a-button @click="handleCancel">取消</a-button>
<a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button> <a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
......
...@@ -4,13 +4,11 @@ ...@@ -4,13 +4,11 @@
:width="width" :width="width"
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:maskClosable="false"
:keyboard="false" :keyboard="false"
:forceRender="true" :forceRender="true"
switchFullscreen switchFullscreen
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" style="top:20px;height: 95%;">
style="top:20px;height: 95%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button @click="handleCancel">取消</a-button> <a-button @click="handleCancel">取消</a-button>
<a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button> <a-button v-if="isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
......
...@@ -7,11 +7,12 @@ ...@@ -7,11 +7,12 @@
:confirm-loading="confirmLoading" :confirm-loading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'93px','left':'154px'}" :maskStyle="{'top':'93px','left':'154px'}"
:wrapClassName="wrapClassNameInfo()"
:mask="isDesktop()"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" style="top:20%;height: 45%;">
style="top:20%;height: 45%;overflow-y: hidden">
<a-spin :spinning="confirmLoading"> <a-spin :spinning="confirmLoading">
<a-form :form="form"> <a-form :form="form">
<a-row class="form-row" :gutter="24"> <a-row class="form-row" :gutter="24">
...@@ -67,8 +68,10 @@ ...@@ -67,8 +68,10 @@
<script> <script>
import {queryMaterialCategoryTreeList, batchUpdateMaterial} from '@/api/api' import {queryMaterialCategoryTreeList, batchUpdateMaterial} from '@/api/api'
import {mixinDevice} from '@/utils/mixin'
export default { export default {
name: 'BatchSetInfoModal', name: 'BatchSetInfoModal',
mixins: [mixinDevice],
data () { data () {
return { return {
title:"批量编辑", title:"批量编辑",
......
...@@ -7,12 +7,13 @@ ...@@ -7,12 +7,13 @@
:confirm-loading="confirmLoading" :confirm-loading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'93px','left':'154px'}" :maskStyle="{'top':'93px','left':'154px'}"
:wrapClassName="wrapClassNameInfo()"
:mask="isDesktop()"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" style="top:30%;height: 30%;">
style="top:30%;height: 30%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel"> <a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭 关闭
...@@ -30,8 +31,10 @@ ...@@ -30,8 +31,10 @@
</template> </template>
<script> <script>
import {mixinDevice} from '@/utils/mixin'
export default { export default {
name: 'BatchSetPriceModal', name: 'BatchSetPriceModal',
mixins: [mixinDevice],
data () { data () {
return { return {
title:"批量设置", title:"批量设置",
......
...@@ -7,12 +7,13 @@ ...@@ -7,12 +7,13 @@
:confirm-loading="confirmLoading" :confirm-loading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'93px','left':'154px'}" :maskStyle="{'top':'93px','left':'154px'}"
:wrapClassName="wrapClassNameInfo()"
:mask="isDesktop()"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" style="top:30%;height: 30%;">
style="top:30%;height: 30%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel"> <a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭 关闭
...@@ -30,8 +31,10 @@ ...@@ -30,8 +31,10 @@
</template> </template>
<script> <script>
import {mixinDevice} from '@/utils/mixin'
export default { export default {
name: 'BatchSetStockModal', name: 'BatchSetStockModal',
mixins: [mixinDevice],
data () { data () {
return { return {
title:"批量设置", title:"批量设置",
......
...@@ -7,12 +7,13 @@ ...@@ -7,12 +7,13 @@
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'93px','left':'154px'}" :maskStyle="{'top':'93px','left':'154px'}"
:wrapClassName="wrapClassNameInfo()"
:mask="isDesktop()"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" style="top:100px;height: 50%;">
style="top:100px;height: 50%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" v-if="isReadOnly" @click="handleCancel"> <a-button key="back" v-if="isReadOnly" @click="handleCancel">
关闭 关闭
...@@ -36,8 +37,10 @@ ...@@ -36,8 +37,10 @@
<script> <script>
import pick from 'lodash.pick' import pick from 'lodash.pick'
import {addMaterialAttribute,editMaterialAttribute,checkMaterialAttribute } from '@/api/api' import {addMaterialAttribute,editMaterialAttribute,checkMaterialAttribute } from '@/api/api'
import {mixinDevice} from '@/utils/mixin'
export default { export default {
name: "MaterialAttributeModal", name: "MaterialAttributeModal",
mixins: [mixinDevice],
data () { data () {
return { return {
title:"操作", title:"操作",
......
...@@ -9,11 +9,12 @@ ...@@ -9,11 +9,12 @@
:okButtonProps="{ props: {disabled: disableSubmit} }" :okButtonProps="{ props: {disabled: disableSubmit} }"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'93px','left':'154px'}" :maskStyle="{'top':'93px','left':'154px'}"
:wrapClassName="wrapClassNameInfo()"
:mask="isDesktop()"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
wrapClassName="ant-modal-cust-warp" style="top:100px;height: 50%;"
style="top:100px;height: 50%;overflow-y: hidden"
cancelText="关闭"> cancelText="关闭">
<a-spin :spinning="confirmLoading"> <a-spin :spinning="confirmLoading">
<a-form :form="form"> <a-form :form="form">
...@@ -43,11 +44,13 @@ ...@@ -43,11 +44,13 @@
<script> <script>
import { httpAction } from '@/api/manage' import { httpAction } from '@/api/manage'
import {mixinDevice} from '@/utils/mixin'
import { queryMaterialCategoryTreeList, checkMaterialCategory } from '@/api/api' import { queryMaterialCategoryTreeList, checkMaterialCategory } from '@/api/api'
import pick from 'lodash.pick' import pick from 'lodash.pick'
import ATextarea from 'ant-design-vue/es/input/TextArea' import ATextarea from 'ant-design-vue/es/input/TextArea'
export default { export default {
name: "MaterialCategoryModal", name: "MaterialCategoryModal",
mixins: [mixinDevice],
components: { ATextarea }, components: { ATextarea },
data () { data () {
return { return {
......
...@@ -4,14 +4,12 @@ ...@@ -4,14 +4,12 @@
:width="width" :width="width"
:visible="visible" :visible="visible"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:maskClosable="false"
v-bind:prefixNo="prefixNo" v-bind:prefixNo="prefixNo"
switchHelp switchHelp
switchFullscreen switchFullscreen
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-material-warp"
:id="prefixNo" :id="prefixNo"
:style="modalStyle"> :style="modalStyle">
<template slot="footer"> <template slot="footer">
......
...@@ -7,12 +7,13 @@ ...@@ -7,12 +7,13 @@
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'93px','left':'154px'}" :maskStyle="{'top':'93px','left':'154px'}"
:wrapClassName="wrapClassNameInfo()"
:mask="isDesktop()"
:maskClosable="false" :maskClosable="false"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" style="top:10%;height: 70%;">
style="top:10%;height: 70%;overflow-y: hidden">
<a-spin :spinning="confirmLoading"> <a-spin :spinning="confirmLoading">
<a-form :form="form"> <a-form :form="form">
<a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="名称"> <a-form-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="名称">
...@@ -34,9 +35,11 @@ ...@@ -34,9 +35,11 @@
</template> </template>
<script> <script>
import pick from 'lodash.pick' import pick from 'lodash.pick'
import {mixinDevice} from '@/utils/mixin'
import {editMaterialProperty } from '@/api/api' import {editMaterialProperty } from '@/api/api'
export default { export default {
name: "MaterialPropertyModal", name: "MaterialPropertyModal",
mixins: [mixinDevice],
data () { data () {
return { return {
title:"操作", title:"操作",
......
...@@ -6,11 +6,12 @@ ...@@ -6,11 +6,12 @@
:visible="visible" :visible="visible"
:getContainer="() => $refs.container" :getContainer="() => $refs.container"
:maskStyle="{'top':'93px','left':'154px'}" :maskStyle="{'top':'93px','left':'154px'}"
:wrapClassName="wrapClassNameInfo()"
:mask="isDesktop()"
:maskClosable="false" :maskClosable="false"
@cancel="handleCancel" @cancel="handleCancel"
cancelText="关闭" cancelText="关闭"
wrapClassName="ant-modal-cust-warp" style="top:20px;height: 95%;">
style="top:20px;height: 95%;overflow-y: hidden">
<template slot="footer"> <template slot="footer">
<a-button key="back" @click="handleCancel">取消</a-button> <a-button key="back" @click="handleCancel">取消</a-button>
</template> </template>
...@@ -40,11 +41,12 @@ ...@@ -40,11 +41,12 @@
import BillDetail from '../../bill/dialog/BillDetail' import BillDetail from '../../bill/dialog/BillDetail'
import FinancialDetail from '../../financial/dialog/FinancialDetail' import FinancialDetail from '../../financial/dialog/FinancialDetail'
import { JeecgListMixin } from '@/mixins/JeecgListMixin' import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import {mixinDevice} from '@/utils/mixin'
import JEllipsis from '@/components/jeecg/JEllipsis' import JEllipsis from '@/components/jeecg/JEllipsis'
import {findBillDetailByNumber, findFinancialDetailByNumber} from '@/api/api' import {findBillDetailByNumber, findFinancialDetailByNumber} from '@/api/api'
export default { export default {
name: "AccountInOutList", name: "AccountInOutList",
mixins:[JeecgListMixin], mixins:[JeecgListMixin, mixinDevice],
components: { components: {
BillDetail, BillDetail,
FinancialDetail, FinancialDetail,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment