Przeglądaj źródła

fix:领料单,入库单

zhangjingyuan 2 lat temu
rodzic
commit
bdcc9b35eb

+ 0 - 26
src/views/system/jbdScan/goods/caigourukudan.vue

@@ -17,32 +17,6 @@
               style="margin-bottom: 30px;margin: 0px -10px 0px 5px;width: 85%;"
             >
               <div style="page-break-after: always;">
-                <!-- <div class="word-title">
-                  <h4>采购入库单</h4>
-                </div>
-                <div class="tagBox">
-                  <div>
-                    <div style="font-size: 10px">
-                      申购部门:<span style="margin-left: 10px">{{
-                        item1[0].shen_gou_bu_men_ | bumenfilters(bumenList)
-                      }}</span>
-                    </div>
-                    <div style="font-size: 10px">
-                      供应商:<span style="margin-left: 10px">{{
-                        item1[0].gong_ying_shang_| gongyingshang(gongyingshangList)
-                      }}</span>
-                    </div>
-                  </div>
-                  <div style="text-align: left;">
-                    <div style="font-size: 10px;padding-right: 20px;">
-                      采购订单编号:<span>
-                        {{ item1[0].cai_gou_ding_dan_ }}</span>
-                    </div>
-                    <div style="font-size: 10px;">
-                      日期:<span>{{item1[0].dao_ku_ri_qi_}}</span>
-                    </div>
-                  </div>
-                </div> -->
                 <div style="margin: 0px -2px 0px 40px;">
                   <table :border="1">
                     <thead>

+ 13 - 12
src/views/system/jbdScan/goods/chnangguirukudan.vue

@@ -9,25 +9,24 @@
       :visible.sync="scanVisible"
     >
       <!-- 表单是否显示 -->
-      <div style="height: 500px; width: 95%; margin: 0 auto">
+      <div style="height: 500px; width: 90%; margin: 0 auto">
         <div ref="qrcode" id="box">
           <vue-easy-print tableShow ref="easyPrint" :onePageRow="onePageRow">
             <div
               v-for="(item1, index1) in list"
               :key="index1"
-              style="margin-bottom: 30px;width: 85%;margin: 0px -10px 0px 5px;"
+              style="margin-bottom: 30px;width: 89%;margin: 0px 0px 0px 0px;"
             >
               <div style="page-break-after: always">
-                <div style="margin: 0px -2px 0px 40px;">
+                <div style="margin: 0px 0px 0px 27px;">
                   <table :border="1">                   
                     <thead >
-                      <tr class="title titlet" style="background:#ffffff;">
-                        <th colspan="15" >
-                          <!-- <h1>采购入库单</h1> -->
-                          <div style="line-height: 16px;font-size: 18px;font-weight: bold;">采购入库单</div>
+                      <tr class="title" style="background:#ffffff">
+                        <th colspan="15" style="line-height: 7px !important;font-size: 6px !important;">
+                          <h1 style="display:block;line-height: 7px;font-size: 6px;">领料单</h1>
                         </th>
                       </tr>
-                      <tr class="title" style="background:#ffffff">
+                      <tr class="title" style="background:#ffffff;line-height:8px;">
                         <th colspan="15">
                           <span style="float: left;">
                             申购部门:<span style="margin-left: 10px">{{item1.shen_gou_bu_men_|bumenfilters(bumenList)}}</span>
@@ -35,7 +34,7 @@
                           <span style="float:right;padding-right: 8px;width: 175px;text-align: left;">日期 :{{item1.dao_huo_ri_qi_}}</span>
                         </th>
                       </tr>
-                      <tr class="title" style="background:#ffffff">
+                      <tr class="title" style="background:#ffffff;line-height: 8px;">
                         <th colspan="15">
                           <span style="float:left;">供应商:<span style="margin-left: 10px">{{item1.gong_ying_shang_| gongyingshang(gongyingshangList)}}</span></span>
                           <span style="float:right;padding-right: 8px;">采购订单编号:{{item1.cai_gou_ding_dan_}} </span>
