Browse Source

面损表-打印标题

jbb 2 years ago
parent
commit
686fdd6a9b
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/views/reportForms/fabric-loss-table.vue

+ 9 - 0
src/views/reportForms/fabric-loss-table.vue

@@ -3,6 +3,7 @@
   <div id="fabricLossTable" >
     <div >
     <!-- 主要信息 点击搜索后 全部回显-->
+    <h1 class="title">面料损耗表</h1>
     <a-card title="主要信息" >
       <a-row :gutter="24" >
         <div class="table-page-search-wrapper" >
@@ -796,6 +797,7 @@ export default {
          +'.costInvoice-fabric-table{margin: 15px 0px !important;}'
          +'.costInvoice-ingredient-table{margin: 15px 0px !important;}'
          +'.note-one{ margin-top: 15px;}'
+         +'.title{text-align: center;}'
          + '</style>';
          win.document.write(style+html);
          win.focus();
@@ -870,6 +872,10 @@ export default {
         this.fabricLoss.fabricCostInvoiceList.pop()
         this.fabricLoss.fabricCostClothList.pop()
         this.fabricLoss.fabricAccidentList.pop()
+        this.fabricLoss.fabricCostClothesList.pop()
+        this.fabricLoss.fabricCostAssistList.pop()
+        
+        debugger
       }
        //计算成本发票合计
          var imoney = 0,
@@ -1459,4 +1465,7 @@ export default {
 /deep/ .ant-table .ant-table-row-indent + .ant-table-row-expand-icon{
   display: none !important;
 }
+.title{
+  display: none;
+}
 </style>