|  |  |  | 
|---|
|  |  |  | cellMinWidth: 50, | 
|---|
|  |  |  | height: 'full-120', | 
|---|
|  |  |  | cols: [[ | 
|---|
|  |  |  | {type: 'checkbox'} | 
|---|
|  |  |  | ,{field: 'id', align: 'center',title: 'ID'} | 
|---|
|  |  |  | ,{field: 'orderId$', align: 'center',title: '订单内码'} | 
|---|
|  |  |  | // {type: 'checkbox'} | 
|---|
|  |  |  | // ,{field: 'id', align: 'center',title: 'ID'} | 
|---|
|  |  |  | // ,{field: 'orderId$', align: 'center',title: '订单内码'} | 
|---|
|  |  |  | {field: 'orderNo', align: 'center',title: '订单编号', width: 100} | 
|---|
|  |  |  | ,{field: 'threeCode', align: 'center',title: '销售单号'} | 
|---|
|  |  |  | ,{field: 'anfme', align: 'center',title: '数量'} | 
|---|
|  |  |  | ,{field: 'matnr', align: 'center',title: '商品编码'} | 
|---|
|  |  |  | ,{field: 'maktx', align: 'center',title: '商品名称'} | 
|---|
|  |  |  | ,{field: 'name', align: 'center',title: '名称'} | 
|---|
|  |  |  | ,{field: 'specs', align: 'center',title: '规格'} | 
|---|
|  |  |  | ,{field: 'model', align: 'center',title: '型号'} | 
|---|
|  |  |  | ,{field: 'batch', align: 'center',title: '批号'} | 
|---|
|  |  |  | ,{field: 'unit', align: 'center',title: '单位'} | 
|---|
|  |  |  | ,{field: 'barcode', align: 'center',title: '商品条码'} | 
|---|
|  |  |  | ,{field: 'supplier', align: 'center',title: '供应商'} | 
|---|
|  |  |  | ,{field: 'unitPrice', align: 'center',title: '单价'} | 
|---|
|  |  |  | ,{field: 'itemNum', align: 'center',title: '品项数'} | 
|---|
|  |  |  | ,{field: 'count', align: 'center',title: '数量'} | 
|---|
|  |  |  | ,{field: 'weight', align: 'center',title: '重量'} | 
|---|
|  |  |  | ,{field: 'status$', align: 'center',title: '状态'} | 
|---|
|  |  |  | ,{field: 'createBy$', align: 'center',title: '添加人员'} | 
|---|
|  |  |  | ,{field: 'createTime$', align: 'center',title: '添加时间'} | 
|---|
|  |  |  | ,{field: 'updateBy$', align: 'center',title: '修改人员'} | 
|---|
|  |  |  | ,{field: 'updateTime$', align: 'center',title: '修改时间'} | 
|---|
|  |  |  | ,{field: 'memo', align: 'center',title: '备注'} | 
|---|
|  |  |  | ,{field: 'qty', align: 'center',title: '作业数量'} | 
|---|
|  |  |  | ,{field: 'matnr', align: 'center',title: '物料号'} | 
|---|
|  |  |  | ,{field: 'maktx', align: 'center',title: '物料名称'} | 
|---|
|  |  |  | // ,{field: 'name', align: 'center',title: '名称'} | 
|---|
|  |  |  | // ,{field: 'specs', align: 'center',title: '规格'} | 
|---|
|  |  |  | // ,{field: 'model', align: 'center',title: '通用型号'} | 
|---|
|  |  |  | ,{field: 'batch', align: 'center',title: '批次'} | 
|---|
|  |  |  | // ,{field: 'unit', align: 'center',title: '单位'} | 
|---|
|  |  |  | // ,{field: 'barcode', align: 'center',title: '商品条码'} | 
|---|
|  |  |  | // ,{field: 'unitPrice', align: 'center',title: '单价'} | 
|---|
|  |  |  | // ,{field: 'itemNum', align: 'center',title: '品项数'} | 
|---|
|  |  |  | // ,{field: 'count', align: 'center',title: '数量'} | 
|---|
|  |  |  | // ,{field: 'weight', align: 'center',title: '重量'} | 
|---|
|  |  |  | // ,{field: 'status$', align: 'center',title: '状态'} | 
|---|
|  |  |  | // ,{field: 'createBy$', align: 'center',title: '添加人员'} | 
|---|
|  |  |  | // ,{field: 'createTime$', align: 'center',title: '添加时间'} | 
|---|
|  |  |  | // ,{field: 'updateBy$', align: 'center',title: '修改人员'} | 
|---|
|  |  |  | // ,{field: 'updateTime$', align: 'center',title: '修改时间'} | 
|---|
|  |  |  | // ,{field: 'memo', align: 'center',title: '备注'} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:120} | 
|---|
|  |  |  | ]], | 
|---|
|  |  |  | 
|---|
|  |  |  | break; | 
|---|
|  |  |  | case 'exportData': | 
|---|
|  |  |  | admin.confirm('确定导出Excel吗', {shadeClose: true}, function(){ | 
|---|
|  |  |  | layer.load(2, {time: 600*1000}); | 
|---|
|  |  |  | var titles=[]; | 
|---|
|  |  |  | var fields=[]; | 
|---|
|  |  |  | obj.config.cols[0].map(function (col) { | 
|---|