chengsc
2025-03-06 375c61c217bc5f66eff8b58c609aaeb0368df025
修改密集库储位图例显示问题
1个文件已修改
12 ■■■■ 已修改文件
HTML/views/WareHouseSetting/DenseLegend.html 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HTML/views/WareHouseSetting/DenseLegend.html
@@ -110,7 +110,7 @@
                
                <div class="layouts">
                    <!-- 左边图 -->
                    <div id="chartMap1" style="width:66%;height:86vh; display: flex; justify-content: space-around;">
                    <div id="chartMap1" style="width:66%;height:100%; display: flex; justify-content: space-around;">
                        <div>
                            <table id="tab"></table>
                        </div>
@@ -224,24 +224,24 @@
                        var html = '';
                        var list = res.data;
                        var slots = list.SlotsVm;
                        for (let i = list.Col; i > 0; i--) {
                        for (let i = 1; i <= list.Row; i++) {
                            html += '<tr >';
                            for (let k = 1; k <= list.Row; k++) {
                                var statu = slots.find(r=> r.SlotColumn==i && r.SlotRow == k);
                            for (let k = 1; k <= list.Col; k++) {
                                var statu = slots.find(r=> r.SlotColumn==k && r.SlotRow == i);
                                
                                var d = "";
                                var s ="eight";
                                if (statu != undefined) {
                                    s= statu.SlotStatusCls;
                                    d = statu.SlotCode;
                                    if (statu.Make =="02") {
                                    if (statu.Make =="0") {
                                        html +='<td><button val='+d+' class="btncls " disabled></button></td>'
                                    } else {
                                        var lie=d.substr(2,2);
                                        var hang=d.substr(0,2);
                                        console.log(lie);
                                        console.log(hang);
                                        html +='<td><div val='+d+' class="btncls divcls textSty '+ s +'" >'+lie+'<br/>'+hang+'</div></td>'
                                        html +='<td><div val='+d+' class="btncls divcls textSty '+ s +'" >'+hang+'<br/>'+lie+'</div></td>'
                                    }