|
@@ -277,7 +277,7 @@
|
|
|
/*$("#barcodeId").html(machineBarcode);
|
|
|
$("#qrcodeImg").attr('src',machineQrcode);*/
|
|
|
|
|
|
- $("#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: 24px;font-size: 12px;">型号:WA-1X</span>' +
|
|
|
'<span style="position: absolute;top: 40px;font-size: 12px;">S/N</span>' +
|
|
@@ -285,33 +285,33 @@
|
|
|
'<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>');
|
|
|
+ '</div>');*/
|
|
|
|
|
|
- /*if(machineProduceType == 1){//净水机模板
|
|
|
+ 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>');
|
|
|
+ '<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 == 2){//冲奶机模板
|
|
|
$("#printlist").append('<div style="width: 268px;height: 152px;position: relative;">' +
|
|
|
- '<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: 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>');
|
|
|
- }*/
|
|
|
+ '<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>');
|
|
|
+ }
|
|
|
}
|
|
|
$("#printlist").printArea();
|
|
|
-
|
|
|
+ $("#printlist").html("");
|
|
|
}
|
|
|
</script>
|
|
|
</body>
|