调整页面布局(继续优化)

This commit is contained in:
季圣华
2022-12-11 23:41:11 +08:00
parent f163150761
commit 256282c21a
45 changed files with 90 additions and 78 deletions

View File

@@ -5,7 +5,7 @@
:width="1300"
:visible="visible"
:getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}"
:maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false"
@ok="handleOk"
@cancel="handleCancel"

View File

@@ -6,9 +6,9 @@
:maskClosable="false"
:keyboard="false"
:forceRender="true"
:style="modalStyle"
@cancel="handleCancel"
wrapClassName="ant-modal-cust-warp"
style="top:5%;height: 100%;overflow-y: hidden">
wrapClassName="ant-modal-cust-warp">
<template slot="footer">
<!--此处为解决缓存问题-->
<a-button v-if="financialType === '收预付款'" v-print="'#advanceInPrint'" ghost type="primary">打印</a-button>
@@ -410,6 +410,7 @@
title: "详情",
width: '1600px',
visible: false,
modalStyle: '',
model: {},
isCanBackCheck: true,
financialType: '',
@@ -478,8 +479,9 @@
this.financialType = type
//附件下载
this.fileList = record.fileName
this.visible = true;
this.model = Object.assign({}, record);
this.visible = true
this.modalStyle = 'top:20px;height: 95%;'
this.model = Object.assign({}, record)
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model,'id'))
});
@@ -525,8 +527,9 @@
this.close()
},
close() {
this.$emit('close');
this.visible = false;
this.$emit('close')
this.visible = false
this.modalStyle = ''
},
}
}