Index.cshtml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. @using WMS.BZWeb;
  2. @{
  3. ViewBag.Title = "货位";
  4. Layout = "~/Views/Shared/_Index.cshtml";
  5. }
  6. <style>
  7. .inventory {
  8. padding: 10px 0;
  9. }
  10. .inventory .status_box {
  11. overflow: hidden;
  12. padding: 0 160px;
  13. }
  14. .inventory .status_box .status_item {
  15. display: inline-block;
  16. margin-left: 20px;
  17. }
  18. .inventory .status_box .status_item span {
  19. display: inline-block;
  20. position: relative;
  21. top: -8px;
  22. }
  23. .tags {
  24. display: inline-block;
  25. width: 25px;
  26. height: 25px;
  27. text-align: center;
  28. margin-right: 4px;
  29. }
  30. .tags0 {
  31. background: #e0e0e0;
  32. }
  33. .tags1 {
  34. background: #52c41a;
  35. }
  36. .tags2 {
  37. background: yellow;
  38. color: #000;
  39. }
  40. .tags3 {
  41. background: red;
  42. }
  43. </style>
  44. <div class="lr-layout ">
  45. <div class="lr-layout-center">
  46. <div class="lr-layout-wrap lr-layout-wrap-notitle " style="overflow-x: hidden;overflow-y: scroll">
  47. <div class="lr-layout-tool">
  48. <div class="lr-layout-tool-left">
  49. <div class="col-xs-6 lr-form-item" style="margin-right:5px">
  50. <div class="lr-form-item-title">堆垛机:</div>
  51. <div id="SRMName"></div>
  52. @* <div id="locWareHouse" isvalid="yes" checkexpession="NotNull"></div>*@
  53. @*<select class="form-control" id="locWareHouse" style="width:100px;"></select>*@
  54. </div>
  55. <div class="lr-layout-tool-item">
  56. <span class="tabName" style="margin-top: 0px"><i class="fa fa-th"></i>&nbsp;货位展示</span>
  57. </div>
  58. </div>
  59. <div class="lr-layout-tool-right">
  60. <div class=" btn-group btn-group-sm">
  61. <a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i>&nbsp;<span class="lrlg">刷新</span></a>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="inventory">
  66. <div class="status_box">
  67. <a-button-group style="float: left; margin-right: 20px">
  68. <a id="lr_left" class="btn btn-default active"><i class="fa "></i>&nbsp;<span class="lrlg">左货架 </span></a>
  69. <a id="lr_right" class="btn btn-default"><i class="fa"></i>&nbsp;<span class="lrlg">右货架</span></a>
  70. </a-button-group>
  71. <div style="float: right">
  72. <div class="status_item">
  73. <i class="tags tags0"></i>
  74. <span>无货</span>
  75. </div>
  76. <div class="status_item">
  77. <i class="tags tags1"></i>
  78. <span>有货</span>
  79. </div>
  80. <div class="status_item">
  81. <i class="tags tags2"></i>
  82. <span>锁定</span>
  83. </div>
  84. <div class="status_item">
  85. <i class="tags tags3"></i>
  86. <span>停用</span>
  87. </div>
  88. </div>
  89. </div>
  90. </div>
  91. @* <div style="position:absolute;top:70px;right:150px;display:flex;">
  92. <div style="height:20px;width:20px;background-color:#ccc;margin-left:10px;margin-right:5px;"></div>停用
  93. <div style="height:20px;width:20px;background-color:#4EEE94;margin-left:10px;margin-right:5px;"></div>空货位
  94. <div style="height:20px;width:20px;background-color:#191970;margin-left:10px;margin-right:5px;"></div>已存储
  95. <div style="height:20px;width:20px;background-color:#CD69C9;margin-left:10px;margin-right:5px;"></div>入锁
  96. <div style="height:20px;width:20px;background-color:#CD0000;margin-left:10px;margin-right:5px;"></div>出锁
  97. </div>*@
  98. <div id="echart" style="width:100vw;height:900px;"></div>
  99. </div>
  100. </div>
  101. </div>
  102. <script src="~/Content/echarts/echarts.min.js"></script>
  103. @Html.AppendJsFile("/Areas/FJManager/Views/QueryCell/Index.js")