王佳豪
2021-05-31 bc666cce4e7905e99174195df033bcff1ed799d6
src/main/webapp/static/js/locNormal/locNormal.js
@@ -43,11 +43,10 @@
            var html = "";
            if (res.data && res.data.length > 0) {
                html += res.data.map(function (item) {
                    return "<Option value=" + item.id + ">" + item.name + "</Option>";
                    return "<Option value=" + item.uuid + ">" + item.name + "</Option>";
                });
            }
            $('#putSiteSelect').append(html);
            form.render('select');
        } else if (res.code === 403) {
            top.location.href = baseUrl + "/";
        } else {
@@ -143,7 +142,7 @@
            var records = res.data.records;
            records.map(function (item) {
                locArea.map(function (d) {
                    if (d.id == item.warehouse) {
                    if (d.uuid == item.warehouse) {
                        item.warehouse = d.name;
                    }
                })