|  |  |  | 
|---|
|  |  |  | ,{field: 'staNo$', align: 'center',title: '目标站'} | 
|---|
|  |  |  | ,{field: 'sourceLocNo$', align: 'center',title: '源库位'} | 
|---|
|  |  |  | ,{field: 'locNo$', align: 'center',title: '目标库位'} | 
|---|
|  |  |  | ,{field: 'barcode', align: 'center',title: '条码'} | 
|---|
|  |  |  | ,{field: 'steNo', align: 'center',title: '小车', width: 70} | 
|---|
|  |  |  | ,{field: 'barcode', align: 'center',title: '条码', hide: false} | 
|---|
|  |  |  | ,{field: 'preHave', align: 'center',title: '先入品', hide: true} | 
|---|
|  |  |  | ,{field: 'takeNone', align: 'center',title: '空操作', hide: true} | 
|---|
|  |  |  | // ,{field: 'picking', align: 'center',title: '拣料', templet:function(row){ | 
|---|
|  |  |  | 
|---|
|  |  |  | //         return html; | 
|---|
|  |  |  | //     }} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:250} | 
|---|
|  |  |  | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:290} | 
|---|
|  |  |  | ]], | 
|---|
|  |  |  | request: { | 
|---|
|  |  |  | pageName: 'curr', | 
|---|
|  |  |  | 
|---|
|  |  |  | var list=[]; | 
|---|
|  |  |  | checkStatus.data.map(function (track) { | 
|---|
|  |  |  | list.push({ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | wrkNo: track.wrkNo, | 
|---|
|  |  |  | ioTime: track.ioTime, | 
|---|
|  |  |  | ioPri: track.ioPri | 
|---|
|  |  |  | 
|---|
|  |  |  | content: 'wrkMast_detail.html', | 
|---|
|  |  |  | success: function(layero, index){ | 
|---|
|  |  |  | layer.getChildFrame('#data-detail-submit-edit', index).hide(); | 
|---|
|  |  |  | clearFormVal(layer.getChildFrame('#detail', index)); | 
|---|
|  |  |  | clearFormVal(layer.getChildFrame('#detail', index)); | 
|---|
|  |  |  | layer.getChildFrame('##dealDownLine', index).hide();layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"}); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | 
|---|
|  |  |  | layer.confirm('任务发送空操作异常!是否。。。。。。。。?', {title: '工作号:'+data.wrkNo, shadeClose: true}, function(){ | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | break; | 
|---|
|  |  |  | //  弃车 | 
|---|
|  |  |  | case 'removeSte': | 
|---|
|  |  |  | layer.confirm('清除小车【' + data.steNo + '】', {title: '工作号:'+data.wrkNo, shadeClose: true}, function(){ | 
|---|
|  |  |  | http.post(baseUrl+"/deal/steNo/empty", {wrkNo: data.wrkNo}, function (res) { | 
|---|
|  |  |  | $(".layui-laypage-btn")[0].click(); | 
|---|
|  |  |  | layer.msg(data.wrkNo + res.msg, {icon: 1}); | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | layer.closeAll(); | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | break; | 
|---|
|  |  |  | case 'priWrkMast': | 
|---|
|  |  |  | layer.open({ | 
|---|
|  |  |  | type: 2, | 
|---|
|  |  |  | title: '维护工作档', | 
|---|
|  |  |  | maxmin: true, | 
|---|
|  |  |  | area: ['500px', top.detailHeight], | 
|---|
|  |  |  | shadeClose: false, | 
|---|
|  |  |  | content: 'wrkMast_detail.html', | 
|---|
|  |  |  | success: function(layero, index){ | 
|---|
|  |  |  | layer.getChildFrame('#data-detail-submit-save', index).hide(); | 
|---|
|  |  |  | setFormVal(layer.getChildFrame('#detail', index), data, false); | 
|---|
|  |  |  | top.convertDisabled(layer.getChildFrame('#locNo', index), true); | 
|---|
|  |  |  | layer.iframeAuto(index);layer.style(index, {top: (($(window).height()-layer.getChildFrame('#data-detail', index).height())/3)+"px"}); | 
|---|
|  |  |  | layero.find('iframe')[0].contentWindow.layui.form.render('select'); | 
|---|
|  |  |  | layero.find('iframe')[0].contentWindow.layui.form.render('checkbox'); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | break; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|