|  |  |  | 
|---|
|  |  |  | ,{field: 'anfme', align: 'center',title: '重量(kg)', width:100,hide: false} | 
|---|
|  |  |  | ,{field: 'locNo', align: 'center',title: '库位号', width:120,hide: false} | 
|---|
|  |  |  | ,{field: 'maktx', align: 'center',title: '商品名称',hide: false} | 
|---|
|  |  |  | ,{field: 'createTime$', align: 'center',title: '添加时间',hide: true} | 
|---|
|  |  |  | ,{field: 'createBy$', align: 'center',title: '添加人员', width:100,hide: true} | 
|---|
|  |  |  | ,{field: 'updateTime$', align: 'center',title: '修改时间', width:120,hide: false} | 
|---|
|  |  |  | ,{field: 'updateBy$', align: 'center',title: '修改人员',hide: false} | 
|---|
|  |  |  | ,{field: 'owner$', align: 'center',title: '货主',hide: false} | 
|---|
|  |  |  | ,{field: 'createTime$', align: 'center',title: '入库时间', width:120,hide: false} | 
|---|
|  |  |  | ,{field: 'createBy$', align: 'center',title: '入库人员', width:100,hide: false} | 
|---|
|  |  |  | ,{field: 'updateTime$', align: 'center',title: '打印时间', width:120,hide: false} | 
|---|
|  |  |  | ,{field: 'updateBy$', align: 'center',title: '打印人员',hide: false} | 
|---|
|  |  |  | ,{field: 'memo', align: 'center',title: '备注',hide: false} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:120} | 
|---|
|  |  |  | 
|---|
|  |  |  | var templateDom = $("#templatePreview"+templateNo); | 
|---|
|  |  |  | var className = templateDom.attr("class"); | 
|---|
|  |  |  | if (className === 'template-barcode') { | 
|---|
|  |  |  | res.data[i]["barcodeUrl"]=baseUrl+"/mac/code/auth?type=1¶m="+res.data[i].matnr+";"+res.data[i].batch+";"+res.data[i].anfme+";"+res.data[i].memo+";"+res.data[i].maktx; | 
|---|
|  |  |  | res.data[i]["barcodeUrl"]=baseUrl+"/mac/code/auth?type=1¶m=" | 
|---|
|  |  |  | +res.data[i].matnr+";" +res.data[i].batch+";" | 
|---|
|  |  |  | +res.data[i].anfme+";" +res.data[i].locNo+";" | 
|---|
|  |  |  | +res.data[i].ownerId+";"+res.data[i].maktx+";" | 
|---|
|  |  |  | +res.data[i].id; | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | res.data[i]["barcodeUrl"]=baseUrl+"/mac/code/auth?type=2¶m="+res.data[i].matnr+";"+res.data[i].batch+";"+res.data[i].anfme+";"+res.data[i].memo+";"+res.data[i].maktx; | 
|---|
|  |  |  | res.data[i]["barcodeUrl"]=baseUrl+"/mac/code/auth?type=2¶m=" | 
|---|
|  |  |  | +res.data[i].matnr+";" +res.data[i].batch+";" | 
|---|
|  |  |  | +res.data[i].anfme+";" +res.data[i].locNo+";" | 
|---|
|  |  |  | +res.data[i].ownerId+";"+res.data[i].maktx+";" | 
|---|
|  |  |  | +res.data[i].id; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | var tpl = templateDom.html(); | 
|---|