|
@@ -406,7 +406,17 @@
|
|
|
'<div style="position: absolute;padding-top: 25px;" id="bcTarget2" class="barcodeImg">'+barcodes2+'</div>' +
|
|
|
/* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
|
|
|
'</div>');
|
|
|
- }else if(produceName === "净水机基础版水箱" || produceName === "净水机银离子水箱"){
|
|
|
+ } else if (berGenerateRules == 5) {
|
|
|
+ code128(machineBarcode);
|
|
|
+ var barcodes2 = $("#bcTarget").html();
|
|
|
+ $("#printlist").append(
|
|
|
+ '<div style="width: 243px;height: 120px;position: relative;">' +
|
|
|
+ '<span style="padding-left: 10px;"></span>' +
|
|
|
+ '<span style="position: absolute;top: 25px;left: 10px;font-size: 12px;visibility:hidden;"></span>' +
|
|
|
+ '<span style="position: absolute;top: 40px;left: 10px;font-size: 12px;visibility:hidden;"></span>' +
|
|
|
+ '<div style="position: absolute;padding-top: 25px;" id="bcTarget2" class="barcodeImg">'+barcodes2+'</div>' +
|
|
|
+ '</div>');
|
|
|
+ } else if(produceName === "净水机基础版水箱" || produceName === "净水机银离子水箱"){
|
|
|
$("#printlist").append('<div style="width: 243px;height: 125px;position: relative;">' +
|
|
|
'<span style="position: absolute;left: 10px;font-size: 14px;">'+produceName+'</span>' +
|
|
|
'<span style="position: absolute;top: 25px;left: 10px;font-size: 12px;visibility:hidden;">型号:'+producePattern+'-'+produceModel+'</span>' +
|
|
@@ -862,6 +872,18 @@
|
|
|
/* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
|
|
|
'</div>');
|
|
|
// $("#printlist").append();
|
|
|
+ } else if (berGenerateRules == 5) {
|
|
|
+ // 林内
|
|
|
+ code128(machineBarcode);
|
|
|
+ var barcodes2 = $("#bcTarget").html();
|
|
|
+ $("#printlist").append(
|
|
|
+ '<div style="width: 242px;height: 120px;position: relative;">' +
|
|
|
+ '<span style="padding-left: 10px;visibility:hidden;"></span>' +
|
|
|
+ '<span style="position: absolute;top: 25px;left: 10px;font-size: 12px;visibility:hidden;"></span>' +
|
|
|
+ '<span style="position: absolute;top: 40px;left: 10px;font-size: 12px;visibility:hidden;"></span>' +
|
|
|
+ '<div style="position: absolute;padding-top: 25px;" id="bcTarget2" class="barcodeImg">'+barcodes2+'</div>' +
|
|
|
+ '</div>'
|
|
|
+ );
|
|
|
} else if(produceName === "西班牙Bermax") {
|
|
|
// 西班牙
|
|
|
$("#printlist").append('<div style="width: 242px;height: 120px;position: relative;">' +
|