Bläddra i källkod

fix:打单表头修改

zhangjingyuan 2 år sedan
förälder
incheckning
f53b009df4

+ 35 - 23
src/views/system/jbdScan/goods/chnangguirukudan.vue

@@ -3,7 +3,7 @@
     <!-- 常规列表页面打印入库单 -->
     <el-dialog
       width="900px"
-      height="12cm"
+      height="279mm"
       :modal-append-to-body="false"
       title="采购入库单"
       :visible.sync="scanVisible"
@@ -21,21 +21,36 @@
                 <div style="margin: 0px 0px 0px 27px;">
                   <table :border="1">                   
                     <thead >
-                      <tr class="title" style="background:#ffffff">
+                      <!-- <tr class="title" style="background:#ffffff">
                         <th colspan="15" style="">
                           <h1 style="display:block;line-height: 8px;font-size: 8px;">采购入库单</h1>
                         </th>
+                      </tr> -->
+
+                      <tr class="title" style="background:#ffffff">
+                        <th colspan="15" style="line-height: 12px !important;font-size: 6px !important;">
+                          <h1 style="display:block;line-height: 12px;font-size: 6px;">采购入库单</h1>
+                        </th>
                       </tr>
                       <tr class="title">
-                        <th colspan="15"  style="background:#ffffff;line-height:6px;padding: 4px 0px;">
+                        <th colspan="15"  style="background:#ffffff;line-height: 9px;">
                           <span style="float: left;">供应商: {{item1.gong_ying_shang_| gongyingshang(gongyingshangList)}}</span>  
                           <span style="margin-left: 6px;float: left;">申购部门: {{item1.shen_gou_bu_men_|bumenfilters(bumenList)}}</span>
                           <span style="margin-left: 6px;float: left;">采购单号:{{item1.cai_gou_ding_dan_}} </span>    
                           <span style="margin-left: 6px;float: left;">日期:{{item1.dao_huo_ri_qi_}}</span>           
                         </th>
                       </tr>
+                      <!-- <tr class="title" style="background:#ffffff;line-height: 9px;">
+                        <th colspan="15">
+                          <span style="float: left;: 1px;">
+                            领料部门:<span style="margin-left: 10px">{{item1.bu_men_ming_cheng}}</span>
+                          </span>
+                          <span style="float:right;padding-right: 8px;padding: 1px;">领料单号:{{  item1.ling_liao_chu_ku_ }}</span>
+                          <span style="float:right;padding-right: 8px;padding: 1px;width: 165px;">领料日期:{{ item1.ling_liao_ri_qi_}}</span>
+                        </th>
+                      </tr> -->
                       <tr >
-                        <th style="width: 40px; line-height: 22px;">序号</th>
+                        <th style="width: 40px; line-height: 22px">序号</th>
                         <th style="font-weight: normal">物料编码</th>
                         <th style="font-weight: normal">物料名称</th>
                         <th >货号</th>
@@ -54,13 +69,13 @@
                     </thead>
                     <tbody>
                       <tr v-for="(item, index) in item1" :key="index">
-                        <td style="width: 30px">{{ index + 1 }}</td>
+                        <td style="width: 20px">{{ index + 1 }}</td>
                         <td style="width: 70px">{{ item.wu_liao_bian_ma_ }}</td>
-                        <td style="width: 120px">{{ item.wu_liao_ming_chen }}</td>
+                        <td style="width: 80px">{{ item.wu_liao_ming_chen }}</td>
                         <td style="width: 60px">{{ item.huo_hao_ }}</td>
                         <td style="width: 60px">{{ item.pi_hao_ }}</td>
                         <td style="width: 80px">{{ item.gui_ge_xing_hao_ }}</td>
-                        <td style="width: 120px"> {{ item.gong_ying_shang_| gongyingshang(gongyingshangList) }} </td>
+                        <td style="width: 100px"> {{ item.gong_ying_shang_| gongyingshang(gongyingshangList) }} </td>
                         <td style="width: 45px">{{ item.shu_liang_ }}</td>
                         <td style="width: 45px">{{ item.dan_wei_ }}</td>
                         <td style="width: 60px">{{ item.dan_jia_han_shui_ |numToFixed}}</td>
@@ -71,13 +86,13 @@
                         <td style="width: 60px">{{ item.dan_jia_han_shui_|jineToFixed(item.shu_liang_) }}</td>
                       </tr>
                       <tr>
-                        <td style="width: 30px"></td>
+                        <td style="width: 20px"></td>
                         <td style="width: 70px"></td>
-                        <td style="width: 120px"></td>
+                        <td style="width: 80px"></td>
                         <td style="width: 60px"></td>
                         <td style="width: 60px"></td>
                         <td style="width: 80px"></td>
-                        <td style="width: 120px"></td>
+                        <td style="width: 100px"></td>
                         <td style="width: 45px"></td>
                         <td style="width: 45px"></td>
                         <td style="width: 60px"></td>
@@ -91,13 +106,13 @@
                     <tfoot class="bottom">
                       <tr>
                         <td colspan="5" style="text-align:left">
-                          <div style="float: left;margin-top:2px">仓管员:{{ item1.name2 }}</div>
+                          <div style="float: left;margin-top:5px">仓管员:{{ item1.name2 }}</div>
                         </td>
                         <td colspan="1" class="footer-row">
-                          <div style="margin: 0 auto;margin-top:2px" ref="innerRef"></div>
+                          <div style="margin: 0 auto;margin-top:5px" ref="innerRef"></div>
                         </td>
                         <td colspan="9" style="text-align:right">
