自动化立体仓库 - WMS系统
src/main/webapp/static/js/basDevp/basDevp.js
@@ -466,18 +466,18 @@
            devNo: $('#devNo').val(),
            decDesc: $('#decDesc').val(),
            devMk: $('#devMk').val(),
            inEnable: $('#inEnable').val(),
            outEnable: $('#outEnable').val(),
            autoing: $('#autoing').val(),
            loading: $('#loading').val(),
            canining: $('#canining').val(),
            canouting: $('#canouting').val(),
            inEnable: checkboxYn('#inEnable'),
            outEnable: checkboxYn('#outEnable'),
            autoing: checkboxYn('#autoing'),
            loading: checkboxYn('#loading'),
            canining: checkboxYn('#canining'),
            canouting: checkboxYn('#canouting'),
            fronting: $('#fronting').val(),
            rearing: $('#rearing').val(),
            uping: $('#uping').val(),
            downing: $('#downing').val(),
            inreq1: $('#inreq1').val(),
            inreq2: $('#inreq2').val(),
            inreq1: checkboxYn('#inreq1'),
            inreq2: checkboxYn('#inreq2'),
            wrkNo: $('#wrkNo').val(),
            wrkNo1: $('#wrkNo1').val(),
            ctnType: $('#ctnType').val(),
@@ -616,10 +616,10 @@
        if (find[0]!=null){
            if (find[0].type === 'checkbox'){
                if (currentVal==='Y'){
                    find.attr("checked","checked");
                    find.prop('checked', true).attr("checked","checked");
                    find.val('Y');
                } else {
                    find.remove("checked");
                    find.prop('checked', false).removeAttr("checked");
                    find.val('N');
                }
                continue;
@@ -712,7 +712,7 @@
function clearFormVal(el) {
    $(':input', el).each(function () {
        if (this.type === 'checkbox' || this.type === 'radio') {
            $(this).prop('checked', false).removeAttr('checked');
            $(this).prop('checked', false).removeAttr('checked').val('N');
            return;
        }
        if (this.tagName === 'SELECT' && this.multiple) {
@@ -723,6 +723,10 @@
    });
}
function checkboxYn(selector) {
    return $(selector).is(':checked') ? 'Y' : 'N';
}
function detailScreen(index) {
    var detail = layer.getChildFrame('#data-detail', index);
    var height = detail.height()+60;