bklLiudl
3 天以前 3c280a6e7343a6d4da1d3a5e75d55f5f2adf3196
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>'
                           }