-                          <div style="margin-top:2px;padding-right: 2px;">审核人:{{ item1.name3 }} </div>
+                          <div style="margin-top:5px;">审核人:{{ item1.name3 }} </div>
                         </td>
                       </tr>
                     </tfoot>
@@ -332,9 +347,6 @@ export default {
 <style lang="scss" scoped>
 .bottom {
   margin-top: 15px;
-  // display: flex;
-  // justify-content: space-between;
-  // align-items: center;
   font-size: 12px;
 }
 .bottom {
@@ -343,12 +355,7 @@ export default {
   border-left: 1px solid #fff;
   border-right: 1px solid #fff;
 }
-thead > tr > th {
-  font-size: 10px;
-  text-align: center;
-  font-weight: normal;
-  color: #01060c;
-}
+
 .title{
   border-top: 1px solid #fff;
   border-left: 1px solid #fff;
@@ -361,6 +368,12 @@ thead > tr > th {
 thead {
   background: #f3f3f3;
 }
+thead > tr > th {
+  font-size: 10px;
+  text-align: center;
+  font-weight: normal;
+  color: #01060c;
+}
 .el-dialog__body {
   color: #0d0e0f;
   font-size: 10px !important;
@@ -389,7 +402,6 @@ thead > tr > th > td {
   // border: 1px solid #000000;
   padding: 5px;
   display: flex;
-  display: flex;
   justify-content: space-between;
   background-color: #fff;
 }

+ 2 - 11
src/views/system/jbdScan/goods/lingliaodan.vue

@@ -21,8 +21,8 @@
                   <table :border="1">
                     <thead>
                       <tr class="title" style="background:#ffffff">
-                        <th colspan="15" style="line-height: 10px !important;font-size: 6px !important;">
-                          <h1 style="display:block;line-height: 10px;font-size: 6px;">领料单</h1>
+                        <th colspan="15" style="line-height: 12px !important;font-size: 6px !important;">
+                          <h1 style="display:block;line-height: 12px;font-size: 6px;">领料单</h1>
                         </th>
                       </tr>
                       <tr class="title" style="background:#ffffff;line-height: 9px;">
@@ -34,11 +34,6 @@
                           <span style="float:right;padding-right: 8px;padding: 1px;width: 165px;">领料日期:{{ item1.ling_liao_ri_qi_}}</span>
                         </th>
                       </tr>
-                      <!-- <tr class="title" style="background:#ffffff;line-height: 9px;">
-                        <th colspan="15">
-                          <span style="float:right;padding-right: 8px;">领料单编号:{{  item1.ling_liao_chu_ku_ }}</span>
-                        </th>
-                      </tr> -->
                       <tr>
                         <th style="width: 40px; line-height: 22px">序号</th>
                         <th style="font-weight: normal">物料编码</th>
@@ -308,9 +303,6 @@ export default {
 <style lang="scss" scoped>
 .bottom {
   margin-top: 15px;
-  // display: flex;
-  // justify-content: space-between;
-  // align-items: center;
   font-size: 12px;
 }
 .bottom {
@@ -359,7 +351,6 @@ thead > tr > th > td {
   // border: 1px solid #000000;
   padding: 5px;
   display: flex;
-  display: flex;
   justify-content: space-between;
   background-color: #fff;
 }

+ 4 - 17
src/views/system/jbdScan/wuliao/lingliaodan.vue

@@ -7,7 +7,7 @@
       title="领料单"
       :visible.sync="alertVisible "
     >
-      <!-- 表单是否显示 -->
+      <!-- 表单是否显示 列表页面打印-->
       <div style="height: 500px; width: 90%; margin: 0 auto">
         <div ref="qrcode" id="box">
           <vue-easy-print tableShow ref="easyPrint" :onePageRow="onePageRow">
@@ -21,10 +21,10 @@
                   <table :border="1">
                     <thead>
                       <tr class="title" style="background:#ffffff">
-                        <th colspan="15" style="line-height: 10px !important;font-size: 6px !important;">
-                          <h1 style="display:block;line-height: 10px;font-size: 6px;">领料单</h1>
+                        <th colspan="15" style="line-height: 12px !important;font-size: 6px !important;">
+                          <h1 style="display:block;line-height: 12px;font-size: 6px;">领料单</h1>
                         </th>
-                      </tr>
+                      </tr> 
                       <tr class="title" style="background:#ffffff;line-height: 9px;">
                         <th colspan="15">
                           <span style="float: left;">
@@ -34,19 +34,6 @@
                           <span style="float:left;padding-right: 8px;padding: 1px;width: 165px;margin-left: 10px">领料日期:{{ item1.ling_liao_ri_qi_}}</span>
                         </th>
                       </tr>
-                      <!-- <tr class="title" style="background:#ffffff">
-                        <th colspan="15">
-                          <span style="float: left;">
-                            领料部门:<span style="margin-left: 10px">{{item1.bu_men_ming_cheng}}</span>
-                          </span>
-                          <span style="float:right;padding-right: 8px;text-align: left;width: 165px;">领 料 日 期:{{ item1.ling_liao_ri_qi_}}</span>
-                        </th>
-                      </tr>
-                      <tr class="title" style="background:#ffffff">
-                        <th colspan="15">
-                          <span style="float:right;padding-right: 8px;">领料单编号:{{  item1.ling_liao_chu_ku_ }}</span>
-                        </th>
-                      </tr> -->
                       <tr>
                         <th style="width: 40px; line-height: 22px">序号</th>
                         <th style="font-weight: normal">物料编码</th>