| | |
| | | cellMinWidth: 100, |
| | | cols: [[ |
| | | {type: 'numbers'}, |
| | | {field: 'orderNo', title: '单据编号', templet: '#orderNoTpl'}, |
| | | {field: 'docType$', align: 'center', title: '类型', minWidth: 160, width: 160}, |
| | | {align: 'center', title: '明细', toolbar: '#tbLook', minWidth: 160, width: 160}, |
| | | {field: 'createTime$', title: '创建时间', minWidth: 200, width: 200}, |
| | | {field: 'orderNo', title: '单据编号', templet: '#orderNoTpl',minWidth: 200}, |
| | | {field: 'docType$', align: 'center', title: '类型'}, |
| | | {align: 'center', title: '明细', toolbar: '#tbLook'}, |
| | | {field: 'createTime$', title: '创建时间'}, |
| | | {field: 'settle$', align: 'center', title: '状态', templet: '#settleTpl', minWidth: 160, width: 160}, |
| | | {field: 'shipName', align: 'center',title: '制单人'}, |
| | | {field: 'itemName', align: 'center',title: '仓库'}, |
| | | {field: 'memo', align: 'center',title: '备注', hide: true}, |
| | | {align: 'center', title: '操作', toolbar: '#operate', width: 180} |
| | | {align: 'center', title: '操作', toolbar: '#operate'} |
| | | ]], |
| | | request: { |
| | | pageName: 'curr', |
| | |
| | | var templateDom = $("#templatePreview1"); |
| | | var className = templateDom.attr("class"); |
| | | var param = "编码:"+data.matnr+";名称:"+data.maktx+";批次:"+data.batch+";规格:"+data.specs |
| | | +";单位:"+data.unit+";数量:"+data.anfme+";客户名称:"+data.cstmrName; |
| | | +";单位:"+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"]); |