| | |
| | | </el-row> |
| | | </span> |
| | | </el-dialog> |
| | | <div class="el-dialog__body" style="overflow-y: auto;position: fixed;top:60px;right: 20px;z-index: 9999;"> |
| | | <div class="el-dialog__body" style="overflow-y: auto;position: fixed;top:60px;right: 20px;z-index: 9999;display: none;"> |
| | | <div id="printMOrder" class="printMOrder" ref="printMOrder"> |
| | | <el-card class="box-card" v-for="(item, i) in checkDataList" :key="i+'uuuuu'" style="font-size: 16px !important;page-break-after: always;color: #000;box-shadow: none;margin: 0 !important;padding: 0 !important;"> |
| | | <div> |
| | |
| | | targetStyles: ["*"], // 使用dom的所有样式,很重要 |
| | | printable: 'printMOrder',//页面 |
| | | type: "html",//文档类型 |
| | | maxWidth:360, |
| | | maxWidth:720, |
| | | header: '', |
| | | style: |
| | | `@page { |
| | |
| | | margin-top: 0.4cm; |
| | | margin-bottom: 0.4cm; |
| | | padding-bottom: 0px; |
| | | size: 400px 75px collapse; |
| | | size: 800px 600px collapse; |
| | | } |
| | | html{ |
| | | zoom:100%; |
| | | |
| | | } |
| | | @media print{ |
| | | width: 400px; |
| | | height: 75px; |
| | | width: 800px; |
| | | height: 600px; |
| | | margin:0; |
| | | }`, |
| | | font_size: '0.29cm', |
| | | font_size: '16px', |
| | | }); |
| | | }, |
| | | async print(){ |