zyf 2 vuotta sitten
vanhempi
commit
17f33ea7ff

+ 13 - 13
src/views/index/components/printReceipt.vue

@@ -16,7 +16,7 @@
       <div id="pdfDom" v-for="(item, index) in dataList" :key="index">
         <div class="blank"></div>
 
-        <div class="title">
+        <div class="title" style="margin-bottom: 10px">
           <h5 align="center">{{ shippername }} 物资送货单</h5>
           <!--        <h5 align="center">物资送货单</h5>-->
         </div>
@@ -42,7 +42,7 @@
             border="1"
             cellpadding="10"
             cellspacing="0"
-            style="margin-top: 10px; text-align: center;height: 40px"
+            style="margin-top: 10px; text-align: center;height: 70px"
             width="1300px"
             class="tablePart1"
           >
@@ -69,7 +69,7 @@
             border="1"
             cellpadding="10"
             cellspacing="0"
-            style="border-top: 0px;height: 30px"
+            style="border-top: 0px;height: 40px"
             width="1300px"
             class="tablePart2"
           >
@@ -86,7 +86,7 @@
             border="1"
             cellpadding="10"
             cellspacing="0"
-            style="border-top: 0px;height: 30px"
+            style="border-top: 0px;height: 40px"
             width="1300px"
             class="tablePart3"
           >
@@ -103,7 +103,7 @@
             border="0"
             cellpadding="10"
             cellspacing="0"
-            style="border-top: 0px;height: 30px"
+            style="border-top: 0px;height: 40px"
             width="1300px"
             class="tablePart4"
           >
@@ -120,7 +120,7 @@
             border="1"
             cellpadding="10"
             cellspacing="0"
-            style="border-top: 0px;height: 30px"
+            style="border-top: 0px;height: 40px"
             width="1300px"
             class="tablePart9"
           >
@@ -137,7 +137,7 @@
             border="0"
             cellpadding="10"
             cellspacing="0"
-            style="margin: auto; font-size: 20px;height: 30px"
+            style="margin-left: 500px; font-size: 20px;height: 40px"
             width="1300px"
             class="tablePart6"
           >
@@ -172,13 +172,13 @@
             border="0"
             cellpadding="10"
             cellspacing="0"
-            style="margin: auto; font-size: 20px;height: 50px"
+            style="margin-left: 500px; font-size: 20px;height: 40px"
             width="1300px"
             class="tablePart6"
           >
             <tr>
-              <th style="width: 14.5%">签收人:</th>
-              <th style="width: 14.5%">签收时间:</th>
+              <th style="width: 14.5%;text-align: left">签收人:</th>
+              <th style="width: 14.5%;text-align: left">签收时间:</th>
             </tr>
           </table>
         </div>
@@ -198,16 +198,16 @@
         </table>
       </div>-->
         <!--设置中间的间隔以及虚线-->
-        <div style="height: 80px"></div>
+        <div style="height: 50px"></div>
         <hr width=1500px style="border:1px dashed black;height:1px">
       </div>
     </div>
     <!-- <el-button style="margin-left: 45%;" type="primary" @click="getPdf()">
         <i class="el-icon-download"></i>导出(pdf)
       </el-button> -->
-    <el-button type="primary" @click="backScan()">
+<!--    <el-button type="primary" @click="backScan()">
       <i class="el-icon-back"></i>返回
-    </el-button>
+    </el-button>-->
   </div>
 </template>
 

+ 5 - 3
src/views/index/components/printScan.vue

@@ -16,8 +16,8 @@
       <div  v-show="false">
         手动输入开关:
       </div>
-      <i class="el-icon-full-screen" @click="fullScreen"
-      v-show="edit1"></i>
+<!--      <i class="el-icon-full-screen" @click="fullScreen"
+      v-show="edit1"></i>-->
 <!--      <el-switch
         :disabled="!isEdit"
         v-show="false"
@@ -36,7 +36,8 @@
     </div>
     <div class="tip">
       手机二维码对准下方摄像头<br>
-      <i class="el-icon-bottom" style="padding-left: 450px;font-size: 300px"></i>
+      <i class="el-icon-bottom" style="padding-left: 450px;font-size: 300px;color: red"></i>
+      <span style="width: 300px;height: 200px;color: red;margin-left: 50px">zyf:110</span>
     </div>
   </div>
 </template>
@@ -158,6 +159,7 @@ export default {
   .background {
     width: 100%;
     height: 100%;
+    margin-top: 30px;
     z-index: -1;
     position: absolute;
     overflow: hidden;