style:打印设置
Showing
2 changed files
with
4 additions
and
3 deletions
| ... | @@ -51,7 +51,7 @@ | ... | @@ -51,7 +51,7 @@ |
| 51 | <el-col :span="12" class="btnColRight"> | 51 | <el-col :span="12" class="btnColRight"> |
| 52 | <el-form-item> | 52 | <el-form-item> |
| 53 | <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> | 53 | <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> |
| 54 | <el-button @click="moreQueryClick()">高级查询</el-button> | 54 | <!-- <el-button @click="moreQueryClick()">高级查询</el-button> --> |
| 55 | </el-form-item> | 55 | </el-form-item> |
| 56 | </el-col> | 56 | </el-col> |
| 57 | </el-row> | 57 | </el-row> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-08-29 09:50:32 | 4 | * @LastEditTime: 2023-08-29 14:13:09 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <el-form ref="ruleForm" :model="ruleForm" label-width="100px" :rules="rules"> | 7 | <el-form ref="ruleForm" :model="ruleForm" label-width="100px" :rules="rules"> |
| ... | @@ -193,7 +193,8 @@ | ... | @@ -193,7 +193,8 @@ |
| 193 | }, 1000); | 193 | }, 1000); |
| 194 | }; | 194 | }; |
| 195 | if (['zsdy', 'zmdy'].includes(that.ruleForm.tmpno)) { | 195 | if (['zsdy', 'zmdy'].includes(that.ruleForm.tmpno)) { |
| 196 | LODOP.SET_PRINT_MODE("RESELECT_ORIENT", true); // 设置为横向打印 | 196 | LODOP.SET_PRINT_PAGESIZE(2, 0, 0, "B4"); |
| 197 | // LODOP.SET_PRINT_MODE("RESELECT_ORIENT", true); // 手动设置方向 | ||
| 197 | } | 198 | } |
| 198 | LODOP.PRINT_DESIGN(); //打印设计或者打印维护需要放到最后 | 199 | LODOP.PRINT_DESIGN(); //打印设计或者打印维护需要放到最后 |
| 199 | } | 200 | } | ... | ... |
-
Please register or sign in to post a comment