| | |
| | | </el-table> |
| | | </div> --> |
| | | <div class="app-container"> |
| | | <el-row :gutter="24"> |
| | | <el-row :gutter="20"> |
| | | <!--部门数据--> |
| | | <el-col :span="4" :xs="24"> |
| | | <el-form :inline="true" ref="form" :model="form" class="demo-form-inline" label-width="78px" :rules="rules"> |
| | |
| | | if (res.code == 200) { |
| | | this.$modal.msgSuccess("收费成功"); |
| | | |
| | | this.receipt() |
| | | this.$nextTick(() => { |
| | | const style = |
| | | "@media print { @page{margin:0 10mm,size:4mm 6mm;}};"; //打印时去掉眉页眉尾 |
| | | printJS({ |
| | | printable: "printBill", // 标签元素id |
| | | noPrint: ".noPrint", |
| | | type: 'html', |
| | | header: "", |
| | | targetStyles: ["*"], |
| | | maxWidth: "800", |
| | | scanStyles: true, //打印必须加上,不然页面上的css样式无效 |
| | | style, |
| | | }); |
| | | }); |
| | | this.resetQuery() |
| | | this.handleUpdate() |
| | | this.getList() |