|
@@ -46,7 +46,7 @@
|
|
<tbody id="listid">
|
|
<tbody id="listid">
|
|
<#list machineList as list>
|
|
<#list machineList as list>
|
|
<tr class="text-c">
|
|
<tr class="text-c">
|
|
- <td width="2">
|
|
|
|
|
|
+ <td width="10">
|
|
<input name='checkbox' type='checkbox' value='${list.machineBarcode }${list.machineQrcode }${list.machineProduceType }' >
|
|
<input name='checkbox' type='checkbox' value='${list.machineBarcode }${list.machineQrcode }${list.machineProduceType }' >
|
|
</td>
|
|
</td>
|
|
<td class="text-c" width="10">${list.machineBarcode }</td>
|
|
<td class="text-c" width="10">${list.machineBarcode }</td>
|
|
@@ -131,9 +131,9 @@
|
|
'<span style="position: absolute;top:0px;font-size: 14px;">WaterO可移动智能净水机</span>' +
|
|
'<span style="position: absolute;top:0px;font-size: 14px;">WaterO可移动智能净水机</span>' +
|
|
'<span style="position: absolute;top: 24px;font-size: 12px;">型号:WA-1X</span>' +
|
|
'<span style="position: absolute;top: 24px;font-size: 12px;">型号:WA-1X</span>' +
|
|
'<span style="position: absolute;top: 40px;font-size: 12px;">S/N</span>' +
|
|
'<span style="position: absolute;top: 40px;font-size: 12px;">S/N</span>' +
|
|
- '<div style="position: absolute;left: -10px;top: 75px;height: 30px;" id="bcTarget2" class="barcodeImg">' + barcodes + '</div>' +
|
|
|
|
- '<span style="position: absolute;top: 102px;font-size: 12px;width: 116px;text-align: center;" id="barcodeId">' + machineBarcode + '</span>' +
|
|
|
|
- '<img style="position: absolute;right: 2px;top:18px;width: 86px;height: 86px;" id="qrcodeImg" src="' + machineQrcode + '" /> ' +
|
|
|
|
|
|
+ '<div style="position: absolute;left: -10px;top: 75px;height: 30px;" class="barcodeImg">' + barcodes + '</div>' +
|
|
|
|
+ '<span style="position: absolute;top: 102px;font-size: 12px;width: 116px;text-align: center;">' + machineBarcode + '</span>' +
|
|
|
|
+ '<img style="position: absolute;right: 2px;top:18px;width: 86px;height: 86px;" src="' + machineQrcode + '" /> ' +
|
|
'<span style="position: absolute;right: 26px;top: 102px;font-size: 12px;">NO.4295</span> ' +
|
|
'<span style="position: absolute;right: 26px;top: 102px;font-size: 12px;">NO.4295</span> ' +
|
|
'</div>');
|
|
'</div>');
|
|
}
|
|
}
|
|
@@ -142,9 +142,9 @@
|
|
'<span style="position: absolute;top:0px;font-size: 14px;">爱贝源冲奶机</span>' +
|
|
'<span style="position: absolute;top:0px;font-size: 14px;">爱贝源冲奶机</span>' +
|
|
'<span style="position: absolute;top: 24px;font-size: 12px;">型号:WA-1X</span>' +
|
|
'<span style="position: absolute;top: 24px;font-size: 12px;">型号:WA-1X</span>' +
|
|
'<span style="position: absolute;top: 40px;font-size: 12px;">S/N</span>' +
|
|
'<span style="position: absolute;top: 40px;font-size: 12px;">S/N</span>' +
|
|
- '<div style="position: absolute;left: -10px;top: 75px;height: 30px;" id="bcTarget2" class="barcodeImg">' + barcodes + '</div>' +
|
|
|
|
- '<span style="position: absolute;top: 102px;font-size: 12px;width: 116px;text-align: center;" id="barcodeId">' + machineBarcode + '</span>' +
|
|
|
|
- '<img style="position: absolute;right: 2px;top:18px;width: 86px;height: 86px;" id="qrcodeImg" src="' + machineQrcode + '" /> ' +
|
|
|
|
|
|
+ '<div style="position: absolute;left: -10px;top: 75px;height: 30px;" class="barcodeImg">' + barcodes + '</div>' +
|
|
|
|
+ '<span style="position: absolute;top: 102px;font-size: 12px;width: 116px;text-align: center;" >' + machineBarcode + '</span>' +
|
|
|
|
+ '<img style="position: absolute;right: 2px;top:18px;width: 86px;height: 86px;" src="' + machineQrcode + '" /> ' +
|
|
'<span style="position: absolute;right: 26px;top: 102px;font-size: 12px;">NO.4295</span> ' +
|
|
'<span style="position: absolute;right: 26px;top: 102px;font-size: 12px;">NO.4295</span> ' +
|
|
'</div>');
|
|
'</div>');
|
|
}
|
|
}
|
|
@@ -254,7 +254,18 @@
|
|
var barcodes = $("#bcTarget").html();
|
|
var barcodes = $("#bcTarget").html();
|
|
/*$("#barcodeId").html(machineBarcode);
|
|
/*$("#barcodeId").html(machineBarcode);
|
|
$("#qrcodeImg").attr('src',machineQrcode);*/
|
|
$("#qrcodeImg").attr('src',machineQrcode);*/
|
|
- if(machineProduceType == 1){//净水机模板
|
|
|
|
|
|
+
|
|
|
|
+ $("#printlist").append('<div style="width: 268px;height: 152px;position: relative;">' +
|
|
|
|
+ '<span style="position: absolute;top:0px;font-size: 14px;">WaterO可移动智能净水机</span>' +
|
|
|
|
+ '<span style="position: absolute;top: 24px;font-size: 12px;">型号:WA-1X</span>' +
|
|
|
|
+ '<span style="position: absolute;top: 40px;font-size: 12px;">S/N</span>' +
|
|
|
|
+ '<div style="position: absolute;left: -10px;top: 75px;height: 30px;" id="bcTarget2" class="barcodeImg">'+barcodes+'</div>' +
|
|
|
|
+ '<span style="position: absolute;top: 102px;font-size: 12px;width: 116px;text-align: center;" id="barcodeId">'+machineBarcode+'</span>' +
|
|
|
|
+ '<img style="position: absolute;right: 2px;top:18px;width: 86px;height: 86px;" id="qrcodeImg" src="'+machineQrcode+'" /> ' +
|
|
|
|
+ '<span style="position: absolute;right: 26px;top: 102px;font-size: 12px;">NO.4295</span> ' +
|
|
|
|
+ '</div>');
|
|
|
|
+
|
|
|
|
+ /*if(machineProduceType == 1){//净水机模板
|
|
$("#printlist").append('<div style="width: 268px;height: 152px;position: relative;">' +
|
|
$("#printlist").append('<div style="width: 268px;height: 152px;position: relative;">' +
|
|
'<span style="position: absolute;top:0px;font-size: 14px;">WaterO可移动智能净水机</span>' +
|
|
'<span style="position: absolute;top:0px;font-size: 14px;">WaterO可移动智能净水机</span>' +
|
|
'<span style="position: absolute;top: 24px;font-size: 12px;">型号:WA-1X</span>' +
|
|
'<span style="position: absolute;top: 24px;font-size: 12px;">型号:WA-1X</span>' +
|
|
@@ -275,7 +286,7 @@
|
|
'<img style="position: absolute;right: 2px;top:18px;width: 86px;height: 86px;" id="qrcodeImg" src="'+machineQrcode+'" /> ' +
|
|
'<img style="position: absolute;right: 2px;top:18px;width: 86px;height: 86px;" id="qrcodeImg" src="'+machineQrcode+'" /> ' +
|
|
'<span style="position: absolute;right: 26px;top: 102px;font-size: 12px;">NO.4295</span> ' +
|
|
'<span style="position: absolute;right: 26px;top: 102px;font-size: 12px;">NO.4295</span> ' +
|
|
'</div>');
|
|
'</div>');
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
}
|
|
}
|
|
$("#printlist").printArea();
|
|
$("#printlist").printArea();
|
|
|
|
|