|
@@ -255,20 +255,21 @@
|
|
|
if(i+1 == data.length){
|
|
|
$("#machineId").val(value.machineId);
|
|
|
}
|
|
|
- var machineType = "";
|
|
|
+ var machineName = value.produceName+"/"+value.producePattern+"-"+value.produceModel;
|
|
|
+ /*var machineType = "";
|
|
|
if(value.machineProduceType == 1){
|
|
|
machineType = "净水机";
|
|
|
}
|
|
|
if(value.machineProduceType == 2){
|
|
|
machineType = "冲奶机";
|
|
|
- }
|
|
|
+ }*/
|
|
|
var private = value.machineBarcode.substr(value.machineBarcode.length-4);
|
|
|
$("#listid").prepend('<tr class="text-c"><td width="2"> ' +
|
|
|
'<input name="checkbox" type="checkbox" value="'+value.machineBarcode+value.machineQrcode+value.machineProduceType+'" machineId="'+value.machineId+'"> ' +
|
|
|
'<input type="hidden" value="'+value.machineId + 1000000 +'" id="'+value.machineBarcode + 'Id'+'"></td>' +
|
|
|
'<td class="text-c" style="font-size: 24px" width="10">'+private+'</td>' +
|
|
|
'<td class="text-c" width="10">'+value.machineBarcode+'</td>' +
|
|
|
- '<td class="text-c" width="10">'+machineType+'</td>' +
|
|
|
+ '<td class="text-c" width="10">'+machineName+'</td>' +
|
|
|
'<td class="td-manage text-c"> <a onclick="updatePrint('+value.machineBarcode+',true);" title="修改为已打印" href="javascript:;" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a>' +
|
|
|
'<a onclick="barCodePrint('+value.machineBarcode+value.machineQrcode+value.machineProduceType+','+value.machineId+');" title="打印" href="javascript:;" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont"></i></a> </td></tr>');
|
|
|
|