lilei 1 年之前
父节点
当前提交
3745395928
共有 1 个文件被更改,包括 16 次插入18 次删除
  1. 16 18
      src/views/salesManagement/receiptPrint/list.vue

+ 16 - 18
src/views/salesManagement/receiptPrint/list.vue

@@ -64,22 +64,20 @@
     </a-card>
     <a-card class="receiptPrint-body" size="small" :bordered="false">
       <a-spin :spinning="spinning" tip="Loading...">
-        <div class="flex-center" style="justify-content: space-between;">
-          <div style="flex-grow:1;">
-            <a-tabs v-model="currentTab" @change="changeTab">
-              <a-tab-pane :key="1" tab="全部">
-              </a-tab-pane>
-              <a-tab-pane :key="2" tab="待打印">
-              </a-tab-pane>
-            </a-tabs>
-          </div>
-          <!-- 操作按钮 -->
-          <div class="table-operator" v-if="$hasPermissions('B_SkPrint')">
-            <span style="margin:0 10px">
-              <template v-if="rowSelectionInfo && rowSelectionInfo.selectedRowKeys.length>0">{{ `已选 ${rowSelectionInfo.selectedRowKeys.length} 项` }}</template>
-            </span>
-            <a-button type="primary" :loading="spinning" @click="handlePlPrint()">批量打印</a-button>
-          </div>
+        <div>
+          <a-tabs v-model="currentTab" @change="changeTab">
+            <a-tab-pane :key="1" tab="全部">
+            </a-tab-pane>
+            <a-tab-pane :key="2" tab="待打印">
+            </a-tab-pane>
+          </a-tabs>
+        </div>
+        <!-- 操作按钮 -->
+        <div class="table-operator" v-if="$hasPermissions('B_SkPrint')">
+          <a-button type="primary" ghost :loading="spinning" @click="handlePlPrint()">批量打印</a-button>
+          <span style="margin:0 10px">
+            <template v-if="rowSelectionInfo && rowSelectionInfo.selectedRowKeys.length>0">{{ `已选 ${rowSelectionInfo.selectedRowKeys.length} 项` }}</template>
+          </span>
         </div>
         <!-- 列表 -->
         <s-table
@@ -450,7 +448,7 @@ export default {
     },
     setTableH () {
       const tableSearchH = this.$refs.tableSearch.offsetHeight
-      this.tableHeight = window.innerHeight - tableSearchH - 258
+      this.tableHeight = window.innerHeight - tableSearchH - 295
     }
   },
   watch: {
@@ -488,7 +486,7 @@ export default {
     }
     .receiptPrint-body{
       .ant-card-body{
-        padding-top:5px;
+        padding-top:0;
       }
     }
   }