自动化立体仓库 - WMS系统
zhang
2025-05-12 08adb4aeb7210be2b8b8aa488a21c130b80eb8cd
src/main/webapp/static/js/wrkDetl/wrkDetl.js
@@ -3,6 +3,8 @@
    var cols = [
        {field: 'wrkNo', align: 'center',title: '工作号'}
        ,{field: 'ioTime$', align: 'center',title: '工作时间', width: 160}
        ,{field: 'wrkSts$', align: 'center',title: '任务状态'}
        ,{field: 'ioType$', align: 'center',title: '任务类型'}
    ];
    cols.push.apply(cols, detlCols);
    cols.push({field: 'modiUser$', align: 'center',title: '修改人员', hide:true}
@@ -58,6 +60,7 @@
                    res.data[_index][data.value] = 'N';
                }
            });
            getOutBound();
        }
    });
@@ -401,6 +404,29 @@
        ,type: 'datetime'
        ,range: true
    });
    // 获取拥有者表数据
    function getOutBound(){
        $.ajax({
            url: baseUrl+"/owner/auto/site",
            headers: {'token': localStorage.getItem('token')},
            method: 'POST',
            async: false,
            success: function (res) {
                if (res.code === 200){
                    var tpl = $("#takeSiteSelectTemplate").html();
                    var template = Handlebars.compile(tpl);
                    var html = template(res);
                    $('#ownerSelect').append(html);
                    form.render('select');
                } else if (res.code === 403){
                    top.location.href = baseUrl+"/";
                }else {
                    layer.msg(res.msg)
                }
            }
        })
    }
});
@@ -465,13 +491,6 @@
            }
        }
    }
}
function clearFormVal(el) {
    $(':input', el)
        .val('')
        .removeAttr('checked')
        .removeAttr('selected');
}
function detailScreen(index) {