|
@@ -52,7 +52,7 @@
|
|
|
<td class="text-c" width="10">${list.machineBarcode }</td>
|
|
|
<!-- 遍历操作 -->
|
|
|
<td class="td-manage text-c">
|
|
|
- <a onclick="updatePrint('${list.machineBarcode}');" title="修改为已打印" href="javascript:;" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a>
|
|
|
+ <a onclick="updatePrint('${list.machineBarcode}');" title="修改为已打印" href="javascript:;" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a>
|
|
|
<a onclick="barCodePrint('${list.machineBarcode }'+'${list.machineQrcode }'+'${list.machineProduceType }');" title="打印" href="javascript:;" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -115,10 +115,7 @@
|
|
|
var machineProduceType = null;
|
|
|
var prints = "";
|
|
|
var settingNumber = $("#settingNumber").val();
|
|
|
- var msg = "每个条形码打印数量为" + settingNumber + "条!";
|
|
|
- /*layer.confirm(msg, {
|
|
|
- btn: ['确认','取消'] //按钮
|
|
|
- }, function(){*/
|
|
|
+
|
|
|
$("input[name='checkbox']:checkbox:checked").each(function () {
|
|
|
prints += $(this).val();
|
|
|
machineBarcode = $(this).val().substring(0, 13);
|
|
@@ -161,15 +158,6 @@
|
|
|
} else {
|
|
|
layer.msg('未选中需要打印的条形码', {icon: 2, time: 2000});
|
|
|
}
|
|
|
- /* }, function(){
|
|
|
- return;
|
|
|
- });*/
|
|
|
-
|
|
|
- /*if (confirm(msg)==true){
|
|
|
-
|
|
|
- }else{
|
|
|
- return;
|
|
|
- }*/
|
|
|
|
|
|
prints = "";
|
|
|
}
|
|
@@ -290,7 +278,7 @@
|
|
|
}
|
|
|
}
|
|
|
$("#printlist").printArea();
|
|
|
- $("#printlist").html("");
|
|
|
+
|
|
|
}
|
|
|
</script>
|
|
|
</body>
|