|
@@ -64,22 +64,20 @@
|
|
</a-card>
|
|
</a-card>
|
|
<a-card class="receiptPrint-body" size="small" :bordered="false">
|
|
<a-card class="receiptPrint-body" size="small" :bordered="false">
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
<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>
|
|
</div>
|
|
<!-- 列表 -->
|
|
<!-- 列表 -->
|
|
<s-table
|
|
<s-table
|
|
@@ -450,7 +448,7 @@ export default {
|
|
},
|
|
},
|
|
setTableH () {
|
|
setTableH () {
|
|
const tableSearchH = this.$refs.tableSearch.offsetHeight
|
|
const tableSearchH = this.$refs.tableSearch.offsetHeight
|
|
- this.tableHeight = window.innerHeight - tableSearchH - 258
|
|
|
|
|
|
+ this.tableHeight = window.innerHeight - tableSearchH - 295
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -488,7 +486,7 @@ export default {
|
|
}
|
|
}
|
|
.receiptPrint-body{
|
|
.receiptPrint-body{
|
|
.ant-card-body{
|
|
.ant-card-body{
|
|
- padding-top:5px;
|
|
|
|
|
|
+ padding-top:0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|