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.

784 lines
30 KiB

  1. 
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <!--更多资源: -->
  6. <meta charset="utf-8" />
  7. <meta name="description" content="" />
  8. <meta name="keywords" content="" />
  9. <meta name="viewport"
  10. content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
  11. <title>执行看板</title>
  12. <!--大屏-->
  13. <link type="text/css" href="~/Content/Cust003/css/public.css" rel="stylesheet" />
  14. <link type="text/css" href="~/Content/Cust003/css/icon.css" rel="stylesheet" />
  15. <link type="text/css" href="~/Content/Cust003/css/index.css" rel="stylesheet" />
  16. <link rel="stylesheet" href="~/Content/Cust069/fonts/icomoon.css">
  17. <script src="~/Content/js/jquery/jquery-2.1.1.min.js" type="text/javascript"></script>
  18. @*<script src="~/Content/Cust003/js/jquery-1.11.0.min.js" type="text/javascript"></script>*@
  19. <script src="~/Content/Cust003/js/jquery.numscroll.js"
  20. type="text/javascript"
  21. charset="utf-8"></script>
  22. <script src="~/Content/js/echarts/echarts5.3.3.min.js"></script>
  23. <style>
  24. h3 {
  25. color: #FFFFFF;
  26. text-shadow: #05d1fc 0px 1px 3px, #05d1fc 1px 0px 3px,#05d1fc 0px -1px 3px, #05d1fc -1px 0px 3px;
  27. filter: glow(color=#00FFCC,strength=3);
  28. }
  29. .rightMain_top {
  30. width: 100%;
  31. padding-bottom: 0.1rem;
  32. }
  33. .animationNone {
  34. animation: none !important;
  35. }
  36. .CustDiv2 ul li:nth-child(1), .CustDiv2 div div ul li:nth-child(1) {
  37. width: 20% !important;
  38. }
  39. .CustDiv2 ul li:nth-child(2), .CustDiv2 div div ul li:nth-child(2) {
  40. width: 25% !important;
  41. }
  42. .CustDiv2 ul li:nth-child(3), .CustDiv2 div div ul li:nth-child(3) {
  43. width: 11% !important;
  44. }
  45. .CustDiv2 ul li:nth-child(4), .CustDiv2 div div ul li:nth-child(4) {
  46. width: 11% !important;
  47. }
  48. .CustDiv2 ul li:nth-child(5), .CustDiv2 div div ul li:nth-child(5) {
  49. width: 11% !important;
  50. }
  51. .CustDiv2 ul li:nth-child(6), .CustDiv2 div div ul li:nth-child(6) {
  52. width: 35% !important;
  53. }
  54. .CustDiv3 ul li:nth-child(1), .CustDiv3 div div ul li:nth-child(1) {
  55. width: 20% !important;
  56. }
  57. .CustDiv3 ul li:nth-child(2), .CustDiv3 div div ul li:nth-child(2) {
  58. width: 28% !important;
  59. }
  60. .CustDiv3 ul li:nth-child(3), .CustDiv3 div div ul li:nth-child(3) {
  61. width: 11% !important;
  62. }
  63. .CustDiv3 ul li:nth-child(4), .CustDiv3 div div ul li:nth-child(4) {
  64. width: 15% !important;
  65. }
  66. .CustDiv3 ul li:nth-child(5), .CustDiv3 div div ul li:nth-child(5) {
  67. width: 25% !important;
  68. }
  69. .CustDiv3 ul li:nth-child(6), .CustDiv3 div div ul li:nth-child(6) {
  70. width: 0% !important;
  71. }
  72. /*.CustDiv4 ul li:nth-child(1), .CustDiv4 div div ul li:nth-child(1) {
  73. width: 5% !important;
  74. }*/
  75. .CustDiv4 ul li:nth-child(2), .CustDiv4 div div ul li:nth-child(2) {
  76. width: 18% !important;
  77. }
  78. .CustDiv4 ul li:nth-child(3), .CustDiv4 div div ul li:nth-child(3) {
  79. width: 26% !important;
  80. }
  81. .CustDiv4 ul li:nth-child(4), .CustDiv4 div div ul li:nth-child(4) {
  82. width: 30% !important;
  83. }
  84. .CustDiv4 ul li:nth-child(5), .CustDiv4 div div ul li:nth-child(5) {
  85. width: 5% !important;
  86. }
  87. .CustDiv4 ul li:nth-child(6), .CustDiv4 div div ul li:nth-child(6) {
  88. width: 5% !important;
  89. }
  90. .CustDiv4 ul li:nth-child(7), .CustDiv4 div div ul li:nth-child(7) {
  91. width: 5% !important;
  92. }
  93. .CustDiv1 ul li:nth-child(1), .CustDiv1 div div ul li:nth-child(1) {
  94. width: 30% !important;
  95. }
  96. .CustDiv1 ul li:nth-child(2), .CustDiv1 div div ul li:nth-child(2) {
  97. width: 20% !important;
  98. }
  99. .CustDiv1 ul li:nth-child(3), .CustDiv1 div div ul li:nth-child(3) {
  100. width: 20% !important;
  101. }
  102. .CustDiv1 ul li:nth-child(4), .CustDiv1 div div ul li:nth-child(4) {
  103. width: 20% !important;
  104. }
  105. .CustDiv1 ul li:nth-child(5), .CustDiv1 div div ul li:nth-child(5) {
  106. width: 10% !important;
  107. }
  108. .CustDiv1 ul li:nth-child(6), .CustDiv1 div div ul li:nth-child(6) {
  109. width: 30% !important;
  110. }
  111. .CustDiv1 ul li:nth-child(7), .CustDiv1 div div ul li:nth-child(7) {
  112. width: 10% !important;
  113. }
  114. .leftMain_top, .leftMain_bottom {
  115. height: calc(45%);
  116. }
  117. .leftMain_topIn, .leftMain_bottomIn, .leftMain_topIn ul:nth-child(1),
  118. .leftMain_bottomIn ul:nth-child(1), .rightMain_bottom, .rightMain_bottomIn {
  119. height: 100%;
  120. }
  121. img {
  122. height: 0.2rem;
  123. width: 0.5rem;
  124. padding-top: 0.05rem;
  125. }
  126. .bg {
  127. padding-top: 0.01rem;
  128. }
  129. .title {
  130. height: 8%;
  131. text-shadow: #01db78 0px 2px 3px, #01db78 1px 0px 3px, #05d1fc 0px -2px 3px, #05d1fc -1px 0px 3px;
  132. }
  133. .TopName {
  134. vertical-align: middle;
  135. text-align: center;
  136. font-size: 30px;
  137. font-weight: 700;
  138. color: white;
  139. }
  140. .TopNameTime {
  141. vertical-align: middle;
  142. text-align: right;
  143. font-size: 20px;
  144. font-weight: 700;
  145. color: white;
  146. }
  147. /*td {
  148. box-sizing:inherit;
  149. }*/
  150. .rightMain_bottomIn .biaoge_list ul li {
  151. overflow: hidden;
  152. padding-right: 0px;
  153. }
  154. .Tableinfo td{
  155. display: inline-block;
  156. width: 13% !important;
  157. /*border: 1px solid white;*/
  158. margin-left: 3%;
  159. }
  160. .yellow {
  161. /*background-color: #FAC858;*/
  162. background-color: yellow;
  163. color:white !important;
  164. }
  165. .red {
  166. /*background-color: #FF79BC;*/
  167. background-color: red;
  168. color:white !important;
  169. }
  170. .green {
  171. /*background-color: #FF79BC;*/
  172. background-color: green;
  173. color:white !important;
  174. }
  175. .white{
  176. color:white !important;
  177. }
  178. </style>
  179. <script type="text/javascript">
  180. document.documentElement.style.fontSize =
  181. (document.documentElement.clientWidth / 768) * 100 + 'px'
  182. </script>
  183. <script src="~/Content/Cust003/js/echarts.min.js"></script>
  184. </head>
  185. <body>
  186. <div class="bg">
  187. <table class="title">
  188. <tr>
  189. <td style="width:20%">
  190. @*<div class="TopNamelogo" id="TopNamelogo">
  191. <img src="~/Content/img/ninghong.jpg" border="0" class="logoclass" />
  192. </div>*@
  193. </td>
  194. <td style="width:60%">
  195. <div class="TopName" id="TopName">执行看板</div>
  196. </td>
  197. <td style="width:20%">
  198. <div class="TopNameTime" id="TopNameTime"></div>
  199. </td>
  200. </tr>
  201. </table>
  202. @*<div class="title">执行看板</div>*@
  203. <div style="width:80%;height:3%;margin-left:10%;margin-bottom:1%;" >
  204. <table class="Tableinfo" style="color:white;width:100%;height:100%">
  205. <tr>
  206. <td>
  207. <span>原料库存:</span>
  208. <label id="YL"></label>
  209. </td>
  210. <td>
  211. <span>成品库存:</span>
  212. <label id="CP"></label>
  213. </td>
  214. <td>
  215. <span>保护膜仓:</span>
  216. <label id="BHM"></label>
  217. </td>
  218. <td>
  219. <span>造粒料仓:</span>
  220. <label id="ZLL"></label>
  221. </td>
  222. <td>
  223. <span>分切库存:</span>
  224. <label id="FQ"></label>
  225. </td>
  226. <td>
  227. <span>副产品库存:</span>
  228. <label id="FCP"></label>
  229. </td>
  230. </tr>
  231. </table>
  232. </div>
  233. <div class="leftMain_top">
  234. <div class="leftMain_topIn">
  235. <ul>
  236. <li class="LineLi">
  237. <div class="rightMain_bottom">
  238. <div class="rightMain_bottomIn">
  239. <h3> 成品发货一览</h3>
  240. <div class="biaoge biaoge_list" id="marqueelist1"
  241. style="width: 100%; ">
  242. <div class="biaoge_listIn CustDiv1">
  243. <ul class="ul_title">
  244. <li>发货单号</li>
  245. <li>状态</li>
  246. <li>滞留天数</li>
  247. <li>管理员</li>
  248. </ul>
  249. <div class="ul_list" id="marqueeCust1">
  250. <div class="ul_listIn" id="marqueeCustCH1">
  251. </div>
  252. </div>
  253. </div>
  254. </div>
  255. <span class="border_bg_leftTop"></span>
  256. @*<span class="border_bg_rightTop"></span>
  257. <span class="border_bg_leftBottom"></span>*@
  258. <span class="border_bg_rightBottom"></span>
  259. </div>
  260. </div>
  261. @*</div>*@
  262. </li>
  263. <li class="LineLi">
  264. <div class="rightMain_bottom">
  265. <div class="rightMain_bottomIn">
  266. <h3> 采购未到货一览</h3>
  267. <div class="biaoge biaoge_list" id="marqueelist2"
  268. style="width: 100%; ">
  269. <div class="biaoge_listIn CustDiv2">
  270. <ul class="ul_title">
  271. <li>到货单</li>
  272. <li>存货名称</li>
  273. <li>规格型号</li>
  274. <li>应到数量</li>
  275. <li>未入库数量</li>
  276. <li>供应商</li>
  277. </ul>
  278. <div class="ul_list" id="marqueeCust2">
  279. <div class="ul_listIn" id="marqueeCustCH2">
  280. </div>
  281. </div>
  282. </div>
  283. </div>
  284. <span class="border_bg_leftTop"></span>
  285. @*<span class="border_bg_rightTop"></span>
  286. <span class="border_bg_leftBottom"></span>*@
  287. <span class="border_bg_rightBottom"></span>
  288. </div>
  289. </div>
  290. </li>
  291. <li class="LineLi">
  292. <div class="rightMain_bottom">
  293. <div class="rightMain_bottomIn">
  294. <h3> 成品未入库</h3>
  295. <div class="biaoge biaoge_list" id="marqueelist3"
  296. style="width: 100%; ">
  297. <div class="biaoge_listIn CustDiv4">
  298. <ul class="ul_title">
  299. <li>产线</li>
  300. <li>存货编码</li>
  301. <li>数量</li>
  302. <li>滞留天数</li>
  303. </ul>
  304. <div class="ul_list" id="marqueeCust3">
  305. <div class="ul_listIn" id="marqueeCustCH3">
  306. </div>
  307. </div>
  308. </div>
  309. </div>
  310. <span class="border_bg_leftTop"></span>
  311. @*<span class="border_bg_rightTop"></span>
  312. <span class="border_bg_leftBottom"></span>*@
  313. <span class="border_bg_rightBottom"></span>
  314. </div>
  315. </div>
  316. </li>
  317. </ul>
  318. </div>
  319. </div>
  320. <div class="leftMain_bottom">
  321. <div class="leftMain_bottomIn">
  322. <ul>
  323. <li class="LineLi">
  324. <div class="rightMain_bottom">
  325. <div class="rightMain_bottomIn">
  326. <h3> 委外加工状态一览</h3>
  327. <div class="biaoge biaoge_list" id="marqueelist4"
  328. style="width: 100%; ">
  329. <div class="biaoge_listIn CustDiv1">
  330. <ul class="ul_title">
  331. <li>委外订单号</li>
  332. <li>状态</li>
  333. <li>出库单号</li>
  334. <li>发单时间</li>
  335. </ul>
  336. <div class="ul_list" id="marqueeCust4">
  337. <div class="ul_listIn" id="marqueeCustCH4">
  338. </div>
  339. </div>
  340. </div>
  341. </div>
  342. <span class="border_bg_leftTop"></span>
  343. @*<span class="border_bg_rightTop"></span>*@
  344. @*<span class="border_bg_leftBottom"></span>*@
  345. <span class="border_bg_rightBottom"></span>
  346. </div>
  347. </div>
  348. </li>
  349. <li class="LineLi">
  350. <div class="rightMain_bottom">
  351. <div class="rightMain_bottomIn">
  352. <h3> 委外未到货一览</h3>
  353. <div class="biaoge biaoge_list" id="marqueelist5"
  354. style="width: 100%; ">
  355. <div class="biaoge_listIn CustDiv2">
  356. <ul class="ul_title">
  357. <li>到货单</li>
  358. <li>物料编码</li>
  359. <li>规格型号</li>
  360. <li>应到数量</li>
  361. <li>未入库数量</li>
  362. <li>供应商</li>
  363. </ul>
  364. <div class="ul_list" id="marqueeCust5">
  365. <div class="ul_listIn" id="marqueeCustCH5">
  366. </div>
  367. </div>
  368. </div>
  369. </div>
  370. <span class="border_bg_leftTop"></span>
  371. @*<span class="border_bg_rightTop"></span>
  372. <span class="border_bg_leftBottom"></span>*@
  373. <span class="border_bg_rightBottom"></span>
  374. </div>
  375. </div>
  376. </li>
  377. <li class="LineLi">
  378. <div class="rightMain_bottom">
  379. <div class="rightMain_bottomIn">
  380. <h3> 今日调拨</h3>
  381. <div class="biaoge biaoge_list" id="marqueelist6"
  382. style="width: 100%; ">
  383. <div class="biaoge_listIn CustDiv3">
  384. <ul class="ul_title">
  385. <li>存货编码</li>
  386. <li>存货名称</li>
  387. <li>数量</li>
  388. <li>产线</li>
  389. <li>调拨时间</li>
  390. </ul>
  391. <div class="ul_list" id="marqueeCust6">
  392. <div class="ul_listIn" id="marqueeCustCH6">
  393. </div>
  394. </div>
  395. </div>
  396. </div>
  397. <span class="border_bg_leftTop"></span>
  398. @*<span class="border_bg_rightTop"></span>
  399. <span class="border_bg_leftBottom"></span>*@
  400. <span class="border_bg_rightBottom"></span>
  401. </div>
  402. </div>
  403. </li>
  404. </ul>
  405. </div>
  406. </div>
  407. @*</div>*@
  408. <div style="clear: both"></div>
  409. </div>
  410. <script>
  411. var DataF = 3000000;// 300;//单位秒 //刷新数据时间
  412. var _BarWidth = "25%";
  413. var _barBorderRadius_M = 2;
  414. $(function () {
  415. getTime();
  416. GetDataZong();
  417. //刷新数据
  418. timer = setInterval(function () {
  419. GetDataZong();
  420. }, DataF * 1000);
  421. });
  422. function getTime() {
  423. var days = new Array("日", "一", "二", "三", "四", "五", "六");
  424. var currentDT = new Date();
  425. var y, m, date, day, hs, ms, ss, theDateStr;
  426. y = currentDT.getFullYear(); //四位整数表示的年份
  427. m = currentDT.getMonth() < 10 ? '0' + (currentDT.getMonth() + 1) : (currentDT.getMonth() + 1); //月
  428. date = currentDT.getDate() < 10 ? '0' + currentDT.getDate() : currentDT.getDate(); //日
  429. day = currentDT.getDay(); //星期
  430. hs = currentDT.getHours() < 10 ? '0' + currentDT.getHours() : currentDT.getHours(); //时
  431. ms = currentDT.getMinutes() < 10 ? '0' + currentDT.getMinutes() : currentDT.getMinutes(); //分
  432. ss = currentDT.getSeconds() < 10 ? '0' + currentDT.getSeconds() : currentDT.getSeconds(); //秒
  433. theDateStr = y + "-" + m + "-" + date + " " + hs + ":" + ms + ":" + ss;
  434. //填充到组件中
  435. $("#TopNameTime").text(theDateStr);
  436. // setTimeout 在执行时,是在载入后延迟指定时间后,去执行一次表达式,仅执行一次
  437. window.setTimeout(getTime, 1000);
  438. }
  439. function GetDataZong() {
  440. //echart1_1();
  441. Get_KCInfo();
  442. Get_Table1("marqueeCustCH1", "30");
  443. Get_Table2("marqueeCustCH2", "60");
  444. Get_Table3("marqueeCustCH3", "90");
  445. Get_Table4("marqueeCustCH4", "90");
  446. Get_Table5("marqueeCustCH5", "90");
  447. Get_Table6("marqueeCustCH6", "90");
  448. GetZhiXing_RCVUnInWare();
  449. SetIfGo("marqueeCust1", "marqueeCustCH1", "marqueelist1");//判断是否需要滚动
  450. SetIfGo("marqueeCust2", "marqueeCustCH2", "marqueelist2");//判断是否需要滚动
  451. SetIfGo("marqueeCust3", "marqueeCustCH3", "marqueelist3");//判断是否需要滚动
  452. SetIfGo("RCVUNINView", "RCVUNIN", "marqueelist4");//判断是否需要滚动
  453. }
  454. function Get_KCInfo() {
  455. $.ajax({
  456. url: "/SRM/WatchPanel/Get_KCInfo" + "?" + Math.random(),
  457. dataType: "json",
  458. async: false,
  459. success: function (data) {
  460. $("#YL").text(data[0].YCL);
  461. $("#CP").text(data[0].CP);
  462. $("#BHM").text(data[0].BHM);
  463. $("#ZLL").text(data[0].ZLL);
  464. $("#FQ").text(data[0].FQ);
  465. $("#FCP").text(data[0].FCP);
  466. },
  467. error: function (aa) {
  468. }
  469. });
  470. }
  471. function SetIfGo(DivID, DivCHID,listID)
  472. {
  473. var ListDIV = $("#" + listID)[0].clientHeight;
  474. var H_marqueediv = $("#" + DivCHID)[0];
  475. //var H_marquee= H_marqueediv.clientHeight;
  476. var H_marqueeView = $("#" + DivID)[0].clientHeight;
  477. if ((ListDIV-40) > H_marqueeView) {
  478. if (!$("#" + DivID).hasClass("animationNone")) {
  479. $("#" + DivID).addClass("animationNone");
  480. }
  481. if (!$("#" + DivCHID).hasClass("animationNone")) {
  482. $("#" + DivCHID).addClass("animationNone");
  483. }
  484. }
  485. else {
  486. if ($("#" + DivID).hasClass("animationNone")) {
  487. $("#" + DivID).removeClass("animationNone");
  488. }
  489. if ($("#" + DivCHID).hasClass("animationNone")) {
  490. $("#" + DivCHID).removeClass("animationNone");
  491. }
  492. }
  493. }
  494. function Get_Table1(marqueeID, ItemNumber) {
  495. $.ajax({
  496. url: "/SRM/WatchPanel/Get_Table1" + "?" + Math.random(),
  497. dataType: "json",
  498. async: false,
  499. success: function (data) {
  500. if (data != false && data != null && data.length > 0) {
  501. var html = "";
  502. for (var i = 0; i < data.length; i++) {
  503. var statusClass = "";
  504. if (data[i].Status == 'yellow') {
  505. statusClass = "yellow";
  506. } else if (data[i].Status == 'red') {
  507. statusClass = "red";
  508. } else if (data[i].Status == 'green') {
  509. statusClass = "green";
  510. }
  511. else {
  512. statusClass = "white";
  513. }
  514. html += '<ul class="ul_con ' + statusClass + '"> ';
  515. html += ' <li>' + data[i].发货单号 + '</li> <li>' + data[i].状态 + '</li>';
  516. html += '<li>' + data[i].滞留天数 + '</li> <li>' + data[i].管理员 + '</li> </ul> ';
  517. }
  518. $("#" + marqueeID).html(html);
  519. } else {
  520. $("#" + marqueeID).html("");
  521. }
  522. },
  523. error: function (aa) {
  524. }
  525. });
  526. }
  527. function Get_Table2(marqueeID, ItemNumber) {
  528. $.ajax({
  529. url: "/SRM/WatchPanel/Get_Table2" + "?" + Math.random(),
  530. dataType: "json",
  531. async: false,
  532. success: function (data) {
  533. if (data != false && data != null && data.length > 0) {
  534. var html = "";
  535. for (var i = 0; i < data.length; i++) {
  536. html += ' <ul class="ul_con"> ';
  537. html += '<li>' + data[i].到货单 + '</li> <li>' + data[i].存货名称 + '</li>';
  538. html += '<li>' + data[i].规格型号 + '</li> <li>' + data[i].应到数量 + '</li>';
  539. html += '<li>' + data[i].未入库数量 + '</li> <li>' + data[i].供应商 + '</li> </ul> ';
  540. }
  541. $("#" + marqueeID).html(html);
  542. } else {
  543. $("#" + marqueeID).html("");
  544. }
  545. },
  546. error: function (aa) {
  547. }
  548. });
  549. }
  550. function Get_Table3(marqueeID, ItemNumber) {
  551. $.ajax({
  552. url: "/SRM/WatchPanel/Get_Table3" + "?" + Math.random(),
  553. dataType: "json",
  554. async: false,
  555. success: function (data) {
  556. if (data != false && data != null && data.length > 0) {
  557. var html = "";
  558. for (var i = 0; i < data.length; i++) {
  559. var statusClass = "";
  560. if (data[i].Status === 'yellow') {
  561. statusClass = "yellow";
  562. } else if (data[i].Status === 'red') {
  563. statusClass = "red";
  564. } else if (data[i].Status === 'green') {
  565. statusClass = "green";
  566. }
  567. html += '<ul class="ul_con ' + statusClass + '">';
  568. html += '<li>' + data[i].产线 + '</li> <li>' + data[i].存货编码 + '</li>';
  569. html += '<li>' + data[i].数量 + '</li> <li>' + data[i].滞留时间 + '</li> </ul> ';
  570. }
  571. $("#" + marqueeID).html(html);
  572. } else {
  573. $("#" + marqueeID).html("");
  574. }
  575. },
  576. error: function (aa) {
  577. }
  578. });
  579. }
  580. function Get_Table4(marqueeID, ItemNumber) {
  581. $.ajax({
  582. url: "/SRM/WatchPanel/Get_Table4" + "?" + Math.random(),
  583. dataType: "json",
  584. async: false,
  585. success: function (data) {
  586. if (data != false && data != null && data.length > 0) {
  587. var html = "";
  588. for (var i = 0; i < data.length; i++) {
  589. var statusClass = "";
  590. if (data[i].Status === 'yellow') {
  591. statusClass = "yellow";
  592. } else if (data[i].Status === 'red') {
  593. statusClass = "red";
  594. } else if (data[i].Status === 'green') {
  595. statusClass = "green";
  596. }
  597. html += '<ul class="ul_con ' + statusClass + '">';
  598. html += '<li>' + data[i].委外订单号 + '</li> <li>' + data[i].状态 + '</li>';
  599. html += '<li>' + data[i].出库单号 + '</li> <li>' + data[i].发单时间 + '</li> </ul> ';
  600. }
  601. $("#" + marqueeID).html(html);
  602. } else {
  603. $("#" + marqueeID).html("");
  604. }
  605. },
  606. error: function (aa) {
  607. }
  608. });
  609. }
  610. function Get_Table5(marqueeID, ItemNumber) {
  611. $.ajax({
  612. url: "/SRM/WatchPanel/Get_Table5" + "?" + Math.random(),
  613. dataType: "json",
  614. async: false,
  615. success: function (data) {
  616. if (data != false && data != null && data.length > 0) {
  617. var html = "";
  618. for (var i = 0; i < data.length; i++) {
  619. html += ' <ul class="ul_con"> ';
  620. html += '<li>' + data[i].到货单 + '</li> <li>' + data[i].物料编码 + '</li>';
  621. html += '<li>' + data[i].规格型号 + '</li> <li>' + data[i].应到数量 + '</li>';
  622. html += '<li>' + data[i].未入库数量 + '</li> <li>' + data[i].供应商 + '</li> </ul> ';
  623. }
  624. $("#" + marqueeID).html(html);
  625. } else {
  626. $("#" + marqueeID).html("");
  627. }
  628. },
  629. error: function (aa) {
  630. }
  631. });
  632. }
  633. function Get_Table6(marqueeID, ItemNumber) {
  634. $.ajax({
  635. url: "/SRM/WatchPanel/Get_Table6" + "?" + Math.random(),
  636. dataType: "json",
  637. async: false,
  638. success: function (data) {
  639. if (data != false && data != null && data.length > 0) {
  640. var html = "";
  641. for (var i = 0; i < data.length; i++) {
  642. html += ' <ul class="ul_con"> ';
  643. html += '<li>' + data[i].存货编码 + '</li> <li>' + data[i].存货名称 + '</li>';
  644. html += '<li>' + data[i].数量 + '</li> <li>' + data[i].产线 + '</li> </ul> ';
  645. }
  646. $("#" + marqueeID).html(html);
  647. } else {
  648. $("#" + marqueeID).html("");
  649. }
  650. },
  651. error: function (aa) {
  652. }
  653. });
  654. }
  655. </script>
  656. </body>
  657. </html>