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

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

@@ -6,7 +6,7 @@
:visible="visible"
:confirmLoading="confirmLoading"
: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:20px;height: 95%;overflow-y: hidden">
wrapClassName="ant-modal-cust-warp">
<template slot="footer">
<a-button v-if="billPrintFlag" @click="handlePrint">三联打印预览</a-button>
<!--此处为解决缓存问题-->
@@ -1019,6 +1019,7 @@
title: "详情",
width: '1600px',
visible: false,
modalStyle: '',
model: {},
isCanBackCheck: true,
billType: '',
@@ -1456,8 +1457,9 @@
this.billType = 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)
if(this.model.backAmount) {
this.model.getAmount = (this.model.changeAmount + this.model.backAmount).toFixed(2)
} else {
@@ -1523,8 +1525,9 @@
this.close()
},
close() {
this.$emit('close');
this.visible = false;
this.$emit('close')
this.visible = false
this.modalStyle = ''
},
myHandleDetail(billNumber) {
findBillDetailByNumber({ number: billNumber }).then((res) => {

View File

@@ -5,12 +5,12 @@
:width="width"
:visible="visible"
:getContainer="() => $refs.container"
:maskStyle="{'top':'101px','left':'151px'}"
:maskStyle="{'top':'89px','left':'151px'}"
:maskClosable="false"
:style="modalStyle"
@cancel="handleCancel"
cancelText="关闭"
wrapClassName="ant-modal-cust-warp"
style="top:20px;height: 95%;overflow-y: hidden">
wrapClassName="ant-modal-cust-warp">
<template slot="footer">
<a-button key="back" @click="handleCancel">取消</a-button>
</template>
@@ -41,6 +41,7 @@
title: "三联打印预览",
width: '1000px',
visible: false,
modalStyle: '',
billPrintUrl: '',
height: "",
model: {},
@@ -54,8 +55,9 @@
show(record, billPrintUrl, billPrintHeight) {
this.height = billPrintHeight
this.billPrintUrl = billPrintUrl
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'))
});
@@ -65,8 +67,9 @@
},
close() {
this.billPrintUrl = ''
this.$emit('close');
this.visible = false;
this.$emit('close')
this.visible = false
this.modalStyle = ''
}
}
}

View File

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

View File

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

View File

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