Kaynağa Gözat

成本分配表-打印标题

jbb 1 yıl önce
ebeveyn
işleme
790f8ed8f3

+ 5 - 0
src/views/reportForms/cost-allocation-table.vue

@@ -1,6 +1,7 @@
 <template>
   <!--报表 成本分配表 (保存后数据到单证的成本分配汇总内)-->
   <div id="costAllocationTable">
+    <h1 class="title">成本分配表</h1>
     <a-spin :spinning="loading">
     <a-card :bordered="false">
       <!-- 主表信息 点击搜索后 回显--->
@@ -941,6 +942,7 @@ export default {
          +'.ant-table-row-cell-break-word{width:5% !important}'
          + 'th{color: #333}\n'
          + 'a{color: #666; text-decoration:none;}\n'
+         +'.title{text-align: center;}'
          + '</style>';
          win.document.write(style+html);
          win.focus();
@@ -1101,4 +1103,7 @@ export default {
 .taxrate{
   width: 40%;
 }
+.title{
+  display: none;
+}
 </style>