You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

545 lines
28 KiB

  1. @{
  2. ViewBag.Title = "Index";
  3. Layout = "~/Views/Shared/_Index.cshtml";
  4. }
  5. <script src="~/Content/js/datepicker/WdatePicker.js"></script>
  6. <script src="~/Content/js/jqprint/jquery.jqprint-0.3.js"></script>
  7. <link href="~/Content/js/jqprint/AoMaKpi.css" rel="stylesheet" />
  8. <style>
  9. #print, #print td, #print tr {
  10. border: 1px solid #d3d3d3;
  11. text-align: center;
  12. }
  13. #print th {
  14. height: 35px;
  15. border: 1px solid #d3d3d3;
  16. font-weight: bold;
  17. font-size: 15px;
  18. text-align: center;
  19. }
  20. #print td {
  21. height: 30px;
  22. font-size: 15px;
  23. text-align: center;
  24. }
  25. </style>
  26. <script>
  27. debugger;
  28. var myDate = new Date;
  29. var year = myDate.getFullYear(); //获取当前年
  30. var mon = myDate.getMonth() + 1 < 10 ? "0" + (myDate.getMonth() + 1) : myDate.getMonth() + 1; //获取当前月
  31. var TimeFrom = year + "-" + mon ;
  32. var TimeArrive = year + "-" + mon ;
  33. $(function () {
  34. $("#TimeFrom").val(TimeFrom);
  35. $("#TimeArrive").val(TimeArrive);
  36. $("#TimeInfo").text(mon+'月');
  37. $("#YearInfo").text(year + '年');
  38. Load(TimeFrom, TimeArrive);
  39. })
  40. function Load(TimeFrom,TimeArrive) {
  41. GetZB(TimeFrom, TimeArrive);
  42. GetYFFJ(TimeFrom, TimeArrive);
  43. GetYLAndPC('L1', 'A', TimeFrom, TimeArrive);
  44. GetYLAndPC('L1', 'B', TimeFrom, TimeArrive);
  45. GetYLAndPC('L2', 'A', TimeFrom, TimeArrive);
  46. GetYLAndPC('L2', 'B', TimeFrom, TimeArrive);
  47. GetYLAndPC('L3', 'A', TimeFrom, TimeArrive);
  48. GetYLAndPC('L3', 'B', TimeFrom, TimeArrive);
  49. GetYLAndPC('L4', 'A', TimeFrom, TimeArrive);
  50. GetYLAndPC('L4', 'B', TimeFrom, TimeArrive);
  51. GetYLAndPC('L5', 'A', TimeFrom, TimeArrive);
  52. GetYLAndPC('L5', 'B', TimeFrom, TimeArrive);
  53. GetYLAndPC('L6', 'A', TimeFrom, TimeArrive);
  54. GetYLAndPC('L6', 'B', TimeFrom, TimeArrive);
  55. //线别产出
  56. $("#L1CC").text($("#L1ACC").text() * 1 + $("#L1BCC").text() * 1);
  57. $("#L2CC").text($("#L2ACC").text() * 1 + $("#L2BCC").text() * 1);
  58. $("#L3CC").text($("#L3ACC").text() * 1 + $("#L3BCC").text() * 1);
  59. $("#L4CC").text($("#L4ACC").text() * 1 + $("#L4BCC").text() * 1);
  60. $("#L5CC").text($("#L5ACC").text() * 1 + $("#L5BCC").text() * 1);
  61. $("#L6CC").text($("#L6ACC").text() * 1 + $("#L6BCC").text() * 1);
  62. //线别成型率
  63. $("#L1CXL").text(Converts((($("#L1CC").text() * 1 / ($("#L1AYFFJ").text() * 1 + $("#L1BYFFJ").text() * 1 + $("#L1AYLTR").text() * 1 + $("#L1BYLTR").text() * 1)) * 100).toFixed(2)) + '%');
  64. $("#L2CXL").text(Converts((($("#L2CC").text() * 1 / ($("#L2AYFFJ").text() * 1 + $("#L2BYFFJ").text() * 1 + $("#L2AYLTR").text() * 1 + $("#L2BYLTR").text() * 1)) * 100).toFixed(2)) + '%');
  65. $("#L3CXL").text(Converts((($("#L3CC").text() * 1 / ($("#L3AYFFJ").text() * 1 + $("#L3BYFFJ").text() * 1 + $("#L3AYLTR").text() * 1 + $("#L3BYLTR").text() * 1)) * 100).toFixed(2)) + '%');
  66. $("#L4CXL").text(Converts((($("#L4CC").text() * 1 / ($("#L4AYFFJ").text() * 1 + $("#L4BYFFJ").text() * 1 + $("#L4AYLTR").text() * 1 + $("#L4BYLTR").text() * 1)) * 100).toFixed(2)) + '%');
  67. $("#L5CXL").text(Converts((($("#L5CC").text() * 1 / ($("#L5AYFFJ").text() * 1 + $("#L5BYFFJ").text() * 1 + $("#L5AYLTR").text() * 1 + $("#L5BYLTR").text() * 1)) * 100).toFixed(2)) + '%');
  68. $("#L6CXL").text(Converts((($("#L6CC").text() * 1 / ($("#L6AYFFJ").text() * 1 + $("#L6BYFFJ").text() * 1 + $("#L6AYLTR").text() * 1 + $("#L6BYLTR").text() * 1)) * 100).toFixed(2)) + '%');
  69. //线别还原率
  70. $("#L1HYL").text(Converts(((($("#L1CC").text() * 1 + $("#L1APCLRK").text() * 1 + $("#L1BPCLRK").text() * 1) / ($("#L1AYLTR").text() * 1 + $("#L1BYLTR").text() * 1 + $("#L1AYFFJ").text() * 1 + $("#L1BYFFJ").text() * 1)) * 100).toFixed(2)) + '%');
  71. $("#L2HYL").text(Converts(((($("#L2CC").text() * 1 + $("#L2APCLRK").text() * 1 + $("#L2BPCLRK").text() * 1) / ($("#L2AYLTR").text() * 1 + $("#L2BYLTR").text() * 1 + $("#L2AYFFJ").text() * 1 + $("#L2BYFFJ").text() * 1)) * 100).toFixed(2)) + '%');
  72. $("#L3HYL").text(Converts(((($("#L3CC").text() * 1 + $("#L3APCLRK").text() * 1 + $("#L3BPCLRK").text() * 1) / ($("#L3AYLTR").text() * 1 + $("#L3BYLTR").text() * 1 + $("#L3AYFFJ").text() * 1 + $("#L3BYFFJ").text() * 1)) * 100).toFixed(2)) + '%');
  73. $("#L4HYL").text(Converts(((($("#L4CC").text() * 1 + $("#L4APCLRK").text() * 1 + $("#L4BPCLRK").text() * 1) / ($("#L4AYLTR").text() * 1 + $("#L4BYLTR").text() * 1 + $("#L4AYFFJ").text() * 1 + $("#L4BYFFJ").text() * 1)) * 100).toFixed(2)) + '%');
  74. $("#L5HYL").text(Converts(((($("#L5CC").text() * 1 + $("#L5APCLRK").text() * 1 + $("#L5BPCLRK").text() * 1) / ($("#L5AYLTR").text() * 1 + $("#L5BYLTR").text() * 1 + $("#L5AYFFJ").text() * 1 + $("#L5BYFFJ").text() * 1)) * 100).toFixed(2)) + '%');
  75. $("#L6HYL").text(Converts(((($("#L6CC").text() * 1 + $("#L6APCLRK").text() * 1 + $("#L6BPCLRK").text() * 1) / ($("#L6AYLTR").text() * 1 + $("#L6BYLTR").text() * 1 + $("#L6AYFFJ").text() * 1 + $("#L6BYFFJ").text() * 1)) * 100).toFixed(2)) + '%');
  76. //线别产量达成率
  77. $("#L1BZCLDCL").text(Converts(($("#L1CC").text() * 1 / $("#L1ZB").text() * 1) * 100).toFixed(2) + '%');
  78. $("#L2BZCLDCL").text(Converts(($("#L2CC").text() * 1 / $("#L2ZB").text() * 1) * 100).toFixed(2) + '%');
  79. $("#L3BZCLDCL").text(Converts(($("#L3CC").text() * 1 / $("#L3ZB").text() * 1) * 100).toFixed(2) + '%');
  80. $("#L4BZCLDCL").text(Converts(($("#L4CC").text() * 1 / $("#L4ZB").text() * 1) * 100).toFixed(2) + '%');
  81. $("#L5BZCLDCL").text(Converts(($("#L5CC").text() * 1 / $("#L5ZB").text() * 1) * 100).toFixed(2) + '%');
  82. $("#L6BZCLDCL").text(Converts(($("#L6CC").text() * 1 / $("#L6ZB").text() * 1) * 100).toFixed(2) + '%');
  83. //老厂合计
  84. $("#OldFYLTR").text($("#L1AYLTR").text() * 1 + $("#L1BYLTR").text() * 1 + $("#L2AYLTR").text() * 1 + $("#L2BYLTR").text() * 1 + $("#L3AYLTR").text() * 1 + $("#L3BYLTR").text() * 1);
  85. $("#OldYFFJ").text($("#L1AYFFJ").text() * 1 + $("#L1BYFFJ").text() * 1 + $("#L2AYFFJ").text() * 1 + $("#L2BYFFJ").text() * 1 + $("#L3AYFFJ").text() * 1 + $("#L3BYFFJ").text() * 1);
  86. $("#OldCC").text($("#L1ACC").text() * 1 + $("#L1BCC").text() * 1 + $("#L2ACC").text() * 1 + $("#L2BCC").text() * 1 + $("#L3ACC").text() * 1 + $("#L3BCC").text() * 1);
  87. $("#OldHJCC").text($("#L1CC").text() * 1 + $("#L2CC").text() * 1 + $("#L3CC").text() * 1);
  88. $("#OldPCLRK").text($("#L1APCLRK").text() * 1 + $("#L1BPCLRK").text() * 1 + $("#L2APCLRK").text() * 1 + $("#L2BPCLRK").text() * 1 + $("#L3APCLRK").text() * 1 + $("#L3BPCLRK").text() * 1);
  89. $("#OldZB").text($("#L1ZB").text() * 1 + $("#L2ZB").text() * 1 + $("#L3ZB").text() * 1);
  90. $("#OldCXL").text(Converts(($("#OldCC").text() * 1 / ($("#OldFYLTR").text() * 1 + $("#OldYFFJ").text() * 1)) * 100).toFixed(2) + '%');
  91. $("#OldXBCXL").text(Converts(($("#OldCC").text() * 1 / ($("#OldFYLTR").text() * 1 + $("#OldYFFJ").text() * 1)) * 100).toFixed(2) + '%');
  92. $("#OldHYL").text(Converts(((($("#OldCC").text() * 1 + $("#OldPCLRK").text() * 1) / $("#OldFYLTR").text() * 1)) * 100).toFixed(2) + '%');
  93. $("#OldXBHYL").text(Converts(((($("#OldCC").text() * 1 + $("#OldPCLRK").text() * 1) / $("#OldFYLTR").text() * 1)) * 100).toFixed(2) + '%');
  94. $("#OldBZDCL").text(Converts(((($("#OldCC").text() * 1) / ($("#OldZB").text() * 1)) * 100).toFixed(2)) + '%');
  95. $("#OldCLDBL").text(Converts(((($("#OldCC").text() * 1) / ($("#OldZB").text() * 1)) * 100).toFixed(2)) + '%');
  96. //新厂合计
  97. $("#NewFYLTR").text($("#L4AYLTR").text() * 1 + $("#L4BYLTR").text() * 1 + $("#L5AYLTR").text() * 1 + $("#L5BYLTR").text() * 1 + $("#L6AYLTR").text() * 1 + $("#L6BYLTR").text() * 1);
  98. $("#NewYFFJ").text($("#L4AYFFJ").text() * 1 + $("#L4BYFFJ").text() * 1 + $("#L5AYFFJ").text() * 1 + $("#L5BYFFJ").text() * 1 + $("#L6AYFFJ").text() * 1 + $("#L6BYFFJ").text() * 1);
  99. $("#NewCC").text($("#L4ACC").text() * 1 + $("#L4BCC").text() * 1 + $("#L5ACC").text() * 1 + $("#L5BCC").text() * 1 + $("#L6ACC").text() * 1 + $("#L6BCC").text() * 1);
  100. $("#NewHJCC").text($("#L4CC").text() * 1 + $("#L5CC").text() * 1 + $("#L6CC").text() * 1);
  101. $("#NewPCLRK").text($("#L4APCLRK").text() * 1 + $("#L4BPCLRK").text() * 1 + $("#L5APCLRK").text() * 1 + $("#L5BPCLRK").text() * 1 + $("#L6APCLRK").text() * 1 + $("#L6BPCLRK").text() * 1);
  102. $("#NewZB").text($("#L4ZB").text() * 1 + $("#L5ZB").text() * 1 + $("#L6ZB").text() * 1);
  103. $("#NewCXL").text(Converts(($("#NewCC").text() * 1 / ($("#NewFYLTR").text() * 1 + $("#NewYFFJ").text() * 1)) * 100).toFixed(2) + '%');
  104. $("#NewXBCXL").text(Converts(($("#NewCC").text() * 1 / ($("#NewFYLTR").text() * 1 + $("#NewYFFJ").text() * 1)) * 100).toFixed(2) + '%');
  105. $("#NewHYL").text(Converts(((($("#NewCC").text() * 1 + $("#NewPCLRK").text() * 1) / $("#NewFYLTR").text() * 1)) * 100).toFixed(2) + '%');
  106. $("#NewXBHYL").text(Converts(((($("#NewCC").text() * 1 + $("#NewPCLRK").text() * 1) / $("#NewFYLTR").text() * 1)) * 100).toFixed(2) + '%');
  107. $("#NewBZDCL").text(Converts(((($("#NewCC").text() * 1) / ($("#NewZB").text() * 1)) * 100).toFixed(2)) + '%');
  108. $("#NewCLDBL").text(Converts(((($("#NewCC").text() * 1) / ($("#NewZB").text() * 1)) * 100).toFixed(2)) + '%');
  109. //新老厂合计
  110. debugger;
  111. $("#OldNewFYLTR").text($("#OldFYLTR").text() * 1 + $("#NewFYLTR").text() * 1);
  112. $("#OldNewYFFJ").text($("#OldYFFJ").text() * 1 + $("#NewYFFJ").text() * 1);
  113. $("#OldNewCC").text($("#OldCC").text() * 1 + $("#NewCC").text() * 1);
  114. $("#OldNewHJCC").text($("#OldCC").text() * 1 + $("#NewCC").text() * 1);
  115. $("#OldNewPCLRK").text($("#OldPCLRK").text() * 1 + $("#NewPCLRK").text() * 1);
  116. $("#OldNewZB").text($("#OldZB").text() * 1 + $("#NewZB").text() * 1);
  117. $("#OldNewCXL").text(Converts(($("#OldNewCC").text() * 1 / ($("#OldNewFYLTR").text() * 1 + $("#OldNewYFFJ").text() * 1)) * 100).toFixed(2) + '%');
  118. $("#OldNewXBCXL").text(Converts(($("#OldNewCC").text() * 1 / ($("#OldNewFYLTR").text() * 1 + $("#OldNewYFFJ").text() * 1)) * 100).toFixed(2) + '%');
  119. $("#OldNewHYL").text(Converts((($("#OldNewCC").text() * 1 + $("#OldNewPCLRK").text() * 1) / ($("#OldNewFYLTR").text() * 1 + $("#OldNewYFFJ").text() * 1)) * 100).toFixed(2) + '%');
  120. $("#OldNewXBHYL").text(Converts((($("#OldNewCC").text() * 1 + $("#OldNewPCLRK").text() * 1) / ($("#OldNewFYLTR").text() * 1 + $("#OldNewYFFJ").text() * 1)) * 100).toFixed(2) + '%');
  121. $("#OldNewBZDCL").text(Converts((($("#OldNewCC").text() * 1) / ($("#OldNewZB").text() * 1)) * 100).toFixed(2) + '%');
  122. $("#OldNewCLDBL").text(Converts((($("#OldNewCC").text() * 1) / ($("#OldNewZB").text() * 1)) * 100).toFixed(2) + '%');
  123. }
  124. function Seach() {
  125. debugger;
  126. var TimeFrom = $("#TimeFrom").val();
  127. var TimeArrive = $("#TimeArrive").val();
  128. if (TimeFrom == TimeArrive) {
  129. var timeFromSplit = TimeFrom.split("-");
  130. var TimeInfo = timeFromSplit[0] + '年' + timeFromSplit[1]+'月';
  131. $("#TimeInfo").text(TimeInfo);
  132. $("#YearInfo").text(timeFromSplit[0]+'年');
  133. } else {
  134. var timeFromSplit = TimeFrom.split("-");
  135. var TimeArriveSplit = TimeArrive.split("-");
  136. var TimeInfo = timeFromSplit[0] + '年' + timeFromSplit[1] + '月-' + TimeArriveSplit[0] + '年' + TimeArriveSplit[1] + '月';
  137. $("#TimeInfo").text(TimeInfo);
  138. $("#YearInfo").text(timeFromSplit[0] + '年-' + TimeArriveSplit[0]+'年');
  139. }
  140. Load(TimeFrom, TimeArrive);
  141. }
  142. //获取指标
  143. function GetZB(TimeFrom, TimeArrive) {
  144. $.ajax({
  145. url: "/OMAY/OMAYKPI/GetZB?TimeFrom=" + TimeFrom + "&TimeArrive=" + TimeArrive + "&" + Math.random(),
  146. dataType: "json",
  147. async: false,
  148. success: function (data) {
  149. if (data != null && data.length > 0) {
  150. for (var i = 0; i < data.length; i++) {
  151. debugger;
  152. if (data[i].Team == 'L1') { $("#L1ZB").text(data[i].Metrics); }
  153. if (data[i].Team == 'L2') { $("#L2ZB").text(data[i].Metrics); }
  154. if (data[i].Team == 'L3') { $("#L3ZB").text(data[i].Metrics); }
  155. if (data[i].Team == 'L4') { $("#L4ZB").text(data[i].Metrics); }
  156. if (data[i].Team == 'L5') { $("#L5ZB").text(data[i].Metrics); }
  157. if (data[i].Team == 'L6') { $("#L6ZB").text(data[i].Metrics); }
  158. }
  159. }
  160. }
  161. });
  162. }
  163. //获取研发附加
  164. function GetYFFJ(TimeFrom, TimeArrive) {
  165. $.ajax({
  166. url: "/OMAY/OMAYKPI/GetYFFJ?TimeFrom=" + TimeFrom + "&TimeArrive=" + TimeArrive + "&" + Math.random(),
  167. dataType: "json",
  168. async: false,
  169. success: function (data) {
  170. if (data != null && data.length > 0) {
  171. for (var i = 0; i < data.length; i++) {
  172. if (data[i].Team == 'L1A') { $("#L1AYFFJ").text(data[i].Picking); }
  173. if (data[i].Team == 'L1B') { $("#L1BYFFJ").text(data[i].Picking); }
  174. if (data[i].Team == 'L2A') { $("#L2AYFFJ").text(data[i].Picking); }
  175. if (data[i].Team == 'L2B') { $("#L2BYFFJ").text(data[i].Picking); }
  176. if (data[i].Team == 'L3A') { $("#L3AYFFJ").text(data[i].Picking); }
  177. if (data[i].Team == 'L3B') { $("#L3BYFFJ").text(data[i].Picking); }
  178. if (data[i].Team == 'L4A') { $("#L4AYFFJ").text(data[i].Picking); }
  179. if (data[i].Team == 'L4B') { $("#L4BYFFJ").text(data[i].Picking); }
  180. if (data[i].Team == 'L5A') { $("#L5AYFFJ").text(data[i].Picking); }
  181. if (data[i].Team == 'L5B') { $("#L5BYFFJ").text(data[i].Picking); }
  182. if (data[i].Team == 'L6A') { $("#L6AYFFJ").text(data[i].Picking); }
  183. if (data[i].Team == 'L6B') { $("#L6BYFFJ").text(data[i].Picking); }
  184. }
  185. }
  186. }
  187. });
  188. }
  189. function GetYLAndPC(Type, Group, TimeFrom, TimeArrive) {
  190. var YLTR;
  191. var PCLRK;
  192. var CC;
  193. $.ajax({
  194. url: "/OMAY/OMAYKPI/GetYLAndPC?Type=" + Type + "&Group=" + Group +"&TimeFrom=" + TimeFrom + "&TimeArrive=" + TimeArrive + "&" + Math.random(),
  195. dataType: "json",
  196. async: false,
  197. success: function (data) {
  198. YLTR = data.rows[0].YLTR;
  199. PCLRK = data.rows[0].PCLRK;
  200. }
  201. });
  202. $.ajax({
  203. url: "/OMAY/OMAYKPI/GetCC?Type=" + Type + "&Group=" + Group + "&TimeFrom=" + TimeFrom + "&TimeArrive=" + TimeArrive + "&" + Math.random(),
  204. dataType: "json",
  205. async: false,
  206. success: function (data) {
  207. CC = data.rows[0].CC;
  208. }
  209. });
  210. if (Group=="A") {
  211. $("#" + Type + "AYLTR").text(YLTR);//原材料投入
  212. $("#" + Type + "APCLRK").text(PCLRK);//破碎料入库
  213. $("#" + Type + "ACC").text(CC);//产出
  214. var YFFJ = ($("#" + Type + "AYFFJ").text() !== undefined ? $("#" + Type + "AYFFJ").text() : 0);
  215. var ZB = ($("#" + Type + "ZB").text() !== undefined ? $("#" + Type + "ZB").text() : 0);
  216. $("#" + Type + "ACXL").text(Converts(((CC * 1 / (YLTR * 1 + YFFJ * 1)) * 100).toFixed(2)) + '%');//成型率
  217. $("#" + Type + "AHYL").text(Converts((((CC*1 + PCLRK*1) / (YLTR*1 + YFFJ*1)) * 100).toFixed(2)) + '%');//还原率
  218. $("#" + Type + "ABZCLDCL").text(Converts(((CC * 1 / (ZB*1/2)) * 100).toFixed(2)) + '%');//班组产量达成率
  219. }
  220. else
  221. {
  222. $("#" + Type + "BYLTR").text(YLTR);//原材料投入
  223. $("#" + Type + "BPCLRK").text(PCLRK);//破碎料入库
  224. $("#" + Type + "BCC").text(CC);//产出
  225. var YFFJ = ($("#" + Type + "BYFFJ").text() !== undefined ? $("#" + Type + "BYFFJ").text() : 0);
  226. var ZB = ($("#" + Type + "ZB").text() !== undefined ? $("#" + Type + "ZB").text() : 0);
  227. $("#" + Type + "BCXL").text(Converts(((CC * 1 / (YLTR * 1 + YFFJ * 1)) * 100).toFixed(2)) + '%');//成型率
  228. $("#" + Type + "BHYL").text(Converts((((CC * 1 + PCLRK * 1) / (YLTR * 1 + YFFJ * 1)) * 100).toFixed(2)) + '%');//还原率
  229. $("#" + Type + "BBZCLDCL").text(Converts(((CC * 1 / (ZB * 1/2)) * 100).toFixed(2)) + '%');//班组产量达成率
  230. }
  231. }
  232. function Converts(value) {
  233. if (isNaN(value) || !isFinite(value)) {
  234. return 0;
  235. } else {
  236. return value;
  237. }
  238. }
  239. function btn_print() {
  240. $("#print").jqprint();
  241. };
  242. </script>
  243. <div class="topPanel" style="height:50px;">
  244. <div class="toolbar">
  245. <div class="btn-group">
  246. <a class="btn btn-primary" onclick="$.reload()"><span class="glyphicon glyphicon-refresh"></span></a>
  247. <a class="btn btn-default " onclick="btn_print()"><i class="fa fa-print" style="margin-right: 5px; font-size: 13px;"></i>直接打印</a>
  248. </div>
  249. <script>$('.toolbar').authorizeButton()</script>
  250. </div>
  251. <div class="search">
  252. <table>
  253. <tr>
  254. <td style="text-align:right;"><label class="lglabel" for="txt_TimeFrom">&nbsp;&nbsp;&nbsp;日期(从)</label>:</td>
  255. <td>
  256. <div class="input-group">
  257. <input id="TimeFrom" name="Time" type="text" class="form-control required" style="width:80px;" maxlength="10" onclick="WdatePicker({ dateFmt: 'yyyy-MM'})" placeholder="日期(从)" />
  258. </div>
  259. </td>
  260. <td style="text-align:right;"><label class="lglabel" for="txt_TimeArrive">&nbsp;&nbsp;&nbsp;日期(到)</label>:</td>
  261. <td>
  262. <div class="input-group">
  263. <input id="TimeArrive" name="Time" type="text" class="form-control required" style="width:80px;" maxlength="10" onclick="WdatePicker({ dateFmt: 'yyyy-MM' })" placeholder="日期(到)" />
  264. </div>
  265. </td>
  266. <td>
  267. <span class="input-group-btn">
  268. <button id="btn_search" type="button" class="btn btn-primary" onclick="Seach()"><i class="fa fa-search"></i></button>
  269. </span>
  270. </td>
  271. </tr>
  272. </table>
  273. </div>
  274. </div>
  275. <div id="print">
  276. @*<div style="text-align:center;height:30px;line-height:30px;font-weight: bold; font-size: 20px;"><label id="Year">2023</label>年<label id="Month">09</label>月车间KPI数据</div>*@
  277. <div style="margin-top: 2px; margin-left: 4px; margin-right: 4px;">
  278. <div style="padding-top: 2px; margin-right: 3px;">
  279. <table class="form" style="border-collapse: collapse; " >
  280. <tr>
  281. <th rowspan="2"><label id="YearInfo"></label></th>
  282. <th >单位:T </th>
  283. <th colspan="12">奥美车间KPI数据 </th>
  284. </tr>
  285. <tr>
  286. <th >月份</th>
  287. <th colspan="12"><label id="TimeInfo"></label> </th>
  288. </tr>
  289. <tr>
  290. <th >线别</th>
  291. <th >班组</th>
  292. <th>原料投入</th>
  293. <th >研发附加</th>
  294. <th >产出</th>
  295. <th >线别合计产出</th>
  296. <th >破碎料入库</th>
  297. <th >成型率</th>
  298. <th>线别成型率</th>
  299. <th >还原率</th>
  300. <th >线别还原率</th>
  301. <th >指标</th>
  302. <th >班组产量达成率</th>
  303. <th >产量达成率</th>
  304. </tr>
  305. <tr>
  306. <th rowspan="2" id="L1">L1</th>
  307. <td id="L1A">L1A</td>
  308. <td id="L1AYLTR"></td>
  309. <td id="L1AYFFJ"></td>
  310. <td id="L1ACC"></td>
  311. <td id="L1CC" rowspan="2" ></td>
  312. <td id="L1APCLRK"></td>
  313. <td id="L1ACXL"></td>
  314. <td id="L1CXL" rowspan="2" ></td>
  315. <td id="L1AHYL"></td>
  316. <td id="L1HYL" rowspan="2"></td>
  317. <td id="L1ZB" rowspan="2"></td>
  318. <td id="L1ABZCLDCL"></td>
  319. <td id="L1BZCLDCL" rowspan="2"></td>
  320. </tr>
  321. <tr>
  322. <td id="L1B">L1B</td>
  323. <td id="L1BYLTR"></td>
  324. <td id="L1BYFFJ"></td>
  325. <td id="L1BCC"></td>
  326. <td id="L1BPCLRK"></td>
  327. <td id="L1BCXL"></td>
  328. <td id="L1BHYL"></td>
  329. <td id="L1BBZCLDCL"></td>
  330. </tr>
  331. <tr>
  332. <th rowspan="2" id="L2">L2</th>
  333. <td id="L2A">L2A</td>
  334. <td id="L2AYLTR"></td>
  335. <td id="L2AYFFJ"></td>
  336. <td id="L2ACC"></td>
  337. <td id="L2CC" rowspan="2"></td>
  338. <td id="L2APCLRK"></td>
  339. <td id="L2ACXL"></td>
  340. <td id="L2CXL" rowspan="2"></td>
  341. <td id="L2AHYL"></td>
  342. <td id="L2HYL" rowspan="2"></td>
  343. <td id="L2ZB" rowspan="2"></td>
  344. <td id="L2ABZCLDCL"></td>
  345. <td id="L2BZCLDCL" rowspan="2"></td>
  346. </tr>
  347. <tr>
  348. <td id="L2B">L2B</td>
  349. <td id="L2BYLTR"></td>
  350. <td id="L2BYFFJ"></td>
  351. <td id="L2BCC"></td>
  352. <td id="L2BPCLRK"></td>
  353. <td id="L2BCXL"></td>
  354. <td id="L2BHYL"></td>
  355. <td id="L2BBZCLDCL"></td>
  356. </tr>
  357. <tr>
  358. <th rowspan="2" id="L3">L3</th>
  359. <td id="L3A">L3A</td>
  360. <td id="L3AYLTR"></td>
  361. <td id="L3AYFFJ"></td>
  362. <td id="L3ACC"></td>
  363. <td id="L3CC" rowspan="2"></td>
  364. <td id="L3APCLRK"></td>
  365. <td id="L3ACXL"></td>
  366. <td id="L3CXL" rowspan="2"></td>
  367. <td id="L3AHYL"></td>
  368. <td id="L3HYL" rowspan="2"></td>
  369. <td id="L3ZB" rowspan="2"></td>
  370. <td id="L3ABZCLDCL"></td>
  371. <td id="L3BZCLDCL" rowspan="2"></td>
  372. </tr>
  373. <tr>
  374. <td id="L3B">L3B</td>
  375. <td id="L3BYLTR"></td>
  376. <td id="L3BYFFJ"></td>
  377. <td id="L3BCC"></td>
  378. <td id="L3BPCLRK"></td>
  379. <td id="L3BCXL"></td>
  380. <td id="L3BHYL"></td>
  381. <td id="L3BBZCLDCL"></td>
  382. </tr>
  383. <tr>
  384. <th colspan="2" id="OldFactory">老厂合计</th>
  385. <td id="OldFYLTR"></td>
  386. <td id="OldYFFJ"></td>
  387. <td id="OldCC"></td>
  388. <td id="OldHJCC"></td>
  389. <td id="OldPCLRK"></td>
  390. <td id="OldCXL"></td>
  391. <td id="OldXBCXL"></td>
  392. <td id="OldHYL"></td>
  393. <td id="OldXBHYL"></td>
  394. <td id="OldZB"></td>
  395. <td id="OldBZDCL"></td>
  396. <td id="OldCLDBL"></td>
  397. </tr>
  398. <tr>
  399. <th rowspan="2" id="L4">L4</th>
  400. <td id="L4A">L4A</td>
  401. <td id="L4AYLTR"></td>
  402. <td id="L4AYFFJ"></td>
  403. <td id="L4ACC"></td>
  404. <td id="L4CC" rowspan="2"></td>
  405. <td id="L4APCLRK"></td>
  406. <td id="L4ACXL"></td>
  407. <td id="L4CXL" rowspan="2"></td>
  408. <td id="L4AHYL"></td>
  409. <td id="L4HYL" rowspan="2"></td>
  410. <td id="L4ZB" rowspan="2"></td>
  411. <td id="L4ABZCLDCL"></td>
  412. <td id="L4BZCLDCL" rowspan="2"></td>
  413. </tr>
  414. <tr>
  415. <td id="L4B">L4B</td>
  416. <td id="L4BYLTR"></td>
  417. <td id="L4BYFFJ"></td>
  418. <td id="L4BCC"></td>
  419. <td id="L4BPCLRK"></td>
  420. <td id="L4BCXL"></td>
  421. <td id="L4BHYL"></td>
  422. <td id="L4BBZCLDCL"></td>
  423. </tr>
  424. <tr>
  425. <th rowspan="2" id="L5">L5</th>
  426. <td id="L5A">L5A</td>
  427. <td id="L5AYLTR"></td>
  428. <td id="L5AYFFJ"></td>
  429. <td id="L5ACC"></td>
  430. <td id="L5CC" rowspan="2"></td>
  431. <td id="L5APCLRK"></td>
  432. <td id="L5ACXL"></td>
  433. <td id="L5CXL" rowspan="2"></td>
  434. <td id="L5AHYL"></td>
  435. <td id="L5HYL" rowspan="2"></td>
  436. <td id="L5ZB" rowspan="2"></td>
  437. <td id="L5ABZCLDCL"></td>
  438. <td id="L5BZCLDCL" rowspan="2"></td>
  439. </tr>
  440. <tr>
  441. <td id="L5B">L5B</td>
  442. <td id="L5BYLTR"></td>
  443. <td id="L5BYFFJ"></td>
  444. <td id="L5BCC"></td>
  445. <td id="L5BPCLRK"></td>
  446. <td id="L5BCXL"></td>
  447. <td id="L5BHYL"></td>
  448. <td id="L5BBZCLDCL"></td>
  449. </tr>
  450. <tr>
  451. <th rowspan="2" id="L6">L6</th>
  452. <td id="L6A">L6A</td>
  453. <td id="L6AYLTR"></td>
  454. <td id="L6AYFFJ"></td>
  455. <td id="L6ACC"></td>
  456. <td id="L6CC" rowspan="2"></td>
  457. <td id="L6APCLRK"></td>
  458. <td id="L6ACXL"></td>
  459. <td id="L6CXL" rowspan="2"></td>
  460. <td id="L6AHYL"></td>
  461. <td id="L6HYL" rowspan="2"></td>
  462. <td id="L6ZB" rowspan="2"></td>
  463. <td id="L6ABZCLDCL"></td>
  464. <td id="L6BZCLDCL" rowspan="2"></td>
  465. </tr>
  466. <tr>
  467. <td id="L6B">L6B</td>
  468. <td id="L6BYLTR"></td>
  469. <td id="L6BYFFJ"></td>
  470. <td id="L6BCC"></td>
  471. <td id="L6BPCLRK"></td>
  472. <td id="L6BCXL"></td>
  473. <td id="L6BHYL"></td>
  474. <td id="L6BBZCLDCL"></td>
  475. </tr>
  476. <tr>
  477. <th colspan="2" id="NewFactory">新厂合计</th>
  478. <td id="NewFYLTR"></td>
  479. <td id="NewYFFJ"></td>
  480. <td id="NewCC"></td>
  481. <td id="NewHJCC"></td>
  482. <td id="NewPCLRK"></td>
  483. <td id="NewCXL"></td>
  484. <td id="NewXBCXL"></td>
  485. <td id="NewHYL"></td>
  486. <td id="NewXBHYL"></td>
  487. <td id="NewZB"></td>
  488. <td id="NewBZDCL"></td>
  489. <td id="NewCLDBL"></td>
  490. </tr>
  491. <tr>
  492. <th colspan="2" id="OldNewFactory">新老厂合计</th>
  493. <td id="OldNewFYLTR"></td>
  494. <td id="OldNewYFFJ"></td>
  495. <td id="OldNewCC"></td>
  496. <td id="OldNewHJCC"></td>
  497. <td id="OldNewPCLRK"></td>
  498. <td id="OldNewCXL"></td>
  499. <td id="OldNewXBCXL"></td>
  500. <td id="OldNewHYL"></td>
  501. <td id="OldNewXBHYL"></td>
  502. <td id="OldNewZB"></td>
  503. <td id="OldNewBZDCL"></td>
  504. <td id="OldNewCLDBL"></td>
  505. </tr>
  506. </table>
  507. </div>
  508. </div>
  509. </div>