|  |  |  | 
|---|
|  |  |  | ,{field: 'locNo$', align: 'center',title: '目标库位'} | 
|---|
|  |  |  | ,{field: 'barcode', align: 'center',title: '条码'} | 
|---|
|  |  |  | ,{field: 'preHave', align: 'center',title: '先入品', hide: true} | 
|---|
|  |  |  | ,{field: 'takeNone', align: 'center',title: '空操作', hide: true} | 
|---|
|  |  |  | ,{field: 'takeNone', align: 'center', title: 'AGV锁定', | 
|---|
|  |  |  | templet: function(d){ | 
|---|
|  |  |  | if(d.takeNone === "0"){ | 
|---|
|  |  |  | return "未取货"; | 
|---|
|  |  |  | } else if(d.takeNone === "1"){ | 
|---|
|  |  |  | return "已取货"; | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | return ""; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | // ,{field: 'picking', align: 'center',title: '拣料', templet:function(row){ | 
|---|
|  |  |  | //         var html = "<input value='picking' type='checkbox' lay-skin='primary' lay-filter='tableCheckbox' table-index='"+row.LAY_TABLE_INDEX+"'"; | 
|---|
|  |  |  | //         if(row.picking === 'Y'){html += " checked ";} | 
|---|
|  |  |  | 
|---|
|  |  |  | table.on('tool(wrkMast)', function(obj){ | 
|---|
|  |  |  | let data = obj.data; | 
|---|
|  |  |  | switch (obj.event) { | 
|---|
|  |  |  | // 明细展示 todo | 
|---|
|  |  |  | // 明细展示 | 
|---|
|  |  |  | case 'detlShow': | 
|---|
|  |  |  | wrkNo = data.wrkNo; | 
|---|
|  |  |  | // 表格下方显示 | 
|---|
|  |  |  | 
|---|
|  |  |  | ,{field: 'wrkNo', align: 'center',title: '工作号'} | 
|---|
|  |  |  | ,{field: 'ioTime$', align: 'center',title: '工作时间'} | 
|---|
|  |  |  | ,{field: 'matnr', align: 'center',title: '物料'} | 
|---|
|  |  |  | ,{field: 'sku', align: 'center',title: '工序', hide: false} | 
|---|
|  |  |  | ,{field: 'lgnum', align: 'center',title: '仓库号'} | 
|---|
|  |  |  | ,{field: 'tbnum', align: 'center',title: '转储请求编号'} | 
|---|
|  |  |  | ,{field: 'tbpos', align: 'center',title: '行项目'} | 
|---|
|  |  |  | 
|---|
|  |  |  | ,{field: 'altme', align: 'center',title: '单位'} | 
|---|
|  |  |  | ,{field: 'zpallet', align: 'center',title: '托盘条码'} | 
|---|
|  |  |  | ,{field: 'bname', align: 'center',title: '用户ID'} | 
|---|
|  |  |  | ,{field: 'memo', align: 'center',title: '备注'} | 
|---|
|  |  |  | ,{field: 'memo', align: 'center',title: '备注', hide: false} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:50} | 
|---|
|  |  |  | ]], | 
|---|