Browse Source

油墨打印作业票功能

liuhairui 2 years ago
parent
commit
058cd43c9d
1 changed files with 6 additions and 6 deletions
  1. 6 6
      application/admin/view/formula/task.html

+ 6 - 6
application/admin/view/formula/task.html

@@ -110,16 +110,16 @@
     <!--===========================================================-->
     <!--<div style="padding: 1000px 0 0 0">-->
     <div style="display: none">
-        <div class="form-group" id="print_area" >
+        <div class="form-group" id="print_area">
             <div id="head">
                 <table class="tg" style="width: 800px;">
                     <thead>
                     <!--<div id="qrcode" style="margin:0 0 -450px 500px;width: 80px;height: 80px;">-->
                         <!--<img src="" id="myImage" alt=""/>-->
                     <!--</div>-->
-                    <div id="qrcode" style="width: 80px;height: 80px;">
-                        <img src="" id="myImage" alt="" style="margin:0 0 -200px 500px;"/>
-                    </div>
+                    <!--<div id="qrcode" style="width: 80px;height: 80px;border: 1px pink solid">-->
+                        <img src="" id="myImage" class="qrcode" alt="" style="margin:0 0 -130px 500px;"/>
+                    <!--</div>-->
                     <tr>
                         <th class="tg-v8dz" colspan="6" >
                             <!--<p id="formula_no"></p>-->
@@ -153,7 +153,7 @@
                     </tbody>
                 </table>
             </div>
-            <div style="height: 20px;"></div>
+            <div style="height: 10px;"></div>
             <div id="body">
                 <table class="tg" style="width: 800px;" id="print_gy">
                     <tr>
@@ -247,7 +247,7 @@
             return false;
         });
         function createQrcode(txt,width,height) {
-            $("#qrcode").qrcode({
+            $(".qrcode").qrcode({
                 render: "canvas",//canvas和table两种渲染方式
                 width: width,
                 height: height,