|
|
@@ -14,6 +14,13 @@
|
|
|
.tg .tg-4qqe{font-size:22px;font-weight:bold;text-align:center;vertical-align:top;border: none}
|
|
|
.tg .tg-9d8n{font-size:22px;text-align:left;vertical-align:top;}
|
|
|
.tg .tg-0pky{text-align:left;vertical-align:top;border: none}
|
|
|
+ .layui-layer-dialog .layui-layer-content {
|
|
|
+ font-size: 35px;
|
|
|
+ line-height: 110px;
|
|
|
+ color: red;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+
|
|
|
</style>
|
|
|
<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
|
|
|
<div class="form-group">
|
|
|
@@ -83,18 +90,20 @@
|
|
|
<button type="button" class="btn btn-default btn-embossed print-link">打印预览</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <!--==============================================================================-->
|
|
|
<div style="display: none">
|
|
|
<div class="form-group" id="print_area" >
|
|
|
<div id="head">
|
|
|
- <table class="tg" style="width: 800px;">
|
|
|
+ <table class="tg" style="width: 840px;">
|
|
|
<thead>
|
|
|
- <div id="qrcode" style="margin:0 0 -50px 650px;width: 80px;height: 80px;">
|
|
|
+ <!--<div id="qrcode" style="margin:0 0 -50px 650px;width: 80px;height: 80px;">-->
|
|
|
+ <div id="qrcode" style="margin:0 0 -450px 500px;width: 80px;height: 80px;">
|
|
|
<img src="" id="myImage" alt=""/>
|
|
|
</div>
|
|
|
<tr>
|
|
|
<th class="tg-v8dz" colspan="7" >
|
|
|
- <p id="formula_no"></p>
|
|
|
- <hr style="border: 1px solid;margin-top: -5px">
|
|
|
+ <!--<p id="formula_no"></p>-->
|
|
|
+ <!--<hr style="border: 1px solid;margin-top: -5px">-->
|
|
|
</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
@@ -102,7 +111,8 @@
|
|
|
<tr>
|
|
|
<td class="tg-s5vw"></td>
|
|
|
<td class="tg-svyg"></td>
|
|
|
- <td class="tg-ub5w" colspan="3" rowspan="2">作业票</td>
|
|
|
+ <td class="tg-ub5w" colspan="3" rowspan="2">
|
|
|
+ 作业票</td>
|
|
|
<td class="tg-4qqe"></td>
|
|
|
<td class="tg-s5vw"></td>
|
|
|
</tr>
|
|
|
@@ -115,7 +125,7 @@
|
|
|
<tr>
|
|
|
<td class="tg-9d8n" style="border: none">批号:</td>
|
|
|
<td class="tg-z7m5" style="text-decoration: underline" id="bach"></td>
|
|
|
- <td class="tg-kghl" style="border: none;text-align: center"><input style="text-align: center" type="text" id="formula"></td>
|
|
|
+ <td class="tg-kghl" style="border: none;text-align: center"><input style="text-align: center;width: 100%;" type="text" id="formula"></td>
|
|
|
<td class="tg-0pky"></td>
|
|
|
<td class="tg-0pky"></td>
|
|
|
<td class="tg-x1hj" id="specifications"></td>
|
|
|
@@ -125,16 +135,17 @@
|
|
|
</table>
|
|
|
</div>
|
|
|
<div style="height: 20px;"></div>
|
|
|
+ <!--打印 整体下部分-->
|
|
|
<div id="body">
|
|
|
- <table class="tg" style="width: 800px;" id="print_gy">
|
|
|
+ <!--打印表格部分-->
|
|
|
+ <table class="tg" style="width: 840px;" id="print_gy">
|
|
|
<tr>
|
|
|
<th style="text-align: center">原材料</th>
|
|
|
- <!-- <th style="text-align: center">百分比</th>-->
|
|
|
+ <!--<th style="text-align: center">百分比</th>-->
|
|
|
<th style="text-align: center">应加量(KG)</th>
|
|
|
<th style="text-align: center;min-width: 100px;">实加量(KG)</th>
|
|
|
<th style="text-align: center">操作记录</th>
|
|
|
</tr>
|
|
|
-
|
|
|
<!--<tr>
|
|
|
<td style="width: 100px;text-align: center">总计</td>
|
|
|
<td class="total" style="width: 100px;text-align: center"></td>
|
|
|
@@ -163,6 +174,86 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <!--<div style="display: none">-->
|
|
|
+ <!--<div class="form-group" id="print_area" >-->
|
|
|
+ <!--<div id="head">-->
|
|
|
+ <!--<table class="tg" style="width: 800px;">-->
|
|
|
+ <!--<thead>-->
|
|
|
+ <!--<div id="qrcode" style="margin:0 0 -50px 650px;width: 80px;height: 80px;">-->
|
|
|
+ <!--<img src="" id="myImage" alt=""/>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--<tr>-->
|
|
|
+ <!--<th class="tg-v8dz" colspan="7" >-->
|
|
|
+ <!--<p id="formula_no"></p>-->
|
|
|
+ <!--<hr style="border: 1px solid;margin-top: -5px">-->
|
|
|
+ <!--</th>-->
|
|
|
+ <!--</tr>-->
|
|
|
+ <!--</thead>-->
|
|
|
+ <!--<tbody>-->
|
|
|
+ <!--<tr>-->
|
|
|
+ <!--<td class="tg-s5vw"></td>-->
|
|
|
+ <!--<td class="tg-svyg"></td>-->
|
|
|
+ <!--<td class="tg-ub5w" colspan="3" rowspan="2">作业票</td>-->
|
|
|
+ <!--<td class="tg-4qqe"></td>-->
|
|
|
+ <!--<td class="tg-s5vw"></td>-->
|
|
|
+ <!--</tr>-->
|
|
|
+ <!--<tr>-->
|
|
|
+ <!--<td class="tg-9d8n" style="border: none;width: 80px;">日期:</td>-->
|
|
|
+ <!--<td class="tg-z7m5" style="width:134px" id="date">{:date("Y-m-d")}</td>-->
|
|
|
+ <!--<td class="tg-9d8n" style="width:100px">开票人</td>-->
|
|
|
+ <!--<td class="tg-9d8n" style="width:100px">审核</td>-->
|
|
|
+ <!--</tr>-->
|
|
|
+ <!--<tr>-->
|
|
|
+ <!--<td class="tg-9d8n" style="border: none">批号:</td>-->
|
|
|
+ <!--<td class="tg-z7m5" style="text-decoration: underline" id="bach"></td>-->
|
|
|
+ <!--<td class="tg-kghl" style="border: none;text-align: center"><input style="text-align: center" type="text" id="formula"></td>-->
|
|
|
+ <!--<td class="tg-0pky"></td>-->
|
|
|
+ <!--<td class="tg-0pky"></td>-->
|
|
|
+ <!--<td class="tg-x1hj" id="specifications"></td>-->
|
|
|
+ <!--<td class="tg-x1hj" id="unit"></td>-->
|
|
|
+ <!--</tr>-->
|
|
|
+ <!--</tbody>-->
|
|
|
+ <!--</table>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--<div style="height: 20px;"></div>-->
|
|
|
+ <!--<div id="body">-->
|
|
|
+ <!--<table class="tg" style="width: 800px;" id="print_gy">-->
|
|
|
+ <!--<tr>-->
|
|
|
+ <!--<th style="text-align: center">原材料</th>-->
|
|
|
+ <!--<!– <th style="text-align: center">百分比</th>–>-->
|
|
|
+ <!--<th style="text-align: center">应加量(KG)</th>-->
|
|
|
+ <!--<th style="text-align: center;min-width: 100px;">实加量(KG)</th>-->
|
|
|
+ <!--<th style="text-align: center">操作记录</th>-->
|
|
|
+ <!--</tr>-->
|
|
|
+
|
|
|
+ <!--<!–<tr>-->
|
|
|
+ <!--<td style="width: 100px;text-align: center">总计</td>-->
|
|
|
+ <!--<td class="total" style="width: 100px;text-align: center"></td>-->
|
|
|
+ <!--<td></td>-->
|
|
|
+ <!--<td></td>-->
|
|
|
+ <!--</tr>-->
|
|
|
+ <!--<tr>-->
|
|
|
+ <!--<td colspan="5" class="remark"></td>-->
|
|
|
+ <!--</tr>–>-->
|
|
|
+ <!--</table>-->
|
|
|
+ <!--<div style="height: 5px;"></div>-->
|
|
|
+ <!--<table class="tg table_bottom" style="width: 800px;">-->
|
|
|
+ <!--<tr>-->
|
|
|
+ <!--<td style="border: none">-->
|
|
|
+ <!--<span>包装规格:</span>-->
|
|
|
+ <!--<hr style="border: 1px solid;width: 150px;margin-top: -5px;">-->
|
|
|
+ <!--<div style="position: absolute;margin-left: 270px;margin-top: -36px;">KG/桶</div>-->
|
|
|
+ <!--</td>-->
|
|
|
+ <!--<td style="border: none">作业票回收日期:<hr style="border: 1px solid;width: 150px;margin-top: -5px;"></td>-->
|
|
|
+ <!--</tr>-->
|
|
|
+ <!--<tr>-->
|
|
|
+ <!--<td style="border: none">操作人员:<hr style="border: 1px solid;width: 150px;margin-top: -5px;"></td>-->
|
|
|
+ <!--<td style="border: none">检验签字:<hr style="border: 1px solid;width: 150px;margin-top: -5px;"></td>-->
|
|
|
+ <!--</tr>-->
|
|
|
+ <!--</table>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--</div>-->
|
|
|
</form>
|
|
|
<script type='text/javascript' src='__CDN__/assets/js/jquery2.1.1.min.js'></script>
|
|
|
<script type="text/javascript" src="__CDN__/assets/js/jquery.qrcode.min.js"></script>
|