|
|
@@ -88,10 +88,14 @@
|
|
|
<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="margin:0 0 -450px 500px;width: 80px;height: 80px;">-->
|
|
|
+ <!--<img src="" id="myImage" alt=""/>-->
|
|
|
+ <!--</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>
|
|
|
+ <!--<tr>-->
|
|
|
<th class="tg-v8dz" colspan="6" >
|
|
|
<!--<p id="formula_no"></p>-->
|
|
|
<!--<hr style="border: 1px solid;margin-top: -5px">-->
|
|
|
@@ -115,7 +119,8 @@
|
|
|
<tr>
|
|
|
<td class="tg-9d8n" style="border: none">批号:{$task.bach}</td>
|
|
|
<td class="tg-z7m5" id="bach"></td>
|
|
|
- <td class="tg-kghl" style="border: none"><input type="text" id="formula" value="{$task.name}" style="width: 400px;text-align: center"></td>
|
|
|
+ <!--<td class="tg-kghl" style="border: none"><input type="text" id="formula" value="{$task.name}" style="width: 400px;text-align: center"></td>-->
|
|
|
+ <td class="tg-kghl" style="border: none"><textarea type="text" id="formula" value="" disabled style="resize:none;width: 400px;overflow-x:hidden;overflow-y:hidden;height: 80px;text-align: center;font-size: 16px">{$task.name}</textarea></td>
|
|
|
<td class="tg-0pky"></td>
|
|
|
<td class="tg-x1hj" id="drawer_name">{$task.drawer_name}</td>
|
|
|
<td class="tg-x1hj" id="examine_name">{$task.examine_name}</td>
|
|
|
@@ -211,7 +216,7 @@
|
|
|
return false;
|
|
|
});
|
|
|
function createQrcode(txt,width,height) {
|
|
|
- $("#qrcode").qrcode({
|
|
|
+ $(".qrcode").qrcode({
|
|
|
render: "canvas",//canvas和table两种渲染方式
|
|
|
width: width,
|
|
|
height: height,
|