Browse Source

分页套打

xiongchao 3 years ago
parent
commit
2a7d15584a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/sb/info/modules/PrintInSbInfoBatch.vue

+ 2 - 1
src/views/sb/info/modules/PrintInSbInfoBatch.vue

@@ -54,7 +54,7 @@
       </a-col>
     </a-row>
     <div class="container" :style="labelWidthProgress" id="print-container-batch">
-      <table class="gridtable list" :style="labelContentWidthProgress" v-for="record in sbInfoList" :key="record.id">
+      <table class="gridtable list" :style="labelContentWidthProgress" :id="'printDiv' + record.id" v-for="record in sbInfoList" :key="record.id">
         <tbody>
           <tr>
             <td class="text-center">名称</td>
@@ -225,6 +225,7 @@ table.gridtable {
   border-width: 1px;
   border-color: #666666;
   border-collapse: collapse;
+  page-break-after: always;
 }
 
 table.gridtable th {