@@ -350,9 +349,11 @@ export default {
   border-left: 1px solid #fff;
   border-right: 1px solid #fff;
 }
-.titlet>th>div{
-  font-size: 18px;
-  // font-weight: bold;
+thead > tr > th {
+  font-size: 10px;
+  text-align: center;
+  font-weight: normal;
+  color: #01060c;
 }
 .title{
   border-top: 1px solid #fff;

+ 6 - 36
src/views/system/jbdScan/goods/lingliaodan.vue

@@ -14,18 +14,18 @@
             <div
               v-for="(item1, index1) in list"
               :key="index1"
-              style="margin-bottom: 30px;width: 85%;margin:0px -10px 0px 5px;"
+              style="margin-bottom: 30px;width: 89%;margin:0px 0px 0px 0px;"
             >
               <div style="page-break-after: always">
-                <div style="margin: 0px -2px 0px 40px;">
+                <div style="margin: 0px 0px 0px 27px;">
                   <table :border="1">
                     <thead>
                       <tr class="title" style="background:#ffffff">
-                        <th colspan="15">
-                          <h1 style="display:block">领料单</h1>
+                        <th colspan="15" style="line-height: 10px !important;font-size: 6px !important;">
+                          <h1 style="display:block;line-height: 10px;font-size: 6px;">领料单</h1>
                         </th>
                       </tr>
-                      <tr class="title" style="background:#ffffff">
+                      <tr class="title" style="background:#ffffff;line-height: 9px;">
                         <th colspan="15">
                           <span style="float: left;">
                             领料部门:<span style="margin-left: 10px">{{item1.bu_men_ming_cheng}}</span>
@@ -33,36 +33,11 @@
                           <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">
+                      <tr class="title" style="background:#ffffff;line-height: 9px;">
                         <th colspan="15">
-                          <!-- <span style="float:left;">供应商:<span style="margin-left: 10px">{{item1.gong_ying_shang_| gongyingshang(gongyingshangList)}}</span></span> -->
                           <span style="float:right;padding-right: 8px;">领料单编号:{{  item1.ling_liao_chu_ku_ }}</span>
                         </th>
                       </tr>
-                      <!-- <tr class="title">
-                        <th colspan="15">
-                          <div class="word-title" style="background:#fff;">
-                            <h4 style="font-size:16px">领料单</h4>
-                          </div>
-                          <div class="tagBox">
-                            <div>
-                              <div style="font-size: 10px">
-                                领料部门:<span style="margin-left: 10px">{{item1.bu_men_ming_cheng}}</span>
-                              </div>
-                          </div>
-                          <div style="text-align: left;">
-                            <div style=" margin-left: 20px;  margin-right: 5px; font-size: 10px;padding-right: 10px;" >
-                              领料单编号:
-                              <span style="margin-left: 10px">{{  item1.ling_liao_chu_ku_ }}</span>
-                            </div>
-                            <div style="margin-left: 20px;  margin-right: 5px; font-size: 10px; ">
-                              领 料 日 期:
-                              <span style="margin-left: 10px">{{ item1.ling_liao_ri_qi_}}</span>
-                            </div>
-                          </div>
-                        </div>
-                        </th>
-                      </tr> -->
                       <tr>
                         <th style="width: 40px; line-height: 22px">序号</th>
                         <th style="font-weight: normal">物料编码</th>
@@ -111,11 +86,6 @@
                       </tr>
                     </tbody>
                     <tfoot >           
-                      <!-- <tr>
-                        <td colspan="13" style="text-align: right !important;height: 30px;padding-right: 17px;">
-                          合计:{{ item1.heji }}
-                        </td>
-                      </tr> -->
                       <tr class="bottom">
                         <td colspan="4" style="text-align:left">
                           <div style="float: left;margin-top:10px">领用人/日期:{{ item1.name1 }}/{{ item1.ling_liao_ri_qi_ }}</div>