自动化立体仓库 - WMS系统
zwl
昨天 757f103f37d83dfb55bb49b3df0b805cb520d4f7
src/main/webapp/static/js/waitPakin/waitPakin.js
@@ -2,7 +2,8 @@
function getCol() {
    var cols = [ {type: 'checkbox'} ];
    cols.push.apply(cols, detlCols);
    cols.push({field: 'status', align: 'center',title: '数据状态', templet:function(row){
    cols.push({field: 'locNo', align: 'center',title: '库位号'}
        ,{field: 'status', align: 'center',title: '数据状态', templet:function(row){
                var html = "<input value='status' type='checkbox' lay-skin='switch' lay-text='正常|锁定'' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'";
                if(row.status === 'Y'){html += " checked ";}
                html += ">";
@@ -15,7 +16,8 @@
                return html;
            }}
        ,{field: 'modiUser$', align: 'center',title: '修改人员', hide:true}
        ,{field: 'modiTime$', align: 'center',title: '修改时间', hide:true})
        ,{field: 'modiTime$', align: 'center',title: '修改时间', hide:true}
        ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:250})
    return cols;
}
@@ -323,6 +325,16 @@
                   });
                }
                break;
            case 'complete':
                layer.confirm('确认重新呼叫agv进行入库搬运?', {title: '托盘码:'+data.zpallet, shadeClose: true}, function(){
                    http.post(baseUrl+"/hand/control/complete1", {zpallet: data.zpallet, type:1}, function (res) {
                        $(".layui-laypage-btn")[0].click();
                        layer.msg(data.wrkNo + res.msg);
                    })
                    layer.closeAll();
                });
                break;
        }
    });
@@ -463,7 +475,8 @@
        if (find[0]!=null){
            if (find[0].type === 'checkbox'){
                if (data[val]==='Y'){
                    find.attr("checked","checked");
                    find.attr
                    ("checked","checked");
                    find.val('Y');
                } else {
                    find.remove("checked");