调整页面布局(继续优化)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
@@ -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 = ''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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="关闭"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user