| | |
| | | {field: 'maktx', title: '商品名称', width: 160}, |
| | | {field: 'specs', title: '规格', width: 160}, |
| | | {field: 'batch', title: '批号'}, |
| | | {field: 'supp', align: 'center',title: '供应商', hide: false} |
| | | ,{field: 'temp2', align: 'center',title: '客户名称', hide: false} |
| | | ,{field: 'temp1', align: 'center',title: '来源单号', hide: false}, |
| | | {field: 'anfme', title: '数量'}, |
| | | {field: 'workQty', title: '作业数量'}, |
| | | {field: 'qty', title: '完成数量', style: 'font-weight: bold'}, |
| | |
| | | var templateDom = $("#templatePreview1"); |
| | | var className = templateDom.attr("class"); |
| | | var param = "编码:"+data.matnr+";名称:"+data.maktx+";批次:"+data.batch+";规格:"+data.specs |
| | | +";单位:"+data.unit+";数量:"+data.anfme+";销售单号:"+data.suppCode+";客户名称:"+data.supp; |
| | | +";单位:"+data.unit+";数量:"+data.anfme+";销售单号:"+data.suppCode+";客户名称:"+data.sku; |
| | | var encodeUrl = encodeURIComponent(param); |
| | | data["barcodeUrl"]=baseUrl+"/mac/code/auth?type=2¶m="+encodeUrl; |
| | | console.log(data["barcodeUrl"]); |