| | |
| | | ,{field: 'uuid', align: 'center',title: '编号',hide: true} |
| | | ,{field: 'status$', align: 'center',title: '打印情况', width:100,hide: false} |
| | | ,{field: 'matnr', align: 'center',title: '品号', width:180,hide: false} |
| | | ,{field: 'orderNo', align: 'center',title: '订单号', width:180,hide: false} |
| | | ,{field: 'decrees', align: 'center',title: '制令', width:180,hide: false} |
| | | // ,{field: 'batch', align: 'center',title: '批次', width:100,hide: false} |
| | | // ,{field: 'anfme', align: 'center',title: '重量(kg)', width:100,hide: false} |
| | | // ,{field: 'locNo', align: 'center',title: '库位号', width:120,hide: false} |
| | |
| | | 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].locNo+";" |
| | | +res.data[i].ownerId+";"+res.data[i].maktx+";" |
| | | +res.data[i].id; |
| | | +res.data[i].matnr |
| | | } 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].locNo+";" |
| | | +res.data[i].ownerId+";"+res.data[i].maktx+";" |
| | | +res.data[i].id; |
| | | +res.data[i].matnr |
| | | } |
| | | } |
| | | var tpl = templateDom.html(); |