已重命名7个文件
已修改8个文件
已添加28个文件
| | |
| | | } |
| | | |
| | | /** |
| | | * ä»å¨ä¿ç®¡ä½ä¸-ç²®æ¸©æ£æµ |
| | | * @param view |
| | | * @return |
| | | */ |
| | | @RequestMapping("/gas-check") |
| | | public String gasCheck(ModelMap view) { |
| | | return prefix + "gas-check"; |
| | | } |
| | | |
| | | /** |
| | | * ä»å¨ä¿ç®¡ä½ä¸-è«å®³æ£æµ |
| | | * @param view |
| | | * @return |
| | |
| | | } |
| | | |
| | | /** |
| | | * ä»å¨ä¿ç®¡ä½ä¸-ç²®æ¸©æ£æµ |
| | | * @param view |
| | | * @return |
| | | */ |
| | | @RequestMapping("/pest-check") |
| | | public String pestCheck(ModelMap view) { |
| | | return prefix + "pest-check"; |
| | | } |
| | | |
| | | /** |
| | | * ä»å¨ä¿ç®¡ä½ä¸-éé£ä½ä¸ |
| | | * @param view |
| | | * @return |
| | |
| | | # å¼åç¯å¢é
ç½® |
| | | server: |
| | | port: 8110 |
| | | port: 8111 |
| | | servlet: |
| | | context-path: / |
| | | tomcat: |
| | |
| | | druid: |
| | | # ä¸»åºæ°æ®æº |
| | | master: |
| | | url: jdbc:mysql://127.0.0.1:3306/fzzy_ms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | url: jdbc:mysql://127.0.0.1:3306/igds_dzhwk?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: root |
| | | password: Abc123.. |
| | | # ä»åºæ°æ®æº |
| | |
| | | |
| | | # Redisç¸å
³é
ç½® |
| | | redis: |
| | | database: 1 |
| | | database: 5 |
| | | host: 127.0.0.1 |
| | | port: 6379 |
| | | password: Abc123.. |
| | |
| | | generate-ddl: false |
| | | database-platform: org.hibernate.dialect.MySQL5InnoDBDialect |
| | | hibernate: |
| | | ddl-auto: none |
| | | ddl-auto: update |
| | | properties: |
| | | hibernate: |
| | | jdbc: |
| | |
| | | <configuration> |
| | | |
| | | <!-- 项ç®é¡¹ç® --> |
| | | <property name="app.name" value="fzzy-ms"/> |
| | | <property name="app.name" value="fzzy-dzhwk"/> |
| | | <!-- æä»¶è·¯å¾ --> |
| | | <property name="log.path" value="D:/fzzy/app/fzzy-ms/logs"/> |
| | | <property name="log.path" value="D:/fzzy/app/fzzy-dzhwk/logs"/> |
| | | |
| | | |
| | | <!-- å½©è²æ¥å¿æä»¶ --> |
| | |
| | | * @param tag |
| | | */ |
| | | function toPage(tag) { |
| | | if(tag == "recir"){ |
| | | layer.msg("ææªå¼æ¾ï¼"); |
| | | return; |
| | | } |
| | | if(tag == "n2"){ |
| | | layer.msg("ææªå¼æ¾ï¼"); |
| | | return; |
| | | } |
| | | if(tag == "security"){ |
| | | layer.msg("ææªå¼æ¾ï¼"); |
| | | return; |
| | | } |
| | | if(tag == "grain-check"){ |
| | | layer.msg("ææªå¼æ¾ï¼"); |
| | | return; |
| | | } |
| | | if(tag == "grain-handle"){ |
| | | layer.msg("ææªå¼æ¾ï¼"); |
| | | return; |
| | | } |
| | | window.location.href = "../dzhwk/" + tag; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /** |
| | | * æ ¹æ®æ°ä½ä¿¡æ¯çææå°æ¨¡ç |
| | | * |
| | | * @param depotData |
| | | * ä»åºåºæ¬ä¿¡æ¯ |
| | | * @param grainData |
| | | * ç²®æ
æ°æ®ä¿¡æ¯ |
| | | */ |
| | | builderModel = function(curData,dept) { |
| | | var depotData = curData.depotData; |
| | | var listPoint = curData.listPoint; |
| | | |
| | | var model = "<!DOCTYPE html><html lang=\"zh-cn\">\n" |
| | | + "<head><meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\"><title>æ°ä½æ¥è¡¨æ¨¡ç</title>" |
| | | + " <style>\n" |
| | | + " table,table tr th,table tr td{border:1px solid #0d1021}table{width:100%;line-height:23px;text-align:center;font-size:14px}.table-2{border-top:0px solid #0d1021 !important}.table-2 tr{border-top:0px solid #0d1021 !important}.table-2 td{border-top:0px solid #0d1021 !important}.table-row-tr{border-left:0px !important;border-right:0px !important;border-top:0px !important}.table-row-fz{border:0px !important}.link-top{width:100%;border-top:solid #0d1021 1px}</style>\n" |
| | | + "</head><body>"; |
| | | |
| | | model += "<div style=\"text-align: center\">\n" |
| | | + "<span style=\"font-size: 26px; font-weight: bold;\">\n"; |
| | | if(dept){ |
| | | model += dept.name; |
| | | }else{ |
| | | model += "--XXX--ç²®åº" |
| | | } |
| | | model += "</span><div class=\"link-top\"></div><div class=\"link-top\"></div>\n"; |
| | | model += "<span style=\"font-size: 18px; \">"; |
| | | model += depotData.name; |
| | | model += " æ°ä½æ¥è¡¨</span>\n"; |
| | | model += "</div><div style=\"margin-top: 5px;\"><span style=\"float: left;\">"; |
| | | model += " æ¹åï¼ä¸</span><span style=\"float: right;\">æ£æµæ¶é´ï¼"; |
| | | model += curData.receiveDate; |
| | | model += "</span></div>"; |
| | | |
| | | // 卿é
ç½® |
| | | model += "<table cellspacing=\"0\" cellpadding=\"0\">"; |
| | | model += "<tr><td>ééä½</td><td>CO2</td><td>O2</td><td>PH3</td><td>N2</td><td>ééä½</td><td>CO2</td><td>O2</td><td>PH3</td><td>N2</td></tr>"; |
| | | |
| | | var num = Math.ceil(listPoint.length / 2); |
| | | var index = 1; |
| | | var point; |
| | | for (var i = 0; i < num; i++) { |
| | | point = listPoint[index - 1]; |
| | | model += "<tr>"; |
| | | |
| | | model += "<td class=\"table-row-fz\">ééä½ " + point.passCode + "</td>"; |
| | | model += "<td class=\"table-row-fz\">" |
| | | + attrPoint(point, curData, "CO2") + "</td>"; |
| | | model += "<td class=\"table-row-fz\">" |
| | | + attrPoint(point, curData, "O2") + "</td>"; |
| | | model += "<td class=\"table-row-fz\">" |
| | | + attrPoint(point, curData, "PH3") + "</td>"; |
| | | model += "<td class=\"table-row-fz\">" |
| | | + attrPoint(point, curData, "N2") + "</td>"; |
| | | |
| | | index++; |
| | | |
| | | if (index > listPoint.length) { |
| | | model += "<td class=\"table-row-fz\"></td>"; |
| | | model += "<td class=\"table-row-fz\"></td>"; |
| | | model += "<td class=\"table-row-fz\"></td>"; |
| | | model += "<td class=\"table-row-fz\"></td>"; |
| | | model += "<td class=\"table-row-fz\"></td>"; |
| | | } else { |
| | | point = listPoint[index - 1]; |
| | | model += "<td class=\"table-row-fz\">ééä½ " + point.passCode + "</td>"; |
| | | model += "<td class=\"table-row-fz\">" |
| | | + attrPoint(point, curData, "CO2") + "</td>"; |
| | | model += "<td class=\"table-row-fz\">" |
| | | + attrPoint(point, curData, "O2") + "</td>"; |
| | | model += "<td class=\"table-row-fz\">" |
| | | + attrPoint(point, curData, "PH3") + "</td>"; |
| | | model += "<td class=\"table-row-fz\">" |
| | | + attrPoint(point, curData, "N2") + "</td>"; |
| | | |
| | | index++; |
| | | } |
| | | model += "</tr>"; |
| | | } |
| | | model += "</table>"; |
| | | // <!--ä¸é¢è¡¨æ ¼å¼å§--> |
| | | model += "<table cellspacing=\"0\" cellpadding=\"0\" class=\"table-2\">"; |
| | | model += "<tr><td width=\"20%\">æ£æµåæï¼</td>"; |
| | | model += "<td colspan=4>" + (curData.remark == null ? "/" : curData.remark) + "</td></tr>"; |
| | | model += "<tr><td width=\"20%\"></td><td width=\"20%\">æé«</td><td width=\"20%\">æä½</td><td width=\"20%\">å¹³å</td><td width=\"20%\">夿³¨</td></tr>"; |
| | | |
| | | // æ°ä½æ´ä½ä¿¡æ¯ |
| | | model += "<tr> <td>CO2ï¼PPMï¼</td><td>" + curData.perCo2Max + "</td>"; |
| | | model += "<td>" + curData.perCo2Min + "</td>"; |
| | | model += "<td>" + curData.perCo2 + "</td>"; |
| | | model += "<td></td></tr>"; |
| | | |
| | | model += "<tr> <td>O2ï¼%ï¼</td><td>" + curData.perO2Max + "</td>"; |
| | | model += "<td>" + curData.perO2Min + "</td>"; |
| | | model += "<td>" + curData.perO2 + "</td>"; |
| | | model += "<td></td></tr>"; |
| | | |
| | | model += "<tr> <td>PH3ï¼PPMï¼</td><td>" + curData.perPh3Max + "</td>"; |
| | | model += "<td>" + curData.perPh3Min + "</td>"; |
| | | model += "<td>" + curData.perPh3 + "</td>"; |
| | | model += "<td></td></tr>"; |
| | | |
| | | model += "<tr> <td>N2ï¼%ï¼</td><td>" + curData.perN2Max + "</td>"; |
| | | model += "<td>" + curData.perN2Min + "</td>"; |
| | | model += "<td>" + curData.perN2 + "</td>"; |
| | | model += "<td></td></tr>"; |
| | | |
| | | // ä»åºä¿¡æ¯ |
| | | model += "<tr><td>仿¿ç±»å</td><td>" + depotData.depotTypeName + "</td>"; |
| | | model += "<td>å
¥ä»æ¥æ</td><td>" + (depotData.storeDate == null ? "/" : depotData.storeDate) + "</td><td ></td></tr>"; |
| | | |
| | | model += "<tr><td>ç²®é£åç§</td><td>" + depotData.foodVarietyName + "</td>"; |
| | | model += "<td>å®é
å¨éï¼å¨ï¼</td><td>" + (depotData.storageReal == null ? "/" : (Number(depotData.storageReal)/1000).toFixed(2)) |
| | | + "</td><td ></td></tr>"; |
| | | |
| | | model += "<tr><td>å
¥ä»æ°´åï¼%ï¼</td><td>" + (depotData.perWet == null ? "/" : depotData.perWet) + "</td>"; |
| | | model += "<td>å½åæ°´åï¼%ï¼</td><td>" + (depotData.perWet == null ? "/" : depotData.perWet) + "</td><td ></td></tr>"; |
| | | |
| | | model += "<tr><td>åºç³çï¼%ï¼</td><td>" + (depotData.rough == null ? "/" : depotData.rough) + "</td>"; |
| | | model += "<td>ç²®é£äº§å°</td><td>" + (depotData.foodLocation == null ? "/" : depotData.foodLocation) |
| | | + "</td><td ></td></tr>"; |
| | | |
| | | model += "<tr><td>容éï¼kg/m3ï¼</td><td>" + (depotData.bulkWeight == null ? "/" : depotData.bulkWeight) + "</td>"; |
| | | model += "<td>é¢çææ°´çï¼%ï¼</td><td>" + (depotData.waterGluten == null ? "/" : depotData.waterGluten) + "</td><td></td></tr>"; |
| | | |
| | | model += "<tr><td>æè´¨ï¼%ï¼</td><td>" + (depotData.perImpurity == null ? "/" : depotData.perImpurity) + "</td>"; |
| | | model += "<td>ä¸å®åç²ï¼%ï¼</td><td>" + (depotData.broken == null ? "/" : depotData.broken) + "</td><td ></td></tr>"; |
| | | |
| | | model += "<tr><td>æ£æµäºº</td><td>" + curData.checkUser + "</td>"; |
| | | model += "<td>ä¿ç®¡å</td><td>" + (depotData.storeKeeperName == null ? "/" : depotData.storeKeeperName) |
| | | + "</td><td ></td></tr>"; |
| | | |
| | | model += "</table>"; |
| | | |
| | | // æ·»å å°¾é¨ä¿¡æ¯ |
| | | model += "<div style=\"margin-top: 5px;\">"; |
| | | model += "<span style=\"float: left;\">注ï¼#表示æä½ *表示æé«</span>"; |
| | | model += "<span style=\"float: right;\">å¶è¡¨æ¶é´ï¼" + curData.sysDate |
| | | + "</span></div>"; |
| | | model += "</div></body></html>"; |
| | | |
| | | return model; |
| | | }; |
| | | |
| | | // æ ¹æ®ééç¹èµå¼ï¼æ³¨ææ°æ®åºçæçåæ æ¯ä»0å¼å§ç |
| | | attrPoint = function(point, curData, type) { |
| | | if (type == "CO2") { |
| | | if (-100.0 == point.perCo2) { |
| | | return "å¤ç¨"; |
| | | } |
| | | if (curData.perCo2Max == point.perCo2) { |
| | | return point.perCo2 + "*"; |
| | | } |
| | | if (curData.perCo2Min == point.perCo2) { |
| | | return point.perCo2 + "#"; |
| | | } |
| | | } |
| | | |
| | | if (type == "O2") { |
| | | if (-100.0 == point.perO2) { |
| | | return "å¤ç¨"; |
| | | } |
| | | if (curData.perO2Max == point.perO2) { |
| | | return point.perO2 + "*"; |
| | | } |
| | | if (curData.perO2Min == point.perO2) { |
| | | return point.perO2 + "#"; |
| | | } |
| | | } |
| | | |
| | | if (type == "PH3") { |
| | | if (-100.0 == point.perPh3) { |
| | | return "å¤ç¨"; |
| | | } |
| | | if (curData.perPh3Max == point.perPh3) { |
| | | return point.perPh3 + "*"; |
| | | } |
| | | if (curData.perPh3Min == point.perPh3) { |
| | | return point.perPh3 + "#"; |
| | | } |
| | | } |
| | | |
| | | if (type == "N2") { |
| | | if (-100.0 == point.perN2) { |
| | | return "å¤ç¨"; |
| | | } |
| | | if (curData.perN2Max == point.perN2) { |
| | | return point.perN2 + "*"; |
| | | } |
| | | if (curData.perN2Min == point.perN2) { |
| | | return point.perN2 + "#"; |
| | | } |
| | | } |
| | | |
| | | return ""; |
| | | }; |
| | | |
| | | /** |
| | | * æ ¹æ®HTML模çæå°ä¸ºA4 |
| | | * |
| | | * @param strHtml |
| | | */ |
| | | previewA4 = function(strHtml) { |
| | | var LODOP = getLodop(); |
| | | LODOP.SET_PRINT_PAGESIZE(1, 0, 0, "A4"); |
| | | LODOP.PRINT_INIT("æ°ä½æ¥è¡¨"); |
| | | LODOP.ADD_PRINT_HTM(30, 40, "180mm", "100%", strHtml); |
| | | LODOP.PREVIEW(); |
| | | }; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | var layer; |
| | | var depotId;// å½åä»åºid |
| | | var curData;// å½åä»ç²®æ
æ°æ® |
| | | var mapData;// æ ¹æ®æ¥ææ¥è¯¢çæ¯ä¸ªä»åºä¸æ¡æ°æ® |
| | | var form; |
| | | var table; |
| | | var checkType; |
| | | var listData;// é»è®¤é¡µé¢ä¸çç²®æ
å表 |
| | | var gasConf;// æ°ä½ééé
置信æ¯ï¼å
æ¬å¼å§ééç¹åæªè³ééç¹ã |
| | | |
| | | $(function() { |
| | | layui.use([ 'layer', 'laydate', 'form', 'table' ], function() { |
| | | form = layui.form; |
| | | layer = layui.layer; |
| | | var laydate = layui.laydate; |
| | | table = layui.table; |
| | | |
| | | // æ¥æ |
| | | laydate.render({ |
| | | elem : '#checkDateMore', |
| | | theme : '#7b8e9f' |
| | | }); |
| | | |
| | | laydate.render({ |
| | | elem : '#printCheckDate', |
| | | theme : '#7b8e9f' |
| | | }); |
| | | |
| | | // çå¬ä»åºéæ© |
| | | form.on('select(select_depotId)', function(obj) { |
| | | flushData(null); |
| | | |
| | | //è·åå½åä»åºææå¾ |
| | | // cutImg(obj.value); |
| | | //æ ¹æ®ä»åºç¼ç 忢ééç¹ä½ç½® |
| | | // cutPoint(obj.value); |
| | | }); |
| | | |
| | | // çå¬éæ©æ¹æ¬¡ |
| | | form.on('select(select_batchId)', function(obj) { |
| | | var value = obj.value; |
| | | if (value == "0") {// è¡¨ç¤ºå¼¹åºæ´å¤æ¹æ¬¡ |
| | | showMore(); |
| | | } else { |
| | | flushByBatchId(value); |
| | | } |
| | | }); |
| | | flushData(null); |
| | | }); |
| | | }); |
| | | |
| | | //æ ¹æ®ééè¿åº¦ä¿¡æ¯æ¸²æééç¹ææ |
| | | function renderCheckPoint(checkProgress) { |
| | | if (depotId != checkProgress.depotId) { |
| | | $("#progress-info").text(""); |
| | | return; |
| | | } |
| | | |
| | | $("#progress-info").text(checkProgress.msg); |
| | | //é¦å
é¤å»å·²æææ |
| | | $(".qt-pic-icon-active").removeClass("qt-pic-icon-active"); |
| | | |
| | | var id = "#point" + checkProgress.checkPoint+"-left"; |
| | | $(id).addClass("qt-pic-icon-active"); |
| | | id = "#point" + checkProgress.checkPoint+"-right"; |
| | | $(id).addClass("qt-pic-icon-active"); |
| | | } |
| | | |
| | | /** |
| | | * 忢ééç¹ |
| | | * @param depotId |
| | | */ |
| | | function cutPoint(depotId) { |
| | | //é¦å
é¤å»å·²æææ |
| | | $(".qt-pic-icon-active").removeClass("qt-pic-icon-active"); |
| | | //æ ¹æ®ä¹ä¹è¿è¾¹ç´æ¥å¤æ |
| | | if("0135,0137,0139,0141,0143,0145,0147,0149,0151,0153".indexOf(depotId) >=0 ){ |
| | | $("#list-point-right").css("display","block"); |
| | | $("#list-point-left").css("display","none"); |
| | | }else{ |
| | | $("#list-point-right").css("display","none"); |
| | | $("#list-point-left").css("display","block"); |
| | | } |
| | | } |
| | | |
| | | // åä»æå° |
| | | function printSingle() { |
| | | layer.msg("ææªå¯¹æ¥ï¼"); |
| | | return; |
| | | layer.msg("å¼å§çææå°æ¨¡çâ¦â¦"); |
| | | var html = builderModel(curData,dept); |
| | | layer.msg("å¼å§è°ç¨æå°æºç¨åºé¢è§â¦â¦"); |
| | | previewA4(html); |
| | | }; |
| | | |
| | | // æ¹éæå° |
| | | function printBatch() { |
| | | layer.msg("ææªå¯¹æ¥ï¼"); |
| | | return; |
| | | // é¦å
å»é¤ä¹åçéæ© |
| | | var name; |
| | | $('#batchPrintSelect input').each(function() { |
| | | name = $(this).prop("name"); |
| | | if (name == "printCheckDate") {// è·³è¿ |
| | | return true; |
| | | } |
| | | $(this).prop("disabled", false); |
| | | $(this).prop("checked", false); |
| | | }); |
| | | form.render(); |
| | | |
| | | // å¼¹åºéæ©æ¡ |
| | | layer.open({ |
| | | type : 1, |
| | | title : 'æ¹éæå°ï¼çº¢è²è¡¨ç¤ºæ²¡ææ£æµè®°å½ï¼é»è®¤ä¸ºå½å¤©ï¼', |
| | | area : [ '690px', '450px' ], |
| | | shade : 0, |
| | | content : $('#batchPrintSelect'), |
| | | btn : [ 'å
¨é', 'åé', 'éé', 'æå°é¢è§', 'åæ¶æå°' ], |
| | | yes : function() { |
| | | var disabled, name; |
| | | $('#batchPrintSelect input').each(function() { |
| | | disabled = $(this).prop("disabled"); |
| | | name = $(this).prop("name"); |
| | | if (name == "printCheckDate" || disabled) { |
| | | } else { |
| | | $(this).prop("checked", true); |
| | | } |
| | | }); |
| | | form.render(); |
| | | }, |
| | | btn2 : function() { |
| | | var disabled, name; |
| | | $('#batchPrintSelect input').each(function() { |
| | | disabled = $(this).prop("disabled"); |
| | | name = $(this).prop("name"); |
| | | if (name == "printCheckDate" || disabled) { |
| | | // ä¸åå¤ç |
| | | } else { |
| | | if ($(this).prop("checked")) { |
| | | $(this).prop("checked", false); |
| | | } else { |
| | | $(this).prop("checked", true); |
| | | } |
| | | } |
| | | }); |
| | | form.render(); |
| | | return false; |
| | | }, |
| | | btn3 : function() { |
| | | var disabled, name; |
| | | $('#batchPrintSelect input').each(function() { |
| | | disabled = $(this).prop("disabled"); |
| | | name = $(this).prop("name"); |
| | | if (name == "printCheckDate" || disabled) { |
| | | // ä¸åå¤ç |
| | | } else { |
| | | $(this).prop("checked", false); |
| | | } |
| | | }); |
| | | form.render(); |
| | | return false; |
| | | }, |
| | | btn4 : function() { |
| | | printBatchTodo(); |
| | | }, |
| | | btn5 : function() { |
| | | layer.close(0); |
| | | }, |
| | | closeBtn : 0 |
| | | }); |
| | | |
| | | // é»è®¤è°ç¨è·åæ°æ®æ´æ° |
| | | $("#printCheckDate").prop("value", dateFtt("yyyy-MM-dd", new Date())); |
| | | getPrintBatchDepot(); |
| | | }; |
| | | |
| | | // è·åæ¹éæå°çä¿¡æ¯ |
| | | function getPrintBatchDepot() { |
| | | layer.msg("éªè¯ç²®æ
æ£æµè®°å½â¦â¦"); |
| | | var checkDate = $("#printCheckDate").val(); |
| | | $.ajax({ |
| | | type : "POST", |
| | | url : "../../basic/gas/query-checkDate-map", |
| | | dataType : "json", |
| | | contentType : "application/json;charset=UTF-8", |
| | | data : JSON.stringify({ |
| | | checkDate : checkDate |
| | | }), |
| | | success : function(result) { |
| | | if (result.code != "0000") { |
| | | layer.msg(result.msg); |
| | | // 设置ææä»åºä¸å¯é |
| | | var name; |
| | | $('#batchPrintSelect input').each(function() { |
| | | name = $(this).prop("name"); |
| | | if (name != "printCheckDate") {// è·³è¿ |
| | | $(this).prop("disabled", true); |
| | | } |
| | | }); |
| | | form.render(); |
| | | |
| | | } else { |
| | | mapData = result.data; |
| | | |
| | | // å¨æè°æ´ä»åºæ¯å¦å¯ä»¥éæ© |
| | | var name, value; |
| | | $('#batchPrintSelect input').each(function() { |
| | | name = $(this).prop("name"); |
| | | value = $(this).val(); |
| | | if (name != "printCheckDate") {// è·³è¿ |
| | | if (mapData[value]) { |
| | | $(this).prop("disabled", false); |
| | | } else { |
| | | $(this).prop("disabled", true); |
| | | } |
| | | } |
| | | }); |
| | | form.render(); |
| | | } |
| | | }, |
| | | error : function() { |
| | | layer.msg("æ¹éæå°è·åç²®æ
ä¿¡æ¯å¤±è´¥ï¼"); |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | // æ ¹æ®æ¥è¯¢çæ°æ®æ¹éæå°é¢è§ |
| | | function printBatchTodo() { |
| | | layer.msg("å¼å§æ¹éçææå°æ¨¡çâ¦â¦"); |
| | | var strHtml; |
| | | var value; |
| | | var checked; |
| | | var printData; |
| | | // å°ä»åºæ°æ®å表转æ¢ä¸ºMAP |
| | | var mapDepot = {}; |
| | | $.each(listDepot, function(index, data) { |
| | | mapDepot[data.id] = data; |
| | | }); |
| | | var LODOP = getLodop(); |
| | | LODOP.PRINT_INIT("æ°ä½æ£æµæ¥è¡¨");// åå§åå¨å¾ªç¯å¤ |
| | | LODOP.SET_PRINT_PAGESIZE(1, 0, 0, "A4"); |
| | | $('#batchPrintSelect input').each(function() { |
| | | if ($(this).prop("name") == "printCheckDate") {// è·³è¿ |
| | | return true; |
| | | } |
| | | checked = $(this).prop("checked"); |
| | | if (checked) { |
| | | value = $(this).val(); |
| | | LODOP.NewPage(); |
| | | printData = mapData[value]; |
| | | if (!printData) {// å¦ææ²¡æç²®æ
æ°æ®è·³è¿æ§è¡ä¸ä¸ä¸ª |
| | | return true; |
| | | } |
| | | printData.depotData = mapDepot[value]; |
| | | strHtml = builderModel(printData,dept); |
| | | LODOP.ADD_PRINT_HTM(30, 40, "180mm", "100%", strHtml); |
| | | } |
| | | }); |
| | | layer.msg("å¼å§è°ç¨æå°ç¨åºé¢è§â¦â¦"); |
| | | LODOP.PREVIEW(); |
| | | }; |
| | | |
| | | |
| | | // ç¹å»å·æ°æä½ |
| | | function flushData(checkDate) { |
| | | depotId = $("#depotId").val(); |
| | | if (!depotId) { |
| | | layer.msg("请å
éæ©ä»åºï¼"); |
| | | return; |
| | | } |
| | | cleanData(); |
| | | listData = [{"batchId":"202407151349","checkNum":5,"checkUser":"管çå","companyId":"1000","depotData":{"bulkWeight":600,"companyId":"1000","depotStatus":"1","depotStatusName":"空ä»","depotType":"01","depotTypeName":"å¹³æ¿ä»","deptId":"P0101","foodLevel":"02","foodLevelName":"äºç","foodType":"122","foodTypeName":"å¸çº§å°æ¹å¨å¤ç²®","foodVariety":"1131","id":"LA02","name":"P01-01","orderNum":5,"storageMax":5000000,"storageReal":0,"storeKeeperLevel":"é«çº§ä¿ç®¡å","storeKeeperPhone":"####","storeType":"1"},"depotId":"LA02","listPoint":[{"passCode":1,"perCo2":497,"perN2":74.9,"perO2":25,"perPh3":0,"receiveDate":"2024-07-15 13:50"},{"passCode":2,"perCo2":497,"perN2":74.9,"perO2":25,"perPh3":0,"receiveDate":"2024-07-15 13:50"},{"passCode":3,"perCo2":496,"perN2":74.9,"perO2":25,"perPh3":0,"receiveDate":"2024-07-15 13:50"},{"passCode":4,"perCo2":496,"perN2":74.9,"perO2":25,"perPh3":0,"receiveDate":"2024-07-15 13:50"},{"passCode":5,"perCo2":482,"perN2":74.9,"perO2":25,"perPh3":0,"receiveDate":"2024-07-15 13:50"}],"perCo2":493.6,"perCo2Max":497,"perCo2Min":482,"perN2":74.9,"perN2Max":74.9,"perN2Min":74.9,"perO2":25,"perO2Max":25,"perO2Min":25,"perPh3":0,"perPh3Max":0,"perPh3Min":0,"points":"1,497.0,25.0,0.0,74.9;2,497.0,25.0,0.0,74.9;3,496.0,25.0,0.0,74.9;4,496.0,25.0,0.0,74.9;5,482.0,25.0,0.0,74.9;","receiveDate":"2024-07-15 13:50","strReceiveDate":"2024-07-15 13:50","sysDate":1747964186612,"type":"0"},{"batchId":"202407141532","checkNum":5,"checkUser":"管çå","companyId":"1000","depotData":{"$ref":"$[0][0].depotData"},"depotId":"LA02","listPoint":[{"passCode":1,"perCo2":416,"perN2":74.9,"perO2":25,"perPh3":0,"receiveDate":"2024-07-15 14:50"},{"passCode":2,"perCo2":408,"perN2":74.9,"perO2":25,"perPh3":0,"receiveDate":"2024-07-15 14:50"},{"passCode":3,"perCo2":412,"perN2":74.9,"perO2":25,"perPh3":0,"receiveDate":"2024-07-15 14:50"},{"passCode":4,"perCo2":433,"perN2":74.9,"perO2":25,"perPh3":0,"receiveDate":"2024-07-15 14:50"},{"passCode":5,"perCo2":484,"perN2":74.9,"perO2":25,"perPh3":0,"receiveDate":"2024-07-15 14:50"}],"perCo2":430.6,"perCo2Max":484,"perCo2Min":408,"perN2":74.9,"perN2Max":74.9,"perN2Min":74.9,"perO2":25,"perO2Max":25,"perO2Min":25,"perPh3":0,"perPh3Max":0,"perPh3Min":0,"points":"1,416.0,25.0,0.0,74.9;2,408.0,25.0,0.0,74.9;3,412.0,25.0,0.0,74.9;4,433.0,25.0,0.0,74.9;5,484.0,25.0,0.0,74.9;","receiveDate":"2024-07-15 14:50","strReceiveDate":"2024-07-14 15:32","sysDate":1747964186613,"type":"0"}]; |
| | | if(!listData) return; |
| | | curData = listData[0]; |
| | | |
| | | // æ¸²ææ°æ® |
| | | renderDataInfo(); |
| | | |
| | | // 卿¹æ¬¡éæ©ä¸æ·»å ä¸ææ°æ® |
| | | resetSelectBatchId(); |
| | | |
| | | // è°ç¨å
¨é¨å
³é |
| | | layer.closeAll(); |
| | | layer.msg("æ´æ°æåâ¦â¦"); |
| | | |
| | | // var data = { |
| | | // depotId : depotId, |
| | | // checkDate : checkDate |
| | | // }; |
| | | // $.ajax({ |
| | | // type : "POST", |
| | | // url : "../../basic/gas/list-data", |
| | | // dataType : "json", |
| | | // contentType : "application/json;charset=UTF-8", |
| | | // data : JSON.stringify(data), |
| | | // success : function(result) { |
| | | // if (result.code != "0000") { |
| | | // layer.msg(result.msg); |
| | | // } |
| | | // listData = result.data; |
| | | // if(!listData) return; |
| | | // curData = listData[0]; |
| | | // |
| | | // // æ¸²ææ°æ® |
| | | // renderDataInfo(); |
| | | // |
| | | // // 卿¹æ¬¡éæ©ä¸æ·»å ä¸ææ°æ® |
| | | // resetSelectBatchId(); |
| | | // |
| | | // // è°ç¨å
¨é¨å
³é |
| | | // layer.closeAll(); |
| | | // layer.msg("æ´æ°æåâ¦â¦"); |
| | | // }, |
| | | // error : function() { |
| | | // layer.msg("æ ¹æ®å½åæ¡ä»¶è·åç²®æ
æ°æ®æ¸²æå¾æ 失败ï¼ï¼"); |
| | | // } |
| | | // }); |
| | | }; |
| | | |
| | | //æ¸
ç©ºæ°æ® |
| | | function cleanData() { |
| | | //æ¸
ç©ºæ£æµæ¶é´æ¹æ¬¡å¼ |
| | | $("#batchId").empty(); |
| | | form.render(); |
| | | |
| | | $("#perO2").text("#"); |
| | | $("#perO2Max").text("#"); |
| | | $("#perO2Min").text("#"); |
| | | |
| | | $("#perCo2").text("#"); |
| | | $("#perCo2Max").text("#"); |
| | | $("#perCo2Min").text("#"); |
| | | |
| | | $("#perPh3").text("#"); |
| | | $("#perPh3Max").text("#"); |
| | | $("#perPh3Min").text("#"); |
| | | |
| | | $("#perN2").text("#"); |
| | | $("#perN2Max").text("#"); |
| | | $("#perN2Min").text("#"); |
| | | |
| | | $("#tableInfo").html(""); |
| | | } |
| | | |
| | | //忢ä»åºå¾ç |
| | | function cutImg(depotId) { |
| | | |
| | | //åä»åºé
ç½®å¾ç |
| | | var gasImg = gasImgMap[depotId]; |
| | | var imgPath = "../../basic/file/getImg?filePath=" + gasImg.fileImg; |
| | | |
| | | $("#depot_img").attr("src", imgPath); |
| | | } |
| | | |
| | | function renderTableInfo() { |
| | | var listPoint = curData.listPoint; |
| | | var tableHtml = "<table class=\"layui-table\" lay-even lay-skin=\"nob\">"; |
| | | tableHtml += "<colgroup><col width=\"20%\"><col width=\"20%\"><col width=\"20%\"><col width=\"20%\"><col></colgroup>"; |
| | | if(curData.type && curData.type == "1"){ |
| | | tableHtml += "<thead><tr><th style='background: #c2c2c2;' colspan='5'>æ£æµç±»åï¼çè¸æ£æµ</th></tr></thead>"; |
| | | }else { |
| | | tableHtml += "<thead><tr><th style='background: #c2c2c2;' colspan='5'>æ£æµç±»åï¼å¸¸è§æ£æµ</th></tr></thead>"; |
| | | } |
| | | tableHtml += "<thead><tr><th>éé</th><th>CO2</th><th>O2</th><th>PH3</th><th>N2</th></tr></thead>"; |
| | | tableHtml += "<tbody>"; |
| | | // 卿åå»ºè¡¨æ ¼ |
| | | $.each(listPoint, function(index, item) { |
| | | tableHtml += "<tr><td>" + item.passCode + "</td>"; |
| | | tableHtml += "<td>" + (item.perCo2== -100 ? "#" : item.perCo2) + "</td>"; |
| | | tableHtml += "<td>" + (item.perO2== -100 ? "#" : item.perO2) + "</td>"; |
| | | tableHtml += "<td>" + (item.perPh3== -100 ? "#" : item.perPh3) + "</td>"; |
| | | tableHtml += "<td>" + (item.perN2== -100 ? "#" : item.perN2) + "</td></tr>"; |
| | | }); |
| | | tableHtml += "</tbody></table>"; |
| | | $("#tableInfo").html(tableHtml); |
| | | }; |
| | | |
| | | // åå¡«æ£æµä¿¡æ¯ |
| | | function renderDataInfo() { |
| | | $("#perCo2").text(curData.perCo2 == -100 ? "#" : curData.perCo2); |
| | | $("#perO2").text(curData.perO2 == -100 ? "#" : curData.perO2); |
| | | $("#perPh3").text(curData.perPh3 == -100 ? "#" : curData.perPh3); |
| | | $("#perN2").text(curData.perN2 == -100 ? "#" : curData.perN2); |
| | | |
| | | $("#perO2Max").text(curData.perO2Max == -100 ? "#" : curData.perO2Max); |
| | | $("#perO2Min").text(curData.perO2Min == -100 ? "#" : curData.perO2Min); |
| | | |
| | | $("#perCo2Max").text(curData.perCo2Max == -100 ? "#" : curData.perCo2Max); |
| | | $("#perCo2Min").text(curData.perCo2Min == -100 ? "#" : curData.perCo2Min); |
| | | |
| | | $("#perPh3Max").text(curData.perPh3Max == -100 ? "#" : curData.perPh3Max); |
| | | $("#perPh3Min").text(curData.perPh3Min == -100 ? "#" : curData.perPh3Min); |
| | | |
| | | $("#perN2Max").text(curData.perN2Max == -100 ? "#" : curData.perN2Max); |
| | | $("#perN2Min").text(curData.perN2Min == -100 ? "#" : curData.perN2Min); |
| | | |
| | | renderTableInfo(); |
| | | }; |
| | | |
| | | // æ ¹æ®æ¹æ¬¡æ´æ°çå¼è°æ´ |
| | | function flushByBatchId(batchId) { |
| | | var temp; |
| | | $.each(listData, function(index, item) { |
| | | if (item.batchId == batchId) { |
| | | temp = item; |
| | | return false; |
| | | } |
| | | }); |
| | | if (temp) { |
| | | curData = temp; |
| | | renderDataInfo(); |
| | | layer.msg("æ´æ°æåâ¦â¦"); |
| | | } |
| | | }; |
| | | |
| | | // éç½®æ¹æ¬¡ä¸ææ¡ |
| | | function resetSelectBatchId() { |
| | | // é¦å
æ¸
ç©ºåæ¥çå¼ |
| | | $("#batchId").empty(); |
| | | // æªä¸ææ¡èµå¼ |
| | | $.each(listData, function(index, item) { |
| | | $('#batchId').append(new Option(item.receiveDate, item.batchId));// 䏿èåéæ·»å å
ç´ |
| | | }); |
| | | $('#batchId').append(new Option("éæ©æ¶é´â¦â¦", "0")); |
| | | form.render(); |
| | | }; |
| | | |
| | | // æ´å¤æ¹æ¬¡éæ© |
| | | function showMore() { |
| | | layer.open({ |
| | | type : 1, |
| | | title : 'è¯·éæ©æ¶é´', |
| | | area : [ '380px', '250px' ], |
| | | shade : 0, |
| | | content : $('#dialogMoreSelect'), |
| | | btn : [ 'ç¡®è®¤éæ©', 'åæ¶' ], |
| | | yes : function() { |
| | | var checkDateMore = $("#checkDateMore").val(); |
| | | if (checkDateMore) { |
| | | flushData(checkDateMore); |
| | | } else { |
| | | layer.msg("请å
确认æ¶é´ï¼"); |
| | | } |
| | | }, |
| | | btn2 : function() { |
| | | layer.close(0); |
| | | }, |
| | | closeBtn : 0 |
| | | }); |
| | | }; |
| | | |
| | | // æ°ä½ééçå
¥å£æ¹æ³ï¼type=1,表示æ´ä»ééï¼type=2,è¡¨ç¤ºéæ©ééï¼type=3表示å¤ä»éé |
| | | function checkStart(type) { |
| | | layer.msg("ææªå¯¹æ¥ï¼"); |
| | | return; |
| | | checkType = $("input[name='type']:checked").val(); |
| | | if(!checkType){ |
| | | layer.msg("请å
éæ©æ£æµç±»åï¼"); |
| | | return; |
| | | } |
| | | if (3 == type) { |
| | | checkBatch(); |
| | | return; |
| | | } |
| | | |
| | | // æ´ä»ééåéæ©éééè¦è·åå°æ°ä½çé
置信æ¯åè¿è¡æä½ |
| | | depotId = $("#depotId").val(); |
| | | if (!depotId) { |
| | | layer.msg("请å
éæ©ä»åºï¼"); |
| | | return; |
| | | } |
| | | |
| | | if (gasConf && gasConf.depotId == depotId) { |
| | | if (1 == type) { |
| | | check(); |
| | | } |
| | | if (2 == type) { |
| | | checkSelect(); |
| | | } |
| | | return; |
| | | } |
| | | |
| | | layer.msg("è·åå½åä»åºçé
置信æ¯â¦â¦"); |
| | | var data = { |
| | | depotId : depotId |
| | | }; |
| | | $.ajax({ |
| | | type : "POST", |
| | | url : "../../basic/gas/gas-conf", |
| | | dataType : "json", |
| | | contentType : "application/json;charset=UTF-8", |
| | | data : JSON.stringify(data), |
| | | success : function(result) { |
| | | if (result.code != "0000") { |
| | | layer.msg(result.msg); |
| | | return; |
| | | } |
| | | gasConf = result.data; |
| | | if (1 == type) { |
| | | check(); |
| | | return; |
| | | } |
| | | if (2 == type) { |
| | | checkSelect(); |
| | | return; |
| | | } |
| | | }, |
| | | error : function() { |
| | | layer.msg("è·åå½åä»åºé
置信æ¯å¤±è´¥ï¼"); |
| | | } |
| | | }); |
| | | |
| | | }; |
| | | |
| | | // å个粮æ
æ£æµ |
| | | function check() { |
| | | layer.msg("å¼å§æ°ä½æ£æµâ¦â¦"); |
| | | var data = { |
| | | depotId : depotId, |
| | | type : checkType |
| | | }; |
| | | $.ajax({ |
| | | type : "POST", |
| | | url : "../../basic/gas/check-single", |
| | | dataType : "json", |
| | | contentType : "application/json;charset=UTF-8", |
| | | data : JSON.stringify(data), |
| | | success : function(result) { |
| | | if (result.code != "ORDER_SUCCESS") { |
| | | if (result.msg) { |
| | | layer.msg(result.msg); |
| | | } else { |
| | | layer.msg("æ§è¡åºç°å¼å¸¸ï¼è¯·éè¯æè系管çå"); |
| | | } |
| | | } else { |
| | | layer.msg("å½ä»¤å·²ç»æååéï¼å¾
ç»ç«¯ååºâ¦â¦"); |
| | | } |
| | | }, |
| | | error : function() { |
| | | layer.msg("æ°ä½æ£æµåºç°å¼å¸¸ï¼æ§è¡å¤±è´¥ï¼"); |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | // éæ©ééç¹éé |
| | | function checkSelect() { |
| | | // å¼¹åºéæ©æ¡ï¼éæ©ä¿¡æ¯ |
| | | var gasStart = gasConf.gasStart, gasEnd = gasConf.gasEnd; |
| | | var strHtml = ""; |
| | | for (var i = gasStart; i <= gasEnd; i++) { |
| | | if (i < 10) { |
| | | strHtml += "<input title='ä½ç½®0" + i + "' type='checkbox' value='" |
| | | + i + "'>"; |
| | | strHtml += "<div class='layui-unselect layui-form-checkbox'><span>ä½ç½®0" |
| | | + i |
| | | + "</span><i class='layui-icon layui-icon-ok'></i></div>"; |
| | | } else { |
| | | strHtml += "<input title='ä½ç½®" + i + "' type='checkbox' value='" + i |
| | | + "'>"; |
| | | strHtml += "<div class='layui-unselect layui-form-checkbox'><span>ä½ç½®" |
| | | + i |
| | | + "</span><i class='layui-icon layui-icon-ok'></i></div>"; |
| | | } |
| | | } |
| | | $("#div_point_select").html(strHtml); |
| | | form.render(); |
| | | |
| | | // å¼å§éæ© |
| | | layer.open({ |
| | | type : 1, |
| | | title : 'éæ©ééç¹ï¼å
¨éè¯·ä½¿ç¨æ´ä»ééï¼', |
| | | area : [ '690px', '450px' ], |
| | | shade : 0, |
| | | content : $('#pointSelect'), |
| | | btn : [ 'å
¨é', 'åé', 'éé', 'ç¡®å®æ£æµ', 'åæ¶æ£æµ' ], |
| | | yes : function() { |
| | | $('#pointSelect input').each(function() { |
| | | $(this).prop("checked", true); |
| | | }); |
| | | form.render(); |
| | | }, |
| | | btn2 : function() { |
| | | $('#pointSelect input').each(function() { |
| | | if ($(this).prop("checked")) { |
| | | $(this).prop("checked", false); |
| | | } else { |
| | | $(this).prop("checked", true); |
| | | } |
| | | }); |
| | | form.render(); |
| | | return false; |
| | | }, |
| | | btn3 : function() { |
| | | $('#pointSelect input').each(function() { |
| | | $(this).prop("checked", false); |
| | | }); |
| | | form.render(); |
| | | return false; |
| | | }, |
| | | btn4 : function() { |
| | | return checkSelectStep2(); |
| | | }, |
| | | btn5 : function() { |
| | | layer.close(0); |
| | | }, |
| | | closeBtn : 1 |
| | | }); |
| | | }; |
| | | |
| | | // æ§è¡ééç¹æ£æµ |
| | | function checkSelectStep2() { |
| | | // è·åéæ©çééç¹ |
| | | var checkPoints = ""; |
| | | $('#pointSelect input').each(function() { |
| | | if ($(this).prop("checked")) { |
| | | checkPoints += $(this).val() + ","; |
| | | } |
| | | }); |
| | | |
| | | if (checkPoints == "") { |
| | | layer.msg("è¯·éæ©éè¦æ£æµçééç¹"); |
| | | return false; |
| | | } |
| | | layer.msg("å¼å§æ°ä½æ£æµâ¦â¦"); |
| | | var data = { |
| | | depotId : depotId, |
| | | type : checkType, |
| | | checkPoints : checkPoints |
| | | }; |
| | | $.ajax({ |
| | | type : "POST", |
| | | url : "../../basic/gas/check-select", |
| | | dataType : "json", |
| | | contentType : "application/json;charset=UTF-8", |
| | | data : JSON.stringify(data), |
| | | success : function(result) { |
| | | if (result.code != "ORDER_SUCCESS") { |
| | | if (result.msg) { |
| | | layer.msg(result.msg); |
| | | } else { |
| | | layer.msg("æ§è¡åºç°å¼å¸¸ï¼è¯·éè¯æè系管çå"); |
| | | } |
| | | return false; |
| | | } else { |
| | | layer.msg("å½ä»¤å·²ç»æååéï¼å¾
ç»ç«¯ååºâ¦â¦"); |
| | | return true; |
| | | } |
| | | }, |
| | | error : function() { |
| | | layer.msg("æ°ä½æ£æµåºç°å¼å¸¸ï¼æ§è¡å¤±è´¥ï¼"); |
| | | return false; |
| | | } |
| | | }); |
| | | return true; |
| | | }; |
| | | |
| | | // æ¹éç²®æ
éé |
| | | function checkBatch() { |
| | | // é¦å
å»é¤ä¹åçéæ© |
| | | $('#batchCheckSelect input').each(function() { |
| | | $(this).prop("checked", false); |
| | | }); |
| | | form.render(); |
| | | |
| | | // å¼¹åºéæ©æ¡ |
| | | layer.open({ |
| | | type : 1, |
| | | title : 'æ¹ééééæ©', |
| | | area : [ '690px', '450px' ], |
| | | shade : 0, |
| | | content : $('#batchCheckSelect'), |
| | | btn : [ 'å
¨é', 'åé', 'éé', 'æ§è¡éé', 'åæ¶éé' ], |
| | | yes : function() { |
| | | $('#batchCheckSelect input').each(function() { |
| | | $(this).prop("checked", true); |
| | | }); |
| | | form.render(); |
| | | }, |
| | | btn2 : function() { |
| | | $('#batchCheckSelect input').each(function() { |
| | | if ($(this).prop("checked")) { |
| | | $(this).prop("checked", false); |
| | | } else { |
| | | $(this).prop("checked", true); |
| | | } |
| | | }); |
| | | form.render(); |
| | | return false; |
| | | }, |
| | | btn3 : function() { |
| | | $('#batchCheckSelect input').each(function() { |
| | | $(this).prop("checked", false); |
| | | }); |
| | | form.render(); |
| | | return false; |
| | | }, |
| | | btn4 : function() { |
| | | return checkBatchStep2(); |
| | | }, |
| | | btn5 : function() { |
| | | layer.close(0); |
| | | }, |
| | | closeBtn : 0 |
| | | }); |
| | | }; |
| | | |
| | | /** |
| | | * å¼å§æ§è¡æ¹éæ£æµ |
| | | */ |
| | | function checkBatchStep2() { |
| | | var depotIds = ""; |
| | | $('#batchCheckSelect input').each(function() { |
| | | if ($(this).prop("checked")) { |
| | | depotIds += $(this).val() + ","; |
| | | } |
| | | }); |
| | | |
| | | if (depotIds == "") { |
| | | layer.msg("请å
éæ©éè¦æ£æµçä»åºâ¦â¦"); |
| | | return false; |
| | | } |
| | | layer.msg("å¼å§æ§è¡æ¹éæ£æµâ¦â¦"); |
| | | // è°ç¨åå°æ¹éæ£æµ |
| | | var data = { |
| | | depotIds : depotIds, |
| | | type : checkType |
| | | }; |
| | | $.ajax({ |
| | | type : "POST", |
| | | url : "../../basic/gas/check-batch", |
| | | dataType : "json", |
| | | contentType : "application/json;charset=UTF-8", |
| | | data : JSON.stringify(data), |
| | | success : function(result) { |
| | | if (result.code != "ORDER_SUCCESS") { |
| | | if (result.msg) { |
| | | layer.msg(result.msg); |
| | | } else { |
| | | layer.msg("æ§è¡åºç°å¼å¸¸ï¼è¯·éè¯æè系管çå"); |
| | | } |
| | | return false; |
| | | } else { |
| | | layer.msg("å½ä»¤å·²ç»æååéï¼å¾
ç»ç«¯ååºâ¦â¦"); |
| | | return true; |
| | | } |
| | | }, |
| | | error : function() { |
| | | layer.msg("æ£æµåºç°å¼å¸¸ï¼æ§è¡å¤±è´¥ï¼"); |
| | | return false; |
| | | } |
| | | }); |
| | | return true; |
| | | }; |
| | | |
| | | function gasChart() { |
| | | layer.msg("åè½ææªå¼æ¾â¦â¦"); |
| | | }; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | @charset "utf-8"; |
| | | |
| | | /*----------------- |
| | | Author:xq |
| | | update:2019 |
| | | -------------------*/ |
| | | body { |
| | | font-family: "微软é
é»", Arial, sans-serif; |
| | | font-size: 14px; |
| | | background: #f3f5f8; |
| | | } |
| | | |
| | | i,em{ |
| | | font-style: normal; |
| | | } |
| | | |
| | | |
| | | .radius-3{ |
| | | -webkit-border-radius: 3px; |
| | | -moz-border-radius: 3px; |
| | | -ms-border-radius: 3px; |
| | | -o-border-radius: 3px; |
| | | border-radius: 3px; |
| | | } |
| | | |
| | | .radius-4, |
| | | .qt-rMenu-item a{ |
| | | -webkit-border-radius: 4px; |
| | | -moz-border-radius: 4px; |
| | | -ms-border-radius: 4px; |
| | | -o-border-radius: 4px; |
| | | border-radius: 4px; |
| | | } |
| | | |
| | | .radius-6, |
| | | .lq-rMenu li{ |
| | | -webkit-border-radius: 6px; |
| | | -moz-border-radius: 6px; |
| | | -ms-border-radius: 6px; |
| | | -o-border-radius: 6px; |
| | | border-radius: 6px; |
| | | } |
| | | |
| | | .box-shadow{ |
| | | -webkit-box-shadow: 0px 0px 9px 3px rgba(230,230,230,0.6); |
| | | -moz-box-shadow: 0px 0px 9px 3px rgba(230,230,230,0.6); |
| | | box-shadow: 0px 0px 9px 3px rgba(230,230,230,0.6); |
| | | } |
| | | |
| | | .fl { |
| | | float: left; |
| | | } |
| | | .fr { |
| | | float: right; |
| | | } |
| | | |
| | | |
| | | /*qtjc*/ |
| | | |
| | | .l-container{ |
| | | width: 100%; |
| | | max-width: 1680px; |
| | | min-width: 1340px; |
| | | margin-left: auto; |
| | | margin-right: auto; |
| | | } |
| | | |
| | | .l-main{ |
| | | margin: 10px; |
| | | position: relative; |
| | | padding-right: 350px; |
| | | } |
| | | |
| | | .qt-left{ |
| | | width: 100%; |
| | | } |
| | | |
| | | |
| | | .qt-lTop-l{ |
| | | width: 26%; |
| | | min-width: 260px; |
| | | } |
| | | |
| | | |
| | | .qt-left1{ |
| | | padding: 27px 8%; |
| | | background: #7b8e9f; |
| | | |
| | | } |
| | | |
| | | .lq-left1-from{ |
| | | margin-bottom: 20px; |
| | | } |
| | | |
| | | .qt-left .lq-left1-from:last-child{ |
| | | margin-bottom: 0; |
| | | } |
| | | |
| | | .qt-left .lq-left1-from .layui-form-label{ |
| | | color: #fff; |
| | | padding: 9px 0; |
| | | text-align: left; |
| | | font-size: 16px; |
| | | } |
| | | |
| | | .qt-left .lq-left1-from .layui-input-block{ |
| | | margin-left: 80px; |
| | | } |
| | | |
| | | .qt-left .layui-form-select .layui-edge{ |
| | | border-top-color: #666; |
| | | } |
| | | |
| | | .qt-left .layui-input-block .layui-input{ |
| | | font-size: 16px; |
| | | color: #000; |
| | | } |
| | | |
| | | .qt-left .layui-form-select dl dd.layui-this{ |
| | | background: #7b8e9f; |
| | | } |
| | | |
| | | .qt-lTop-r{ |
| | | width: 71.5%; |
| | | } |
| | | |
| | | |
| | | .qt-left-item{ |
| | | height: 150px; |
| | | overflow: hidden; |
| | | color: #fff; |
| | | text-align: center; |
| | | } |
| | | |
| | | .qt-left2{ |
| | | background: url(../../img/dzhwk/gas/qt-bg1.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .qt-left3{ |
| | | background: url(../../img/dzhwk/gas/qt-bg2.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .qt-left4{ |
| | | background: url(../../img/dzhwk/gas/qt-bg3.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .qt-left5{ |
| | | background: url(../../img/dzhwk/gas/qt-bg4.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .qt-left-item h3{ |
| | | height: 24px; |
| | | line-height: 24px; |
| | | font-size: 16px; |
| | | overflow: hidden; |
| | | font-weight: bold; |
| | | margin: 30px 0; |
| | | } |
| | | |
| | | .lq-cTop-ite{ |
| | | position: relative; |
| | | } |
| | | |
| | | .lq-cTop-item:after{ |
| | | display: block; |
| | | content: ''; |
| | | width: 1px; |
| | | height: 100%; |
| | | background: rgba(255,255,255,0.1); |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 97; |
| | | } |
| | | |
| | | .lq-cTop-item:last-child:after{ |
| | | background: none; |
| | | } |
| | | |
| | | .lq-cTop-item p{ |
| | | height: 25px; |
| | | line-height: 25px; |
| | | font-size: 16px; |
| | | margin-top: 5px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | .lq-cTop-item h4{ |
| | | font-size: 16px; |
| | | line-height: 25px; |
| | | height: 25px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | .lq-cTop-item p span{ |
| | | font-size: 22px; |
| | | } |
| | | |
| | | .qt-picBox{ |
| | | width: 96%; |
| | | margin: 2% auto; |
| | | text-align: center; |
| | | position: relative; |
| | | } |
| | | |
| | | .qt-pic{ |
| | | width: 100%; |
| | | margin: 0 auto; |
| | | } |
| | | |
| | | .qt-right{ |
| | | width: 340px; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 99; |
| | | } |
| | | |
| | | .qt-rMenu{ |
| | | background: #fff; |
| | | width: 320px; |
| | | height: 120px; |
| | | overflow: hidden; |
| | | padding: 15px 10px; |
| | | } |
| | | |
| | | .qt-rMenu-item{ |
| | | height: 120px; |
| | | text-align: center; |
| | | } |
| | | |
| | | |
| | | .qt-rMenu-item a{ |
| | | display: inline-block; |
| | | width: 88px; |
| | | height: 118px; |
| | | border: 1px solid #e5e8ec; |
| | | } |
| | | .qt-icon{ |
| | | width: 48px; |
| | | height: 48px; |
| | | display: inline-block; |
| | | position: relative; |
| | | margin: 15px 0 10px; |
| | | } |
| | | |
| | | .qt-icon img, |
| | | .qt-pic-icon img{ |
| | | width: 100%; |
| | | height: 100%; |
| | | vertical-align: top; |
| | | } |
| | | |
| | | .qt-rMenu-item a p{ |
| | | line-height: 20px; |
| | | color: #324251; |
| | | font-size: 16px; |
| | | height: 20px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | .qt-rMenu-icon1{ |
| | | background: url(../../img/dzhwk/gas/qt-icon1.png); |
| | | } |
| | | |
| | | .qt-rMenu-icon2{ |
| | | background: url(../../img/dzhwk/gas/qt-icon2.png); |
| | | } |
| | | |
| | | .qt-rMenu-icon3{ |
| | | background: url(../../img/dzhwk/gas/lq-r-icon2.png); |
| | | } |
| | | |
| | | .qt-rMenu-icon4{ |
| | | background: url(../../img/dzhwk/gas/lq-r-icon4.png); |
| | | } |
| | | |
| | | .qt-rMenu-icon5{ |
| | | background: url(../../img/dzhwk/gas/lq-r-icon5.png); |
| | | } |
| | | |
| | | .qt-rMenu-icon6{ |
| | | background: url(../../img/dzhwk/gas/qt-icon3.png); |
| | | } |
| | | |
| | | .qt-rMenu-item:hover a, |
| | | .qt-rMenu-item.active a{ |
| | | background: #53adce; |
| | | border-color: #53adce; |
| | | } |
| | | |
| | | |
| | | .qt-rMenu-item:hover a p, |
| | | .qt-rMenu-item.active a p{ |
| | | color: #fff; |
| | | } |
| | | |
| | | .qt-rMenu-item:hover .qt-rMenu-icon1, |
| | | .qt-rMenu-item.active .qt-rMenu-icon1{ |
| | | background: url(../../img/dzhwk/gas/qt-icon1-h.png); |
| | | } |
| | | |
| | | .qt-rMenu-item:hover .qt-rMenu-icon2, |
| | | .qt-rMenu-item.active .qt-rMenu-icon2{ |
| | | background: url(../../img/dzhwk/gas/qt-icon2-h.png); |
| | | } |
| | | |
| | | .qt-rMenu-item:hover .qt-rMenu-icon3, |
| | | .qt-rMenu-item.active .qt-rMenu-icon3{ |
| | | background: url(../../img/dzhwk/gas/lq-r-icon2.png); |
| | | } |
| | | |
| | | .qt-rMenu-item:hover .qt-rMenu-icon4, |
| | | .qt-rMenu-item.active .qt-rMenu-icon4{ |
| | | background: url(../../img/dzhwk/gas/lq-r-icon4.png); |
| | | } |
| | | |
| | | .qt-rMenu-item:hover .qt-rMenu-icon5, |
| | | .qt-rMenu-item.active .qt-rMenu-icon5{ |
| | | background: url(../../img/dzhwk/gas/lq-r-icon5.png); |
| | | } |
| | | |
| | | .qt-rMenu-item:hover .qt-rMenu-icon6, |
| | | .qt-rMenu-item.active .qt-rMenu-icon6{ |
| | | background: url(../../img/dzhwk/gas/qt-icon3-h.png); |
| | | } |
| | | |
| | | .qt-rTable-box{ |
| | | background: #fff; |
| | | overflow: hidden; |
| | | margin-top: 10px; |
| | | width: 320px; |
| | | padding: 10px; |
| | | min-height: 320px; |
| | | } |
| | | |
| | | .qt-rTable-box .layui-table td, |
| | | .qt-rTable-box .layui-table th{ |
| | | padding: 9px 5px; |
| | | text-align: center; |
| | | } |
| | | |
| | | .qt-rTable-box .layui-table th{ |
| | | background: #dee6ec; |
| | | } |
| | | |
| | | .mr4{ |
| | | margin-right: 4%; |
| | | } |
| | | |
| | | .qt-pic-icon{ |
| | | display: inline-block; |
| | | width: 36px; |
| | | height: 36px; |
| | | position: absolute; |
| | | z-index: 99; |
| | | } |
| | | |
| | | .qt-pic-icon-active{ |
| | | -webkit-animation: twinkling 1.5s infinite ease-in-out; |
| | | animation: twinkling 1.5s infinite ease-in-out; |
| | | } |
| | | |
| | | .qt-pic-icon1{ |
| | | left: 45.5%; |
| | | top: 41%; |
| | | } |
| | | .qt-pic-icon2{ |
| | | left: 46%; |
| | | top: 33%; |
| | | } |
| | | .qt-pic-icon3{ |
| | | left: 46.6%; |
| | | top: 24%; |
| | | } |
| | | .qt-pic-icon4{ |
| | | left: 47%; |
| | | top: 15%; |
| | | } |
| | | /** åå² **/ |
| | | .qt-pic-icon5{ |
| | | left: 37.5%; |
| | | top: 43%; |
| | | } |
| | | .qt-pic-icon6{ |
| | | left: 38%; |
| | | top: 39%; |
| | | } |
| | | .qt-pic-icon7{ |
| | | left: 38.5%; |
| | | top: 35%; |
| | | } |
| | | .qt-pic-icon8{ |
| | | left: 39%; |
| | | top: 31%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon9{ |
| | | left: 35%; |
| | | top: 30%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon10{ |
| | | left: 39.5%; |
| | | top: 27%; |
| | | } |
| | | .qt-pic-icon11{ |
| | | left: 40%; |
| | | top: 23%; |
| | | } |
| | | .qt-pic-icon12{ |
| | | left: 40.5%; |
| | | top: 19%; |
| | | } |
| | | .qt-pic-icon13{ |
| | | left: 41%; |
| | | top: 15%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon14{ |
| | | left: 27%; |
| | | top: 42%; |
| | | } |
| | | .qt-pic-icon15{ |
| | | left: 28%; |
| | | top: 36%; |
| | | } |
| | | .qt-pic-icon16{ |
| | | left: 29%; |
| | | top: 30%; |
| | | } |
| | | .qt-pic-icon18{ |
| | | left: 30%; |
| | | top: 25%; |
| | | } |
| | | .qt-pic-icon19{ |
| | | left: 31%; |
| | | top: 20%; |
| | | } |
| | | .qt-pic-icon20{ |
| | | left: 32%; |
| | | top: 15%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon17{ |
| | | left: 25%; |
| | | top: 30%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon21{ |
| | | left: 17%; |
| | | top: 43%; |
| | | } |
| | | .qt-pic-icon22 { |
| | | left: 18%; |
| | | top: 39%; |
| | | } |
| | | .qt-pic-icon23{ |
| | | left: 19%; |
| | | top: 35%; |
| | | } |
| | | .qt-pic-icon24{ |
| | | left: 20%; |
| | | top: 31%; |
| | | } |
| | | .qt-pic-icon25{ |
| | | left: 21%; |
| | | top: 27%; |
| | | } |
| | | .qt-pic-icon26{ |
| | | left: 22%; |
| | | top: 23%; |
| | | } |
| | | .qt-pic-icon27{ |
| | | left: 23%; |
| | | top: 19%; |
| | | } |
| | | .qt-pic-icon28{ |
| | | left: 24%; |
| | | top: 15%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon29{ |
| | | left: 12%; |
| | | top: 41%; |
| | | } |
| | | .qt-pic-icon30{ |
| | | left: 14%; |
| | | top: 33%; |
| | | } |
| | | .qt-pic-icon31{ |
| | | left: 16%; |
| | | top: 24%; |
| | | } |
| | | .qt-pic-icon32{ |
| | | left: 18%; |
| | | top: 15%; |
| | | } |
| | | |
| | | /*** ---------------- å³ä¾§ ------**/ |
| | | .qt-pic-icon1-right{ |
| | | left: 51.6%; |
| | | top: 41%; |
| | | } |
| | | .qt-pic-icon2-right{ |
| | | left: 51.4%; |
| | | top: 33%; |
| | | } |
| | | .qt-pic-icon3-right{ |
| | | left: 51.2%; |
| | | top: 24%; |
| | | } |
| | | .qt-pic-icon4-right{ |
| | | left: 51%; |
| | | top: 15%; |
| | | } |
| | | /** åå² **/ |
| | | .qt-pic-icon5-right{ |
| | | left: 58.8%; |
| | | top: 43%; |
| | | } |
| | | .qt-pic-icon6-right{ |
| | | left: 58.4%; |
| | | top: 39%; |
| | | } |
| | | .qt-pic-icon7-right{ |
| | | left: 58%; |
| | | top: 35%; |
| | | } |
| | | .qt-pic-icon8-right{ |
| | | left: 57.6%; |
| | | top: 31%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon9-right{ |
| | | left: 62%; |
| | | top: 30%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon10-right{ |
| | | left: 57.2%; |
| | | top: 27%; |
| | | } |
| | | .qt-pic-icon11-right{ |
| | | left: 56.8%; |
| | | top: 23%; |
| | | } |
| | | .qt-pic-icon12-right{ |
| | | left: 56.4%; |
| | | top: 19%; |
| | | } |
| | | .qt-pic-icon13-right{ |
| | | left: 56%; |
| | | top: 15%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon14-right{ |
| | | left: 68.5%; |
| | | top: 42%; |
| | | } |
| | | .qt-pic-icon15-right{ |
| | | left: 67.8%; |
| | | top: 36%; |
| | | } |
| | | .qt-pic-icon16-right{ |
| | | left: 67.1%; |
| | | top: 30%; |
| | | } |
| | | .qt-pic-icon18-right{ |
| | | left: 66.4%; |
| | | top: 25%; |
| | | } |
| | | .qt-pic-icon19-right{ |
| | | left: 65.7%; |
| | | top: 20%; |
| | | } |
| | | .qt-pic-icon20-right{ |
| | | left: 65%; |
| | | top: 15%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon17-right{ |
| | | left: 72%; |
| | | top: 30%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon21-right{ |
| | | left: 77.8%; |
| | | top: 43%; |
| | | } |
| | | .qt-pic-icon22-right{ |
| | | left: 77.2%; |
| | | top: 39%; |
| | | } |
| | | .qt-pic-icon23-right{ |
| | | left: 76.5%; |
| | | top: 35%; |
| | | } |
| | | .qt-pic-icon24-right{ |
| | | left: 75.8%; |
| | | top: 31%; |
| | | } |
| | | .qt-pic-icon25-right{ |
| | | left: 75.1%; |
| | | top: 27%; |
| | | } |
| | | .qt-pic-icon26-right{ |
| | | left: 74.4%; |
| | | top: 23%; |
| | | } |
| | | .qt-pic-icon27-right{ |
| | | left: 73.7%; |
| | | top: 19%; |
| | | } |
| | | .qt-pic-icon28-right{ |
| | | left: 73%; |
| | | top: 15%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon29-right{ |
| | | left: 84.5%; |
| | | top: 41%; |
| | | } |
| | | .qt-pic-icon30-right{ |
| | | left: 83%; |
| | | top: 33%; |
| | | } |
| | | .qt-pic-icon31-right{ |
| | | left: 81.5%; |
| | | top: 24%; |
| | | } |
| | | .qt-pic-icon32-right{ |
| | | left: 80%; |
| | | top: 15%; |
| | | } |
| | | |
| | | @-webkit-keyframes twinkling { |
| | | 0% { |
| | | opacity: 0.5; |
| | | } |
| | | 100% { |
| | | opacity: 1; |
| | | } |
| | | } |
| | | |
| | | @keyframes twinkling { |
| | | 0% { |
| | | opacity: 0.5; |
| | | } |
| | | 100% { |
| | | opacity: 1; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | @media all and (max-width: 1650px) { |
| | | .qt-td-hide{ |
| | | display: none; |
| | | } |
| | | |
| | | .lq-cTop-item p span{ |
| | | font-size: 18px; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
ÎļþÃû´Ó igds-dzhwk-web/src/main/resources/static/dzhwk/grain-check1.js ÐÞ¸Ä |
| | |
| | | |
| | | // ç²®æ
å¯¹æ¯ |
| | | function compare() { |
| | | layer.msg("ææªå¼æ¾ï¼"); |
| | | layer.msg("ææªå¯¹æ¥ï¼"); |
| | | return; |
| | | if (!depotId) { |
| | | layer.msg("请å
éæ©ä»åºâ¦â¦"); |
| | |
| | | |
| | | // å个粮æ
æ£æµ |
| | | function checkGrain() { |
| | | layer.msg("ææªå¼æ¾ï¼"); |
| | | layer.msg("ææªå¯¹æ¥ï¼"); |
| | | return; |
| | | if (!depotId) { |
| | | layer.msg("请å
éæ©ä»åºï¼"); |
| | |
| | | |
| | | // æ¹éç²®æ
éé |
| | | function checkGrainBatch() { |
| | | layer.msg("ææªå¼æ¾ï¼"); |
| | | layer.msg("ææªå¯¹æ¥ï¼"); |
| | | return; |
| | | $('#batchCheckSelect input').each(function () { |
| | | $(this).prop("checked", false); |
| | |
| | | var iframeOrderIndex = 0; |
| | | |
| | | function showOrderProgress() { |
| | | layer.msg("ææªå¼æ¾ï¼"); |
| | | layer.msg("ææªå¯¹æ¥ï¼"); |
| | | return; |
| | | var domId = "#layui-layer-iframe" + iframeOrderIndex; |
| | | if ($(domId).length == 0) { |
ÎļþÃû´Ó igds-dzhwk-web/src/main/resources/static/dzhwk/lqStyle.css ÐÞ¸Ä |
| | |
| | | } |
| | | |
| | | .lq-cTop-1{ |
| | | background: url(../img/dzhwk/grain/lq-c-bg1.png) no-repeat; |
| | | background: url(../../img/dzhwk/grain/lq-c-bg1.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | width: 29%; |
| | | } |
| | | |
| | | .lq-cTop-2{ |
| | | background: url(../img/dzhwk/grain/lq-c-bg2.png) no-repeat; |
| | | background: url(../../img/dzhwk/grain/lq-c-bg2.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | width: 29%; |
| | | } |
| | | |
| | | .lq-cTop-3{ |
| | | background: url(../img/dzhwk/grain/lq-c-bg3.png) no-repeat; |
| | | background: url(../../img/dzhwk/grain/lq-c-bg3.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | width: 19.5%; |
| | | } |
| | | |
| | | .lq-cTop-3-2{ |
| | | background: url(../img/dzhwk/grain/lq-c-bg3.png) no-repeat; |
| | | background: url(../../img/dzhwk/grain/lq-c-bg3.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .lq-cTop-4{ |
| | | background: url(../img/dzhwk/grain/lq-c-bg4.png) no-repeat; |
| | | background: url(../../img/dzhwk/grain/lq-c-bg4.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | width: 19.5%; |
| | | } |
| | | |
| | | .lq-cTop-4-2{ |
| | | background: url(../img/dzhwk/grain/lq-c-bg4.png) no-repeat; |
| | | background: url(../../img/dzhwk/grain/lq-c-bg4.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | .lq-cTop-item{ |
| | | background: url(../img/dzhwk/grain/lq-li-bg.png) right center no-repeat; |
| | | background: url(../../img/dzhwk/grain/lq-li-bg.png) right center no-repeat; |
| | | } |
| | | |
| | | .lq-cTop-item:last-child{ |
| | |
| | | margin-left: 10px; |
| | | margin-top: 25px; |
| | | height: 80px; |
| | | background: url(../img/dzhwk/grain/img-dnxb.png) center no-repeat; |
| | | background: url(../../img/dzhwk/grain/img-dnxb.png) center no-repeat; |
| | | overflow: hidden; |
| | | position: relative; |
| | | } |
| | |
| | | } |
| | | |
| | | .lq-rMenu li .lq-rMenu-icon1{ |
| | | background: url(../img/dzhwk/grain/lq-r-icon1.png); |
| | | background: url(../../img/dzhwk/grain/lq-r-icon1.png); |
| | | } |
| | | |
| | | .lq-rMenu li .lq-rMenu-icon2{ |
| | | background: url(../img/dzhwk/grain/lq-r-icon2.png); |
| | | background: url(../../img/dzhwk/grain/lq-r-icon2.png); |
| | | } |
| | | .lq-rMenu li .lq-rMenu-icon3{ |
| | | background: url(../img/dzhwk/grain/lq-r-icon3.png); |
| | | background: url(../../img/dzhwk/grain/lq-r-icon3.png); |
| | | } |
| | | .lq-rMenu li .lq-rMenu-icon4{ |
| | | background: url(../img/dzhwk/grain/lq-r-icon4.png); |
| | | background: url(../../img/dzhwk/grain/lq-r-icon4.png); |
| | | } |
| | | .lq-rMenu li .lq-rMenu-icon5{ |
| | | background: url(../img/dzhwk/grain/lq-r-icon5.png); |
| | | background: url(../../img/dzhwk/grain/lq-r-icon5.png); |
| | | } |
| | | |
| | | .lq-rMenu li .lq-rMenu-icon6{ |
| | | background: url(../img/dzhwk/grain/lq-r-icon6.png); |
| | | background: url(../../img/dzhwk/grain/lq-r-icon6.png); |
| | | } |
| | | |
| | | .lq-a1{ |
| | | background: url(../img/dzhwk/grain/lq-c-bg1.png) no-repeat; |
| | | background: url(../../img/dzhwk/grain/lq-c-bg1.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | border-radius: 6px; |
| | | } |
| | | |
| | | .lq-a2{ |
| | | background: url(../img/dzhwk/grain/lq-c-bg2.png) no-repeat; |
| | | background: url(../../img/dzhwk/grain/lq-c-bg2.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | border-radius: 6px; |
| | | } |
| | | |
| | | .lq-a3{ |
| | | background: url(../img/dzhwk/grain/lq-c-bg3.png) no-repeat; |
| | | background: url(../../img/dzhwk/grain/lq-c-bg3.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | border-radius: 6px; |
| | | } |
| | | |
| | | .lq-a4{ |
| | | background: url(../img/dzhwk/grain/lq-c-bg4.png) no-repeat; |
| | | background: url(../../img/dzhwk/grain/lq-c-bg4.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | border-radius: 6px; |
| | | } |
| | | .lq-a5{ |
| | | background: url(../img/dzhwk/grain/lq-c-bg5.png) no-repeat; |
| | | background: url(../../img/dzhwk/grain/lq-c-bg5.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | border-radius: 6px; |
| | | } |
| | | |
| | | .lq-a6{ |
| | | background: url(../img/dzhwk/grain/lq-c-bg6.png) no-repeat; |
| | | background: url(../../img/dzhwk/grain/lq-c-bg6.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | border-radius: 6px; |
| | | } |
| | |
| | | |
| | | .lq-rMenu li:hover .lq-rMenu-icon1, |
| | | .lq-rMenu li.active .lq-rMenu-icon1{ |
| | | background: url(../img/dzhwk/grain/lq-r-icon1-h.png); |
| | | background: url(../../img/dzhwk/grain/lq-r-icon1-h.png); |
| | | } |
| | | |
| | | .lq-rMenu li:hover .lq-rMenu-icon2, |
| | | .lq-rMenu li.active .lq-rMenu-icon2{ |
| | | background: url(../img/dzhwk/grain/lq-r-icon2-h.png); |
| | | background: url(../../img/dzhwk/grain/lq-r-icon2-h.png); |
| | | } |
| | | .lq-rMenu li:hover .lq-rMenu-icon3, |
| | | .lq-rMenu li.active .lq-rMenu-icon3{ |
| | | background: url(../img/dzhwk/grain/lq-r-icon3-h.png); |
| | | background: url(../../img/dzhwk/grain/lq-r-icon3-h.png); |
| | | } |
| | | .lq-rMenu li:hover .lq-rMenu-icon4, |
| | | .lq-rMenu li.active .lq-rMenu-icon4{ |
| | | background: url(../img/dzhwk/grain/lq-r-icon4-h.png); |
| | | background: url(../../img/dzhwk/grain/lq-r-icon4-h.png); |
| | | } |
| | | .lq-rMenu li:hover .lq-rMenu-icon5, |
| | | .lq-rMenu li.active .lq-rMenu-icon5{ |
| | | background: url(../img/dzhwk/grain/lq-r-icon5-h.png); |
| | | background: url(../../img/dzhwk/grain/lq-r-icon5-h.png); |
| | | } |
| | | |
| | | .lq-rMenu li:hover .lq-rMenu-icon6, |
| | | .lq-rMenu li.active .lq-rMenu-icon6{ |
| | | background: url(../img/dzhwk/grain/lq-r-icon6-h.png); |
| | | background: url(../../img/dzhwk/grain/lq-r-icon6-h.png); |
| | | } |
| | | |
| | | .lq-cLow{ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | /** |
| | | * æ ¹æ®æ°ä½ä¿¡æ¯çææå°æ¨¡ç |
| | | * |
| | | * @param depotData |
| | | * ä»åºåºæ¬ä¿¡æ¯ |
| | | * @param grainData |
| | | * ç²®æ
æ°æ®ä¿¡æ¯ |
| | | */ |
| | | builderModel = function(curData,dept) { |
| | | var depotData = curData.depotData; |
| | | var listPoint = curData.listPoint; |
| | | |
| | | var model = "<!DOCTYPE html><html lang=\"zh-cn\">\n" |
| | | + "<head><meta http-equiv=\"Content-Type\" content=\"text/html;charset=UTF-8\"><title>æ°ä½æ¥è¡¨æ¨¡ç</title>" |
| | | + " <style>\n" |
| | | + " table,table tr th,table tr td{border:1px solid #0d1021}table{width:100%;line-height:23px;text-align:center;font-size:14px}.table-2{border-top:0px solid #0d1021 !important}.table-2 tr{border-top:0px solid #0d1021 !important}.table-2 td{border-top:0px solid #0d1021 !important}.table-row-tr{border-left:0px !important;border-right:0px !important;border-top:0px !important}.table-row-fz{border:0px !important}.link-top{width:100%;border-top:solid #0d1021 1px}</style>\n" |
| | | + "</head><body>"; |
| | | |
| | | model += "<div style=\"text-align: center\">\n" |
| | | + "<span style=\"font-size: 26px; font-weight: bold;\">\n"; |
| | | if(dept){ |
| | | model += dept.name; |
| | | }else{ |
| | | model += "--XXX--ç²®åº" |
| | | } |
| | | model += "</span><div class=\"link-top\"></div><div class=\"link-top\"></div>\n"; |
| | | model += "<span style=\"font-size: 18px; \">"; |
| | | model += depotData.name; |
| | | model += " è«å®³æ¥è¡¨</span>\n"; |
| | | model += "</div><div style=\"margin-top: 5px;\"><span style=\"float: left;\">"; |
| | | model += " æ¹åï¼ä¸</span><span style=\"float: right;\">æ£æµæ¶é´ï¼"; |
| | | model += curData.receiveDate; |
| | | model += "</span></div>"; |
| | | |
| | | // 卿é
ç½® |
| | | model += "<table cellspacing=\"0\" cellpadding=\"0\">"; |
| | | model += "<tr><td>ééä½</td><td>è«å®³å¤´æ°</td><td>è«å®³ç±»å</td><td>ééä½</td><td>è«å®³å¤´æ°</td><td>è«å®³ç±»å</td></tr>"; |
| | | |
| | | var num = Math.ceil(listPoint.length / 2); |
| | | var index = 1; |
| | | var point; |
| | | for (var i = 0; i < num; i++) { |
| | | point = listPoint[index - 1]; |
| | | model += "<tr>"; |
| | | |
| | | model += "<td class=\"table-row-fz\">ééä½ " + point.passCode + "</td>"; |
| | | model += "<td class=\"table-row-fz\">" + attrPoint(point, curData) |
| | | + "</td>"; |
| | | model += "<td class=\"table-row-fz\">" + point.pestType + "</td>"; |
| | | |
| | | index++; |
| | | |
| | | if (index > listPoint.length) { |
| | | model += "<td class=\"table-row-fz\"></td>"; |
| | | model += "<td class=\"table-row-fz\"></td>"; |
| | | model += "<td class=\"table-row-fz\"></td>"; |
| | | } else { |
| | | point = listPoint[index - 1]; |
| | | model += "<td class=\"table-row-fz\">ééä½ " + point.passCode + "</td>"; |
| | | model += "<td class=\"table-row-fz\">" + attrPoint(point, curData) |
| | | + "</td>"; |
| | | model += "<td class=\"table-row-fz\">" + point.pestType + "</td>"; |
| | | |
| | | index++; |
| | | } |
| | | model += "</tr>"; |
| | | } |
| | | model += "</table>"; |
| | | // <!--ä¸é¢è¡¨æ ¼å¼å§--> |
| | | model += "<table cellspacing=\"0\" cellpadding=\"0\" class=\"table-2\">"; |
| | | model += "<tr><td width=\"25%\">æ£æµåæï¼</td>"; |
| | | model += "<td colspan=3>" + curData.remark + "</td></tr>"; |
| | | model += "<tr><td width=\"25%\"></td><td width=\"25%\">æ»æ£æµä½æ°</td><td width=\"25%\">æ£æµæå¤å¤´æ°</td><td width=\"25%\">夿³¨</td></tr>"; |
| | | |
| | | // æ°ä½æ´ä½ä¿¡æ¯ |
| | | model += "<tr> <td>æ´ä»</td><td>" + curData.checkNum + "</td>"; |
| | | model += "<td>" + curData.pestMax + "</td>"; |
| | | model += "<td></td></tr>"; |
| | | |
| | | |
| | | // ä»åºä¿¡æ¯ |
| | | model += "<tr><td>仿¿ç±»å</td><td>" + depotData.depotTypeName + "</td>"; |
| | | model += "<td>å
¥ä»æ¥æ</td><td>" + depotData.storeDate + "</td></tr>"; |
| | | |
| | | model += "<tr><td>ç²®é£åç§</td><td>" + depotData.foodVarietyName + "</td>"; |
| | | model += "<td>å®é
å¨éï¼å¨ï¼</td><td>" + depotData.storageReal |
| | | + "</td></tr>"; |
| | | |
| | | model += "<tr><td>å
¥ä»æ°´åï¼%ï¼</td><td>" + depotData.perWet + "</td>"; |
| | | model += "<td>å½åæ°´åï¼%ï¼</td><td>" + depotData.perWet + "</td></tr>"; |
| | | |
| | | model += "<tr><td>åè½çï¼%ï¼</td><td></td>"; |
| | | model += "<td>ç²®é£äº§å°</td><td>" + depotData.foodLocation |
| | | + "</td></tr>"; |
| | | |
| | | model += "<tr><td>容éï¼kg/m3ï¼</td><td>" + depotData.bulkWeight + "</td>"; |
| | | model += "<td>é¢çææ°´çï¼%ï¼</td><td></td></tr>"; |
| | | |
| | | model += "<tr><td>æè´¨ï¼%ï¼</td><td>" + depotData.perImpurity + "</td>"; |
| | | model += "<td>ä¸å®åç²ï¼%ï¼</td><td>" + depotData.broken + "</td></tr>"; |
| | | |
| | | model += "<tr><td>æ£æµäºº</td><td>" + curData.checkUser + "</td>"; |
| | | model += "<td>ä¿ç®¡å</td><td>" + depotData.storeKeeperName |
| | | + "</td></tr>"; |
| | | |
| | | model += "</table>"; |
| | | |
| | | // æ·»å å°¾é¨ä¿¡æ¯ |
| | | model += "<div style=\"margin-top: 5px;\">"; |
| | | model += "<span style=\"float: left;\">注ï¼#表示æä½ *表示æé«</span>"; |
| | | model += "<span style=\"float: right;\">å¶è¡¨æ¶é´ï¼" + curData.sysDate |
| | | + "</span></div>"; |
| | | model += "</div></body></html>"; |
| | | |
| | | return model; |
| | | }; |
| | | |
| | | // æ ¹æ®ééç¹èµå¼ï¼æ³¨ææ°æ®åºçæçåæ æ¯ä»0å¼å§ç |
| | | attrPoint = function(point, curData) { |
| | | if (-100.0 == point.pestNum) { |
| | | return "å¤ç¨"; |
| | | } |
| | | if (curData.pestMax == point.pestNum) { |
| | | return point.pestNum + "*"; |
| | | } |
| | | return point.pestNum; |
| | | }; |
| | | |
| | | /** |
| | | * æ ¹æ®HTML模çæå°ä¸ºA4 |
| | | * |
| | | * @param strHtml |
| | | */ |
| | | previewA4 = function(strHtml) { |
| | | var LODOP = getLodop(); |
| | | LODOP.SET_PRINT_PAGESIZE(1, 0, 0, "A4"); |
| | | LODOP.PRINT_INIT("è«å®³æ¥è¡¨"); |
| | | LODOP.ADD_PRINT_HTM(30, 40, "180mm", "100%", strHtml); |
| | | LODOP.PREVIEW(); |
| | | }; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | var layer; |
| | | var depotId;// å½åä»åºid |
| | | var curData;// å½åä»ç²®æ
æ°æ® |
| | | var mapData;// æ ¹æ®æ¥ææ¥è¯¢çæ¯ä¸ªä»åºä¸æ¡æ°æ® |
| | | var form; |
| | | var table; |
| | | var listData;// é»è®¤é¡µé¢ä¸çç²®æ
å表 |
| | | var gasConf;// æ°ä½ééé
置信æ¯ï¼å
æ¬å¼å§ééç¹åæªè³ééç¹ã |
| | | |
| | | $(function () { |
| | | layui.use(['layer', 'laydate', 'form', 'table'], function () { |
| | | form = layui.form; |
| | | layer = layui.layer; |
| | | var laydate = layui.laydate; |
| | | table = layui.table; |
| | | |
| | | // æ¥æ |
| | | laydate.render({ |
| | | elem: '#checkDateMore', |
| | | theme: '#7b8e9f' |
| | | }); |
| | | |
| | | laydate.render({ |
| | | elem: '#printCheckDate', |
| | | theme: '#7b8e9f' |
| | | }); |
| | | |
| | | // çå¬ä»åºéæ© |
| | | form.on('select(select_depotId)', function (obj) { |
| | | flushData(null); |
| | | |
| | | //è·åå½åä»åºææå¾ |
| | | // cutImg(obj.value); |
| | | //æ ¹æ®ä»åºç¼ç 忢ééç¹ä½ç½® |
| | | // cutPoint(obj.value); |
| | | }); |
| | | |
| | | // çå¬éæ©æ¹æ¬¡ |
| | | form.on('select(select_batchId)', function (obj) { |
| | | var value = obj.value; |
| | | if (value == "0") {// è¡¨ç¤ºå¼¹åºæ´å¤æ¹æ¬¡ |
| | | showMore(); |
| | | } else { |
| | | flushByBatchId(value); |
| | | } |
| | | }); |
| | | flushData(null); |
| | | }); |
| | | }); |
| | | |
| | | /** |
| | | * 忢ééç¹ |
| | | * @param depotId |
| | | */ |
| | | function cutPoint(depotId) { |
| | | //é¦å
é¤å»å·²æææ |
| | | $(".qt-pic-icon-active").removeClass("qt-pic-icon-active"); |
| | | |
| | | $("#list-point-right").css("display","none"); |
| | | $("#list-point-left").css("display","block"); |
| | | } |
| | | |
| | | |
| | | //æ ¹æ®ééè¿åº¦ä¿¡æ¯æ¸²æééç¹ææ |
| | | function renderCheckPoint(checkProgress) { |
| | | if (depotId != checkProgress.depotId) { |
| | | $("#progress-info").text(""); |
| | | return; |
| | | } |
| | | $("#progress-info").text(checkProgress.msg); |
| | | |
| | | //é¦å
é¤å»å·²æææ |
| | | $(".qt-pic-icon-active").removeClass("qt-pic-icon-active"); |
| | | |
| | | var id = "#point" + checkProgress.checkPoint+"-left"; |
| | | $(id).addClass("qt-pic-icon-active"); |
| | | id = "#point" + checkProgress.checkPoint+"-right"; |
| | | $(id).addClass("qt-pic-icon-active"); |
| | | }; |
| | | |
| | | // åä»æå° |
| | | function printSingle() { |
| | | layer.msg("ææªå¯¹æ¥ï¼"); |
| | | return; |
| | | layer.msg("å¼å§çææå°æ¨¡çâ¦â¦"); |
| | | var html = builderModel(curData,dept); |
| | | layer.msg("å¼å§è°ç¨æå°æºç¨åºé¢è§â¦â¦"); |
| | | previewA4(html); |
| | | }; |
| | | |
| | | // æ¹éæå° |
| | | function printBatch() { |
| | | layer.msg("ææªå¯¹æ¥ï¼"); |
| | | return; |
| | | // é¦å
å»é¤ä¹åçéæ© |
| | | var name; |
| | | $('#batchPrintSelect input').each(function () { |
| | | name = $(this).prop("name"); |
| | | if (name == "printCheckDate") {// è·³è¿ |
| | | return true; |
| | | } |
| | | $(this).prop("disabled", false); |
| | | $(this).prop("checked", false); |
| | | }); |
| | | form.render(); |
| | | |
| | | // å¼¹åºéæ©æ¡ |
| | | layer.open({ |
| | | type: 1, |
| | | title: 'æ¹éæå°ï¼çº¢è²è¡¨ç¤ºæ²¡ææ£æµè®°å½ï¼é»è®¤ä¸ºå½å¤©ï¼', |
| | | area: ['690px', '450px'], |
| | | shade: 0, |
| | | content: $('#batchPrintSelect'), |
| | | btn: ['å
¨é', 'åé', 'éé', 'æå°é¢è§', 'åæ¶æå°'], |
| | | yes: function () { |
| | | var disabled, name; |
| | | $('#batchPrintSelect input').each(function () { |
| | | disabled = $(this).prop("disabled"); |
| | | name = $(this).prop("name"); |
| | | if (name == "printCheckDate" || disabled) { |
| | | } else { |
| | | $(this).prop("checked", true); |
| | | } |
| | | }); |
| | | form.render(); |
| | | }, |
| | | btn2: function () { |
| | | var disabled, name; |
| | | $('#batchPrintSelect input').each(function () { |
| | | disabled = $(this).prop("disabled"); |
| | | name = $(this).prop("name"); |
| | | if (name == "printCheckDate" || disabled) { |
| | | // ä¸åå¤ç |
| | | } else { |
| | | if ($(this).prop("checked")) { |
| | | $(this).prop("checked", false); |
| | | } else { |
| | | $(this).prop("checked", true); |
| | | } |
| | | } |
| | | }); |
| | | form.render(); |
| | | return false; |
| | | }, |
| | | btn3: function () { |
| | | var disabled, name; |
| | | $('#batchPrintSelect input').each(function () { |
| | | disabled = $(this).prop("disabled"); |
| | | name = $(this).prop("name"); |
| | | if (name == "printCheckDate" || disabled) { |
| | | // ä¸åå¤ç |
| | | } else { |
| | | $(this).prop("checked", false); |
| | | } |
| | | }); |
| | | form.render(); |
| | | return false; |
| | | }, |
| | | btn4: function () { |
| | | printBatchTodo(); |
| | | }, |
| | | btn5: function () { |
| | | layer.close(0); |
| | | }, |
| | | closeBtn: 0 |
| | | }); |
| | | |
| | | // é»è®¤è°ç¨è·åæ°æ®æ´æ° |
| | | $("#printCheckDate").prop("value", dateFtt("yyyy-MM-dd", new Date())); |
| | | getPrintBatchDepot(); |
| | | }; |
| | | |
| | | // è·åæ¹éæå°çä¿¡æ¯ |
| | | function getPrintBatchDepot() { |
| | | layer.msg("éªè¯ç²®æ
æ£æµè®°å½â¦â¦"); |
| | | var checkDate = $("#printCheckDate").val(); |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "../../basic/pest/query-checkDate-map", |
| | | dataType: "json", |
| | | contentType: "application/json;charset=UTF-8", |
| | | data: JSON.stringify({ |
| | | checkDate: checkDate |
| | | }), |
| | | success: function (result) { |
| | | if (result.code != "0000") { |
| | | layer.msg(result.msg); |
| | | // 设置ææä»åºä¸å¯é |
| | | var name; |
| | | $('#batchPrintSelect input').each(function () { |
| | | name = $(this).prop("name"); |
| | | if (name != "printCheckDate") {// è·³è¿ |
| | | $(this).prop("disabled", true); |
| | | } |
| | | }); |
| | | form.render(); |
| | | |
| | | } else { |
| | | mapData = result.data; |
| | | |
| | | // å¨æè°æ´ä»åºæ¯å¦å¯ä»¥éæ© |
| | | var name, value; |
| | | $('#batchPrintSelect input').each(function () { |
| | | name = $(this).prop("name"); |
| | | value = $(this).val(); |
| | | if (name != "printCheckDate") {// è·³è¿ |
| | | if (mapData[value]) { |
| | | $(this).prop("disabled", false); |
| | | } else { |
| | | $(this).prop("disabled", true); |
| | | } |
| | | } |
| | | }); |
| | | form.render(); |
| | | } |
| | | }, |
| | | error: function () { |
| | | layer.msg("æ¹éæå°è·åç²®æ
ä¿¡æ¯å¤±è´¥ï¼"); |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | // æ ¹æ®æ¥è¯¢çæ°æ®æ¹éæå°é¢è§ |
| | | function printBatchTodo() { |
| | | layer.msg("å¼å§æ¹éçææå°æ¨¡çâ¦â¦"); |
| | | var strHtml; |
| | | var value; |
| | | var checked; |
| | | var printData; |
| | | // å°ä»åºæ°æ®å表转æ¢ä¸ºMAP |
| | | var mapDepot = {}; |
| | | $.each(listDepot, function (index, data) { |
| | | mapDepot[data.id] = data; |
| | | }); |
| | | var LODOP = getLodop(); |
| | | LODOP.PRINT_INIT("æ°ä½æ£æµæ¥è¡¨");// åå§åå¨å¾ªç¯å¤ |
| | | LODOP.SET_PRINT_PAGESIZE(1, 0, 0, "A4"); |
| | | $('#batchPrintSelect input').each(function () { |
| | | if ($(this).prop("name") == "printCheckDate") {// è·³è¿ |
| | | return true; |
| | | } |
| | | checked = $(this).prop("checked"); |
| | | if (checked) { |
| | | value = $(this).val(); |
| | | LODOP.NewPage(); |
| | | printData = mapData[value]; |
| | | if (!printData) {// å¦ææ²¡æç²®æ
æ°æ®è·³è¿æ§è¡ä¸ä¸ä¸ª |
| | | return true; |
| | | } |
| | | printData.depotData = mapDepot[value]; |
| | | strHtml = builderModel(printData,dept); |
| | | LODOP.ADD_PRINT_HTM(30, 40, "180mm", "100%", strHtml); |
| | | } |
| | | }); |
| | | layer.msg("å¼å§è°ç¨æå°ç¨åºé¢è§â¦â¦"); |
| | | LODOP.PREVIEW(); |
| | | }; |
| | | |
| | | // ç¹å»å·æ°æä½ |
| | | function flushData(checkDate) { |
| | | depotId = $("#depotId").val(); |
| | | if (!depotId) { |
| | | layer.msg("请å
éæ©ä»åºï¼"); |
| | | return; |
| | | } |
| | | cleanData(); |
| | | listData = [{"batchId":"202410230838","checkNum":5,"checkUser":"管çå","companyId":"1000","depotData":{"bulkWeight":600,"companyId":"1000","depotStatus":"3","depotStatusName":"å°ä»","depotType":"01","depotTypeName":"å¹³æ¿ä»","deptId":"1000001001","foodLevel":"03","foodLevelName":"ä¸ç","foodLocation":"æ±è¥¿ç","foodType":"123","foodTypeName":"å¿çº§å°æ¹å¨å¤ç²®","foodVariety":"1131","foodYear":"2024","id":"LB03","name":"L1-1Cä»","orderNum":3,"storageMax":5000000,"storageReal":1825000,"storeDate":1724342400000,"storeKeeperLevel":"é«çº§ä¿ç®¡å","storeKeeperPhone":"####","storeType":"1"},"depotId":"LB03","listPoint":[{"passCode":1,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 08:38"},{"passCode":2,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 08:38"},{"passCode":3,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 08:38"},{"passCode":4,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 08:38"},{"passCode":5,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 08:38"}],"pestEnd":5,"pestMax":2,"pestStart":1,"points":"1,0;2,0;3,0;4,0;5,2;","receiveDate":"2024-10-23 08:38","remark":"åºæ¬æ è«ç²®","sysDate":1747965415141},{"batchId":"202410100836","checkNum":5,"checkUser":"å°ç£
室","companyId":"1000","depotData":{"$ref":"$[0][0].depotData"},"depotId":"LB03","listPoint":[{"passCode":1,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 09:38"},{"passCode":2,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 09:38"},{"passCode":3,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 09:38"},{"passCode":4,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 09:38"},{"passCode":5,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 09:38"}],"pestEnd":5,"pestMax":0,"pestStart":1,"points":"1,0;2,0;3,0;4,0;5,0;","receiveDate":"2024-10-23 09:38","remark":"åºæ¬æ è«ç²®","sysDate":1747965415141},{"batchId":"202410081616","checkNum":5,"checkUser":"å°ç£
室","companyId":"1000","depotData":{"$ref":"$[0][0].depotData"},"depotId":"LB03","listPoint":[{"passCode":1,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 11:38"},{"passCode":2,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 11:38"},{"passCode":3,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 11:38"},{"passCode":4,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 11:38"},{"passCode":5,"pestNum":0,"pestType":"","receiveDate":"2024-10-23 11:38"}],"pestEnd":5,"pestMax":5,"pestStart":1,"points":"1,4;2,2;3,1;4,2;5,5;","receiveDate":"2024-10-23 11:38","remark":"ä¸è¬è«ç²®","sysDate":1747965415141}]; |
| | | |
| | | if(!listData){ |
| | | return; |
| | | } |
| | | curData = listData[0]; |
| | | |
| | | // æ¸²ææ°æ® |
| | | renderDataInfo(); |
| | | |
| | | // 卿¹æ¬¡éæ©ä¸æ·»å ä¸ææ°æ® |
| | | resetSelectBatchId(); |
| | | |
| | | // è°ç¨å
¨é¨å
³é |
| | | layer.closeAll(); |
| | | layer.msg("æ´æ°æåâ¦â¦"); |
| | | |
| | | |
| | | // var data = { |
| | | // depotId: depotId, |
| | | // checkDate: checkDate |
| | | // }; |
| | | // $.ajax({ |
| | | // type: "POST", |
| | | // url: "../../basic/pest/list-data", |
| | | // dataType: "json", |
| | | // contentType: "application/json;charset=UTF-8", |
| | | // data: JSON.stringify(data), |
| | | // success: function (result) { |
| | | // if (result.code != "0000") { |
| | | // layer.msg(result.msg); |
| | | // } |
| | | // listData = result.data; |
| | | // if(!listData){ |
| | | // return; |
| | | // } |
| | | // curData = listData[0]; |
| | | // |
| | | // // æ¸²ææ°æ® |
| | | // renderDataInfo(); |
| | | // |
| | | // // 卿¹æ¬¡éæ©ä¸æ·»å ä¸ææ°æ® |
| | | // resetSelectBatchId(); |
| | | // |
| | | // // è°ç¨å
¨é¨å
³é |
| | | // layer.closeAll(); |
| | | // layer.msg("æ´æ°æåâ¦â¦"); |
| | | // }, |
| | | // error: function () { |
| | | // layer.msg("æ ¹æ®å½åæ¡ä»¶è·åç²®æ
æ°æ®æ¸²æå¾æ 失败ï¼ï¼"); |
| | | // } |
| | | // }); |
| | | }; |
| | | |
| | | //æ¸
ç©ºæ°æ® |
| | | function cleanData() { |
| | | //æ¸
ç©ºæ£æµæ¶é´æ¹æ¬¡å¼ |
| | | $("#batchId").empty(); |
| | | form.render(); |
| | | |
| | | $("#checkNum").text("0"); |
| | | $("#remark").text("æ è«"); |
| | | |
| | | $("#tableInfo").html(""); |
| | | } |
| | | |
| | | //忢ä»åºå¾ç |
| | | function cutImg(depotId) { |
| | | //é»è®¤å¾ç |
| | | var gasImg = gasImgMap[depotId]; |
| | | var imgPath = "../../basic/file/getImg?filePath=" + gasImg.fileImg; |
| | | |
| | | $("#depot_img").attr("src", imgPath); |
| | | } |
| | | |
| | | //渲æè¡¨æ ¼ï¼åæ¶æ¸²ææè¡ |
| | | function renderTableInfo() { |
| | | var listPoint = curData.listPoint; |
| | | var v1 = curData.pestMax, v2 = 0.0, v3 = 0.0, v4 = 0.0; |
| | | var tableHtml = "<table class=\"layui-table\" lay-even lay-skin=\"nob\" >"; |
| | | tableHtml += "<thead><tr><th>æ£æµä½</th><th lay-data=\"{sort:true}\">è«å®³å¤´æ°</th><th>è«å®³ç±»å</th></tr></thead>"; |
| | | tableHtml += "<tbody>"; |
| | | // 卿åå»ºè¡¨æ ¼ |
| | | $.each(listPoint, function (index, item) { |
| | | tableHtml += "<tr><td>" + item.passCode + "</td>"; |
| | | tableHtml += "<td>" + item.pestNum + "</td>"; |
| | | tableHtml += "<td>" + item.pestType + "</td></tr>"; |
| | | |
| | | //渲ææè¡ |
| | | if (index == 0) { |
| | | $("#orderValue1").text(item.pestNum); |
| | | $("#orderName1").text("ééä½" + item.passCode); |
| | | } |
| | | if (index == 1) { |
| | | $("#orderValue2").text(item.pestNum); |
| | | $("#orderName2").text("ééä½" + item.passCode); |
| | | } |
| | | if (index == 2) { |
| | | $("#orderValue3").text(item.pestNum); |
| | | $("#orderName3").text("ééä½" + item.passCode); |
| | | } |
| | | if (index == 3) { |
| | | $("#orderValue4").text(item.pestNum); |
| | | $("#orderName4").text("ééä½" + item.passCode); |
| | | } |
| | | }); |
| | | tableHtml += "</tbody></table>"; |
| | | $("#tableInfo").html(tableHtml); |
| | | }; |
| | | |
| | | // åå¡«æ£æµä¿¡æ¯ |
| | | function renderDataInfo() { |
| | | $("#checkNum").text(curData.checkNum); |
| | | $("#remark").text(curData.remark); |
| | | |
| | | //渲æè¡¨æ ¼åæè¡ |
| | | renderTableInfo(); |
| | | }; |
| | | |
| | | // æ ¹æ®æ¹æ¬¡æ´æ°çå¼è°æ´ |
| | | function flushByBatchId(batchId) { |
| | | var temp; |
| | | $.each(listData, function (index, item) { |
| | | if (item.batchId == batchId) { |
| | | temp = item; |
| | | return false; |
| | | } |
| | | }); |
| | | if (temp) { |
| | | curData = temp; |
| | | renderDataInfo(); |
| | | layer.msg("æ´æ°æåâ¦â¦"); |
| | | } |
| | | }; |
| | | |
| | | // éç½®æ¹æ¬¡ä¸ææ¡ |
| | | function resetSelectBatchId() { |
| | | // é¦å
æ¸
ç©ºåæ¥çå¼ |
| | | $("#batchId").empty(); |
| | | // æªä¸ææ¡èµå¼ |
| | | $.each(listData, function (index, item) { |
| | | $('#batchId').append(new Option(item.receiveDate, item.batchId));// 䏿èåéæ·»å å
ç´ |
| | | }); |
| | | $('#batchId').append(new Option("éæ©æ¶é´â¦â¦", "0")); |
| | | form.render(); |
| | | }; |
| | | |
| | | // æ´å¤æ¹æ¬¡éæ© |
| | | function showMore() { |
| | | layer.open({ |
| | | type: 1, |
| | | title: 'è¯·éæ©æ¶é´', |
| | | area: ['380px', '250px'], |
| | | shade: 0, |
| | | content: $('#dialogMoreSelect'), |
| | | btn: ['ç¡®è®¤éæ©', 'åæ¶'], |
| | | yes: function () { |
| | | var checkDateMore = $("#checkDateMore").val(); |
| | | if (checkDateMore) { |
| | | flushData(checkDateMore); |
| | | } else { |
| | | layer.msg("请å
确认æ¶é´ï¼"); |
| | | } |
| | | }, |
| | | btn2: function () { |
| | | layer.close(0); |
| | | }, |
| | | closeBtn: 0 |
| | | }); |
| | | }; |
| | | |
| | | // æ°ä½ééçå
¥å£æ¹æ³ï¼type=1,表示æ´ä»ééï¼type=2,è¡¨ç¤ºéæ©ééï¼type=3表示å¤ä»éé |
| | | function checkStart(type) { |
| | | layer.msg("ææªå¯¹æ¥ï¼"); |
| | | return; |
| | | if (3 == type) { |
| | | checkBatch(); |
| | | return; |
| | | } |
| | | |
| | | // æ´ä»ééåéæ©éééè¦è·åå°æ°ä½çé
置信æ¯åè¿è¡æä½ |
| | | depotId = $("#depotId").val(); |
| | | if (!depotId) { |
| | | layer.msg("请å
éæ©ä»åºï¼"); |
| | | return; |
| | | } |
| | | |
| | | if (gasConf && gasConf.depotId == depotId) { |
| | | if (1 == type) { |
| | | check(); |
| | | } |
| | | if (2 == type) { |
| | | checkSelect(); |
| | | } |
| | | return; |
| | | } |
| | | |
| | | layer.msg("è·åå½åä»åºçé
置信æ¯â¦â¦"); |
| | | var data = { |
| | | depotId: depotId |
| | | }; |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "../../basic/pest/gas-conf", |
| | | dataType: "json", |
| | | contentType: "application/json;charset=UTF-8", |
| | | data: JSON.stringify(data), |
| | | success: function (result) { |
| | | if (result.code != "0000") { |
| | | layer.msg(result.msg); |
| | | return; |
| | | } |
| | | gasConf = result.data; |
| | | if (1 == type) { |
| | | check(); |
| | | return; |
| | | } |
| | | if (2 == type) { |
| | | checkSelect(); |
| | | return; |
| | | } |
| | | }, |
| | | error: function () { |
| | | layer.msg("è·åå½åä»åºé
置信æ¯å¤±è´¥ï¼"); |
| | | } |
| | | }); |
| | | |
| | | }; |
| | | |
| | | // å个粮æ
æ£æµ |
| | | function check() { |
| | | layer.msg("å¼å§æ°ä½æ£æµâ¦â¦"); |
| | | var data = { |
| | | depotId: depotId |
| | | }; |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "../../basic/pest/check-single", |
| | | dataType: "json", |
| | | contentType: "application/json;charset=UTF-8", |
| | | data: JSON.stringify(data), |
| | | success: function (result) { |
| | | if (result.code != "ORDER_SUCCESS") { |
| | | if (result.msg) { |
| | | layer.msg(result.msg); |
| | | } else { |
| | | layer.msg("æ§è¡åºç°å¼å¸¸ï¼è¯·éè¯æè系管çå"); |
| | | } |
| | | } else { |
| | | layer.msg("å½ä»¤å·²ç»æååéï¼å¾
ç»ç«¯ååºâ¦â¦"); |
| | | } |
| | | }, |
| | | error: function () { |
| | | layer.msg("æ°ä½æ£æµåºç°å¼å¸¸ï¼æ§è¡å¤±è´¥ï¼"); |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | // éæ©ééç¹éé |
| | | function checkSelect() { |
| | | // å¼¹åºéæ©æ¡ï¼éæ©ä¿¡æ¯ |
| | | var gasStart = gasConf.gasStart, gasEnd = gasConf.gasEnd; |
| | | var strHtml = ""; |
| | | for (var i = gasStart; i <= gasEnd; i++) { |
| | | if (i < 10) { |
| | | strHtml += "<input title='ä½ç½®0" + i + "' type='checkbox' value='" |
| | | + i + "'>"; |
| | | strHtml += "<div class='layui-unselect layui-form-checkbox'><span>ä½ç½®0" |
| | | + i |
| | | + "</span><i class='layui-icon layui-icon-ok'></i></div>"; |
| | | } else { |
| | | strHtml += "<input title='ä½ç½®" + i + "' type='checkbox' value='" + i |
| | | + "'>"; |
| | | strHtml += "<div class='layui-unselect layui-form-checkbox'><span>ä½ç½®" |
| | | + i |
| | | + "</span><i class='layui-icon layui-icon-ok'></i></div>"; |
| | | } |
| | | } |
| | | $("#div_point_select").html(strHtml); |
| | | form.render(); |
| | | |
| | | // å¼å§éæ© |
| | | layer.open({ |
| | | type: 1, |
| | | title: 'éæ©ééç¹ï¼å
¨éè¯·ä½¿ç¨æ´ä»ééï¼', |
| | | area: ['690px', '450px'], |
| | | shade: 0, |
| | | content: $('#pointSelect'), |
| | | btn: ['å
¨é', 'åé', 'éé', 'ç¡®å®æ£æµ', 'åæ¶æ£æµ'], |
| | | yes: function () { |
| | | $('#pointSelect input').each(function () { |
| | | $(this).prop("checked", true); |
| | | }); |
| | | form.render(); |
| | | }, |
| | | btn2: function () { |
| | | $('#pointSelect input').each(function () { |
| | | if ($(this).prop("checked")) { |
| | | $(this).prop("checked", false); |
| | | } else { |
| | | $(this).prop("checked", true); |
| | | } |
| | | }); |
| | | form.render(); |
| | | return false; |
| | | }, |
| | | btn3: function () { |
| | | $('#pointSelect input').each(function () { |
| | | $(this).prop("checked", false); |
| | | }); |
| | | form.render(); |
| | | return false; |
| | | }, |
| | | btn4: function () { |
| | | return checkSelectStep2(); |
| | | }, |
| | | btn5: function () { |
| | | layer.close(0); |
| | | }, |
| | | closeBtn: 1 |
| | | }); |
| | | }; |
| | | |
| | | // æ§è¡ééç¹æ£æµ |
| | | function checkSelectStep2() { |
| | | // è·åéæ©çééç¹ |
| | | var checkPoints = ""; |
| | | $('#pointSelect input').each(function () { |
| | | if ($(this).prop("checked")) { |
| | | checkPoints += $(this).val() + ","; |
| | | } |
| | | }); |
| | | |
| | | if (checkPoints == "") { |
| | | layer.msg("è¯·éæ©éè¦æ£æµçééç¹"); |
| | | return false; |
| | | } |
| | | layer.msg("å¼å§æ°ä½æ£æµâ¦â¦"); |
| | | var data = { |
| | | depotId: depotId, |
| | | checkPoints: checkPoints |
| | | }; |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "../../basic/pest/check-select", |
| | | dataType: "json", |
| | | contentType: "application/json;charset=UTF-8", |
| | | data: JSON.stringify(data), |
| | | success: function (result) { |
| | | if (result.code != "ORDER_SUCCESS") { |
| | | if (result.msg) { |
| | | layer.msg(result.msg); |
| | | } else { |
| | | layer.msg("æ§è¡åºç°å¼å¸¸ï¼è¯·éè¯æè系管çå"); |
| | | } |
| | | return false; |
| | | } else { |
| | | layer.msg("å½ä»¤å·²ç»æååéï¼å¾
ç»ç«¯ååºâ¦â¦"); |
| | | return true; |
| | | } |
| | | }, |
| | | error: function () { |
| | | layer.msg("æ°ä½æ£æµåºç°å¼å¸¸ï¼æ§è¡å¤±è´¥ï¼"); |
| | | return false; |
| | | } |
| | | }); |
| | | return true; |
| | | }; |
| | | |
| | | // æ¹éç²®æ
éé |
| | | function checkBatch() { |
| | | // é¦å
å»é¤ä¹åçéæ© |
| | | $('#batchCheckSelect input').each(function () { |
| | | $(this).prop("checked", false); |
| | | }); |
| | | form.render(); |
| | | |
| | | // å¼¹åºéæ©æ¡ |
| | | layer.open({ |
| | | type: 1, |
| | | title: 'æ¹ééééæ©', |
| | | area: ['690px', '450px'], |
| | | shade: 0, |
| | | content: $('#batchCheckSelect'), |
| | | btn: ['å
¨é', 'åé', 'éé', 'æ§è¡éé', 'åæ¶éé'], |
| | | yes: function () { |
| | | $('#batchCheckSelect input').each(function () { |
| | | $(this).prop("checked", true); |
| | | }); |
| | | form.render(); |
| | | }, |
| | | btn2: function () { |
| | | $('#batchCheckSelect input').each(function () { |
| | | if ($(this).prop("checked")) { |
| | | $(this).prop("checked", false); |
| | | } else { |
| | | $(this).prop("checked", true); |
| | | } |
| | | }); |
| | | form.render(); |
| | | return false; |
| | | }, |
| | | btn3: function () { |
| | | $('#batchCheckSelect input').each(function () { |
| | | $(this).prop("checked", false); |
| | | }); |
| | | form.render(); |
| | | return false; |
| | | }, |
| | | btn4: function () { |
| | | return checkBatchStep2(); |
| | | }, |
| | | btn5: function () { |
| | | layer.close(0); |
| | | }, |
| | | closeBtn: 0 |
| | | }); |
| | | }; |
| | | |
| | | /** |
| | | * å¼å§æ§è¡æ¹éæ£æµ |
| | | */ |
| | | function checkBatchStep2() { |
| | | var depotIds = ""; |
| | | $('#batchCheckSelect input').each(function () { |
| | | if ($(this).prop("checked")) { |
| | | depotIds += $(this).val() + ","; |
| | | } |
| | | }); |
| | | |
| | | if (depotIds == "") { |
| | | layer.msg("请å
éæ©éè¦æ£æµçä»åºâ¦â¦"); |
| | | return false; |
| | | } |
| | | layer.msg("å¼å§æ§è¡æ¹éæ£æµâ¦â¦"); |
| | | // è°ç¨åå°æ¹éæ£æµ |
| | | var data = { |
| | | depotIds: depotIds |
| | | }; |
| | | $.ajax({ |
| | | type: "POST", |
| | | url: "../../basic/pest/check-batch", |
| | | dataType: "json", |
| | | contentType: "application/json;charset=UTF-8", |
| | | data: JSON.stringify(data), |
| | | success: function (result) { |
| | | if (result.code != "ORDER_SUCCESS") { |
| | | if (result.msg) { |
| | | layer.msg(result.msg); |
| | | } else { |
| | | layer.msg("æ§è¡åºç°å¼å¸¸ï¼è¯·éè¯æè系管çå"); |
| | | } |
| | | return false; |
| | | } else { |
| | | layer.msg("å½ä»¤å·²ç»æååéï¼å¾
ç»ç«¯ååºâ¦â¦"); |
| | | return true; |
| | | } |
| | | }, |
| | | error: function () { |
| | | layer.msg("æ£æµåºç°å¼å¸¸ï¼æ§è¡å¤±è´¥ï¼"); |
| | | return false; |
| | | } |
| | | }); |
| | | return true; |
| | | }; |
| | | |
| | | function gasChart() { |
| | | layer.msg("ææªå¯¹æ¥ï¼"); |
| | | return; |
| | | layer.msg("åè½ææªå¼æ¾â¦â¦"); |
| | | }; |
¶Ô±ÈÐÂÎļþ |
| | |
| | | @charset "utf-8"; |
| | | |
| | | /*----------------- |
| | | Author:xq |
| | | update:2019 |
| | | -------------------*/ |
| | | body { |
| | | font-family: "微软é
é»", Arial, sans-serif; |
| | | font-size: 14px; |
| | | background: #f3f5f8; |
| | | } |
| | | |
| | | i, em { |
| | | font-style: normal; |
| | | } |
| | | |
| | | .radius-3 { |
| | | -webkit-border-radius: 3px; |
| | | -moz-border-radius: 3px; |
| | | -ms-border-radius: 3px; |
| | | -o-border-radius: 3px; |
| | | border-radius: 3px; |
| | | } |
| | | |
| | | .radius-4, .qt-rMenu-item a { |
| | | -webkit-border-radius: 4px; |
| | | -moz-border-radius: 4px; |
| | | -ms-border-radius: 4px; |
| | | -o-border-radius: 4px; |
| | | border-radius: 4px; |
| | | } |
| | | |
| | | .radius-6, .lq-rMenu li { |
| | | -webkit-border-radius: 6px; |
| | | -moz-border-radius: 6px; |
| | | -ms-border-radius: 6px; |
| | | -o-border-radius: 6px; |
| | | border-radius: 6px; |
| | | } |
| | | |
| | | .box-shadow { |
| | | -webkit-box-shadow: 0px 0px 9px 3px rgba(230, 230, 230, 0.6); |
| | | -moz-box-shadow: 0px 0px 9px 3px rgba(230, 230, 230, 0.6); |
| | | box-shadow: 0px 0px 9px 3px rgba(230, 230, 230, 0.6); |
| | | } |
| | | |
| | | .fl { |
| | | float: left; |
| | | } |
| | | |
| | | .fr { |
| | | float: right; |
| | | } |
| | | |
| | | /*qtjc*/ |
| | | .l-container { |
| | | width: 100%; |
| | | max-width: 1680px; |
| | | min-width: 1340px; |
| | | margin-left: auto; |
| | | margin-right: auto; |
| | | } |
| | | |
| | | .l-main { |
| | | margin: 10px; |
| | | position: relative; |
| | | padding-right: 350px; |
| | | } |
| | | |
| | | .qt-left { |
| | | width: 100%; |
| | | } |
| | | |
| | | .qt-lTop-l { |
| | | width: 26%; |
| | | min-width: 260px; |
| | | } |
| | | |
| | | .qt-left1 { |
| | | padding: 27px 8%; |
| | | background: #7b8e9f; |
| | | } |
| | | |
| | | .lq-left1-from { |
| | | margin-bottom: 20px; |
| | | } |
| | | |
| | | .qt-left .lq-left1-from:last-child { |
| | | margin-bottom: 0; |
| | | } |
| | | |
| | | .qt-left .lq-left1-from .layui-form-label { |
| | | color: #fff; |
| | | padding: 9px 0; |
| | | text-align: left; |
| | | font-size: 16px; |
| | | } |
| | | |
| | | .qt-left .lq-left1-from .layui-input-block { |
| | | margin-left: 80px; |
| | | } |
| | | |
| | | .qt-left .layui-form-select .layui-edge { |
| | | border-top-color: #666; |
| | | } |
| | | |
| | | .qt-left .layui-input-block .layui-input { |
| | | font-size: 16px; |
| | | color: #000; |
| | | } |
| | | |
| | | .qt-left .layui-form-select dl dd.layui-this { |
| | | background: #7b8e9f; |
| | | } |
| | | |
| | | .qt-lTop-r { |
| | | width: 71.5%; |
| | | } |
| | | |
| | | .qt-left-item { |
| | | height: 150px; |
| | | overflow: hidden; |
| | | color: #fff; |
| | | text-align: center; |
| | | } |
| | | |
| | | .qt-left2 { |
| | | background: url(../../img/dzhwk/gas/lq-c-bg3.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .qt-left4 { |
| | | background: url(../../img/dzhwk/gas/lq-c-bg2.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | } |
| | | |
| | | .qt-left-item h3 { |
| | | height: 24px; |
| | | line-height: 24px; |
| | | font-size: 16px; |
| | | overflow: hidden; |
| | | font-weight: bold; |
| | | margin: 30px 0; |
| | | } |
| | | |
| | | .lq-cTop-ite { |
| | | position: relative; |
| | | } |
| | | |
| | | .lq-cTop-item:after { |
| | | display: block; |
| | | content: ''; |
| | | width: 1px; |
| | | height: 100%; |
| | | background: rgba(255, 255, 255, 0.1); |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 97; |
| | | } |
| | | |
| | | .lq-cTop-item:last-child:after { |
| | | background: none; |
| | | } |
| | | |
| | | .lq-cTop-item p { |
| | | height: 25px; |
| | | line-height: 25px; |
| | | font-size: 16px; |
| | | margin-top: 5px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | .lq-cTop-item h4 { |
| | | font-size: 16px; |
| | | line-height: 25px; |
| | | height: 25px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | .lq-cTop-item p span { |
| | | font-size: 24px; |
| | | } |
| | | |
| | | .qt-picBox { |
| | | width: 96%; |
| | | text-align: center; |
| | | position: relative; |
| | | } |
| | | |
| | | .qt-pic { |
| | | width: 100%; |
| | | margin: 0 auto; |
| | | } |
| | | |
| | | .qt-right { |
| | | width: 340px; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 99; |
| | | } |
| | | |
| | | .qt-rMenu { |
| | | background: #fff; |
| | | width: 320px; |
| | | height: 120px; |
| | | overflow: hidden; |
| | | padding: 15px 10px; |
| | | } |
| | | |
| | | .qt-rMenu-item { |
| | | height: 120px; |
| | | text-align: center; |
| | | } |
| | | |
| | | .qt-rMenu-item a { |
| | | display: inline-block; |
| | | width: 88px; |
| | | height: 118px; |
| | | border: 1px solid #e5e8ec; |
| | | } |
| | | |
| | | .qt-icon { |
| | | width: 48px; |
| | | height: 48px; |
| | | display: inline-block; |
| | | position: relative; |
| | | margin: 15px 0 10px; |
| | | } |
| | | |
| | | .qt-icon img, .qt-pic-icon img { |
| | | width: 100%; |
| | | height: 100%; |
| | | vertical-align: top; |
| | | } |
| | | |
| | | .qt-rMenu-item a p { |
| | | line-height: 20px; |
| | | color: #324251; |
| | | font-size: 16px; |
| | | height: 20px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | .qt-rMenu-icon1 { |
| | | background: url(../../img/dzhwk/gas/qt-icon1.png); |
| | | } |
| | | |
| | | .qt-rMenu-icon2 { |
| | | background: url(../../img/dzhwk/gas/qt-icon2.png); |
| | | } |
| | | |
| | | .qt-rMenu-icon3 { |
| | | background: url(../../img/dzhwk/gas/lq-r-icon2.png); |
| | | } |
| | | |
| | | .qt-rMenu-icon4 { |
| | | background: url(../../img/dzhwk/gas/lq-r-icon4.png); |
| | | } |
| | | |
| | | .qt-rMenu-icon5 { |
| | | background: url(../../img/dzhwk/gas/lq-r-icon5.png); |
| | | } |
| | | |
| | | .qt-rMenu-icon6 { |
| | | background: url(../../img/dzhwk/gas/qt-icon3.png); |
| | | } |
| | | |
| | | .qt-rMenu-item:hover a, .qt-rMenu-item.active a { |
| | | background: #53adce; |
| | | border-color: #53adce; |
| | | } |
| | | |
| | | .qt-rMenu-item:hover a p, .qt-rMenu-item.active a p { |
| | | color: #fff; |
| | | } |
| | | |
| | | .qt-rMenu-item:hover .qt-rMenu-icon1, .qt-rMenu-item.active .qt-rMenu-icon1 |
| | | { |
| | | background: url(../../img/dzhwk/gas/qt-icon1-h.png); |
| | | } |
| | | |
| | | .qt-rMenu-item:hover .qt-rMenu-icon2, .qt-rMenu-item.active .qt-rMenu-icon2 |
| | | { |
| | | background: url(../../img/dzhwk/gas/qt-icon2-h.png); |
| | | } |
| | | |
| | | .qt-rMenu-item:hover .qt-rMenu-icon3, .qt-rMenu-item.active .qt-rMenu-icon3 |
| | | { |
| | | background: url(../../img/dzhwk/gas/lq-r-icon2.png); |
| | | } |
| | | |
| | | .qt-rMenu-item:hover .qt-rMenu-icon4, .qt-rMenu-item.active .qt-rMenu-icon4 |
| | | { |
| | | background: url(../../img/dzhwk/gas/lq-r-icon4.png); |
| | | } |
| | | |
| | | .qt-rMenu-item:hover .qt-rMenu-icon5, .qt-rMenu-item.active .qt-rMenu-icon5 |
| | | { |
| | | background: url(../../img/dzhwk/gas/lq-r-icon5.png); |
| | | } |
| | | |
| | | .qt-rMenu-item:hover .qt-rMenu-icon6, .qt-rMenu-item.active .qt-rMenu-icon6 |
| | | { |
| | | background: url(../../img/dzhwk/gas/qt-icon3-h.png); |
| | | } |
| | | |
| | | .qt-rTable-box { |
| | | background: #fff; |
| | | overflow: hidden; |
| | | margin-top: 10px; |
| | | width: 320px; |
| | | padding: 10px; |
| | | min-height: 320px; |
| | | } |
| | | |
| | | .qt-rTable-box .layui-table td, .qt-rTable-box .layui-table th { |
| | | padding: 9px 5px; |
| | | text-align: center; |
| | | } |
| | | |
| | | .qt-rTable-box .layui-table th { |
| | | background: #dee6ec; |
| | | } |
| | | |
| | | .mr4 { |
| | | margin-right: 4%; |
| | | } |
| | | |
| | | .qt-pic-icon{ |
| | | display: inline-block; |
| | | width: 36px; |
| | | height: 36px; |
| | | position: absolute; |
| | | z-index: 99; |
| | | } |
| | | |
| | | .qt-pic-icon-active{ |
| | | -webkit-animation: twinkling 1.5s infinite ease-in-out; |
| | | animation: twinkling 1.5s infinite ease-in-out; |
| | | } |
| | | |
| | | .qt-pic-icon1{ |
| | | left: 45.5%; |
| | | top: 41%; |
| | | } |
| | | .qt-pic-icon2{ |
| | | left: 46%; |
| | | top: 33%; |
| | | } |
| | | .qt-pic-icon3{ |
| | | left: 46.6%; |
| | | top: 24%; |
| | | } |
| | | .qt-pic-icon4{ |
| | | left: 47%; |
| | | top: 15%; |
| | | } |
| | | /** åå² **/ |
| | | .qt-pic-icon5{ |
| | | left: 37.5%; |
| | | top: 43%; |
| | | } |
| | | .qt-pic-icon6{ |
| | | left: 38%; |
| | | top: 39%; |
| | | } |
| | | .qt-pic-icon7{ |
| | | left: 38.5%; |
| | | top: 35%; |
| | | } |
| | | .qt-pic-icon8{ |
| | | left: 39%; |
| | | top: 31%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon9{ |
| | | left: 35%; |
| | | top: 30%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon10{ |
| | | left: 39.5%; |
| | | top: 27%; |
| | | } |
| | | .qt-pic-icon11{ |
| | | left: 40%; |
| | | top: 23%; |
| | | } |
| | | .qt-pic-icon12{ |
| | | left: 40.5%; |
| | | top: 19%; |
| | | } |
| | | .qt-pic-icon13{ |
| | | left: 41%; |
| | | top: 15%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon14{ |
| | | left: 27%; |
| | | top: 42%; |
| | | } |
| | | .qt-pic-icon15{ |
| | | left: 28%; |
| | | top: 36%; |
| | | } |
| | | .qt-pic-icon16{ |
| | | left: 29%; |
| | | top: 30%; |
| | | } |
| | | .qt-pic-icon18{ |
| | | left: 30%; |
| | | top: 25%; |
| | | } |
| | | .qt-pic-icon19{ |
| | | left: 31%; |
| | | top: 20%; |
| | | } |
| | | .qt-pic-icon20{ |
| | | left: 32%; |
| | | top: 15%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon17{ |
| | | left: 25%; |
| | | top: 30%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon21{ |
| | | left: 17%; |
| | | top: 43%; |
| | | } |
| | | .qt-pic-icon22 { |
| | | left: 18%; |
| | | top: 39%; |
| | | } |
| | | .qt-pic-icon23{ |
| | | left: 19%; |
| | | top: 35%; |
| | | } |
| | | .qt-pic-icon24{ |
| | | left: 20%; |
| | | top: 31%; |
| | | } |
| | | .qt-pic-icon25{ |
| | | left: 21%; |
| | | top: 27%; |
| | | } |
| | | .qt-pic-icon26{ |
| | | left: 22%; |
| | | top: 23%; |
| | | } |
| | | .qt-pic-icon27{ |
| | | left: 23%; |
| | | top: 19%; |
| | | } |
| | | .qt-pic-icon28{ |
| | | left: 24%; |
| | | top: 15%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon29{ |
| | | left: 12%; |
| | | top: 41%; |
| | | } |
| | | .qt-pic-icon30{ |
| | | left: 14%; |
| | | top: 33%; |
| | | } |
| | | .qt-pic-icon31{ |
| | | left: 16%; |
| | | top: 24%; |
| | | } |
| | | .qt-pic-icon32{ |
| | | left: 18%; |
| | | top: 15%; |
| | | } |
| | | |
| | | /*** ---------------- å³ä¾§ ------**/ |
| | | .qt-pic-icon1-right{ |
| | | left: 51.6%; |
| | | top: 41%; |
| | | } |
| | | .qt-pic-icon2-right{ |
| | | left: 51.4%; |
| | | top: 33%; |
| | | } |
| | | .qt-pic-icon3-right{ |
| | | left: 51.2%; |
| | | top: 24%; |
| | | } |
| | | .qt-pic-icon4-right{ |
| | | left: 51%; |
| | | top: 15%; |
| | | } |
| | | /** åå² **/ |
| | | .qt-pic-icon5-right{ |
| | | left: 58.8%; |
| | | top: 43%; |
| | | } |
| | | .qt-pic-icon6-right{ |
| | | left: 58.4%; |
| | | top: 39%; |
| | | } |
| | | .qt-pic-icon7-right{ |
| | | left: 58%; |
| | | top: 35%; |
| | | } |
| | | .qt-pic-icon8-right{ |
| | | left: 57.6%; |
| | | top: 31%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon9-right{ |
| | | left: 62%; |
| | | top: 30%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon10-right{ |
| | | left: 57.2%; |
| | | top: 27%; |
| | | } |
| | | .qt-pic-icon11-right{ |
| | | left: 56.8%; |
| | | top: 23%; |
| | | } |
| | | .qt-pic-icon12-right{ |
| | | left: 56.4%; |
| | | top: 19%; |
| | | } |
| | | .qt-pic-icon13-right{ |
| | | left: 56%; |
| | | top: 15%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon14-right{ |
| | | left: 68.5%; |
| | | top: 42%; |
| | | } |
| | | .qt-pic-icon15-right{ |
| | | left: 67.8%; |
| | | top: 36%; |
| | | } |
| | | .qt-pic-icon16-right{ |
| | | left: 67.1%; |
| | | top: 30%; |
| | | } |
| | | .qt-pic-icon18-right{ |
| | | left: 66.4%; |
| | | top: 25%; |
| | | } |
| | | .qt-pic-icon19-right{ |
| | | left: 65.7%; |
| | | top: 20%; |
| | | } |
| | | .qt-pic-icon20-right{ |
| | | left: 65%; |
| | | top: 15%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon17-right{ |
| | | left: 72%; |
| | | top: 30%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon21-right{ |
| | | left: 77.8%; |
| | | top: 43%; |
| | | } |
| | | .qt-pic-icon22-right{ |
| | | left: 77.2%; |
| | | top: 39%; |
| | | } |
| | | .qt-pic-icon23-right{ |
| | | left: 76.5%; |
| | | top: 35%; |
| | | } |
| | | .qt-pic-icon24-right{ |
| | | left: 75.8%; |
| | | top: 31%; |
| | | } |
| | | .qt-pic-icon25-right{ |
| | | left: 75.1%; |
| | | top: 27%; |
| | | } |
| | | .qt-pic-icon26-right{ |
| | | left: 74.4%; |
| | | top: 23%; |
| | | } |
| | | .qt-pic-icon27-right{ |
| | | left: 73.7%; |
| | | top: 19%; |
| | | } |
| | | .qt-pic-icon28-right{ |
| | | left: 73%; |
| | | top: 15%; |
| | | } |
| | | /** åå²**/ |
| | | .qt-pic-icon29-right{ |
| | | left: 84.5%; |
| | | top: 41%; |
| | | } |
| | | .qt-pic-icon30-right{ |
| | | left: 83%; |
| | | top: 33%; |
| | | } |
| | | .qt-pic-icon31-right{ |
| | | left: 81.5%; |
| | | top: 24%; |
| | | } |
| | | .qt-pic-icon32-right{ |
| | | left: 80%; |
| | | top: 15%; |
| | | } |
| | | |
| | | @-webkit-keyframes twinkling { |
| | | 0% { |
| | | opacity: 0.5; |
| | | } |
| | | 100% { |
| | | opacity: 1; |
| | | } |
| | | } |
| | | @keyframes twinkling { |
| | | 0% { |
| | | opacity: 0.5; |
| | | } |
| | | 100% { |
| | | opacity: 1; |
| | | } |
| | | } |
| | | |
| | | @media all and (max-width: 1650px) { |
| | | .qt-td-hide{ |
| | | display: none; |
| | | } |
| | | |
| | | .lq-cTop-item p span{ |
| | | font-size: 18px; |
| | | } |
| | | } |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <script th:src="@{/ajax/libs/layui/layui.js}"></script> |
| | | <script th:src="@{/js/jquery.min.js}"></script> |
| | | <script th:src="@{/dzhwk/common.js}"></script> |
| | | <script th:inline="javascript"> |
| | | var flag = [[${flag}]]; |
| | | |
| | | var layer; |
| | | $(function () { |
| | | layui.use(['layer'], function () { |
| | | layer = layui.layer; |
| | | }); |
| | | }); |
| | | //çå¬æä½ |
| | | document.addEventListener('mousemove', resetTimeout); //é¼ æ ç§»å¨ |
| | | document.addEventListener('click', resetTimeout); //é¼ æ ç¹å» |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"> |
| | | <head> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| | | <meta name="viewport" |
| | | content="width=device-width, initial-scale=1, maximum-scale=1"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="renderer" content="webkit"> |
| | | <title>æ°ä½æ£æµ</title> |
| | | <link rel="stylesheet" th:href="@{/ajax/libs/layui/css/layui.css}"/> |
| | | <link rel="stylesheet" th:href="@{/dzhwk/gas/gas.css}"/> |
| | | |
| | | <style type="text/css"> |
| | | .layui-checkbox-disbaled span { |
| | | background-color: #ed5565 !important; |
| | | } |
| | | |
| | | #progress-info { |
| | | position: absolute; |
| | | z-index: 99; |
| | | display: inline-block; |
| | | height: 30px; |
| | | font-size: 16px; |
| | | font-weight: bold |
| | | } |
| | | </style> |
| | | |
| | | </head> |
| | | |
| | | <body> |
| | | |
| | | <div class="l-container"> |
| | | |
| | | <div class="l-main layui-clear"> |
| | | |
| | | <div class="qt-left"> |
| | | |
| | | <div class="qt-lTop layui-clear"> |
| | | <div class="qt-lTop-l fl"> |
| | | <div class="qt-left1 layui-clear radius-6 box-shadow"> |
| | | <form class="layui-form" action=""> |
| | | |
| | | <div class="layui-form-item lq-left1-from"> |
| | | <label class="layui-form-label">ä»åºå表</label> |
| | | <div class="layui-input-block"> |
| | | <select name="depotId" id="depotId" lay-filter="select_depotId"> |
| | | <option value="P0101" type="01">P01-01</option> |
| | | <option value="P0102" type="01">P01-02</option> |
| | | <option value="P0103" type="01">P01-03</option> |
| | | <option value="P0104" type="01">P01-04</option> |
| | | <option value="P0105" type="01">P01-05</option> |
| | | <option value="P0106" type="01">P01-06</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item lq-left1-from"> |
| | | <label class="layui-form-label">æ£æµæ¶é´</label> |
| | | <div class="layui-input-block"> |
| | | <select name="batchId" id="batchId" |
| | | lay-filter="select_batchId"> |
| | | <option value=""></option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | </div> |
| | | <!--qt-lTop-l end--> |
| | | |
| | | <div class="layui-row qt-lTop-r fr"> |
| | | |
| | | <div class="layui-col-lg3"> |
| | | <div class="qt-left2 qt-left-item radius-6 mr4"> |
| | | <h3>O2 æµåº¦ï¼%ï¼</h3> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-lg4 lq-cTop-item"> |
| | | <p> |
| | | <span id="perO2Max">#</span> |
| | | </p> |
| | | <h4>æé«</h4> |
| | | </div> |
| | | <div class="layui-col-lg4 lq-cTop-item"> |
| | | <p> |
| | | <span id="perO2">#</span> |
| | | </p> |
| | | <h4>å¹³å</h4> |
| | | </div> |
| | | <div class="layui-col-lg4 lq-cTop-item"> |
| | | <p> |
| | | <span id="perO2Min">#</span> |
| | | </p> |
| | | <h4>æä½</h4> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | <!--layui-col end--> |
| | | <div class="layui-col-lg3"> |
| | | <div class="qt-left3 qt-left-item radius-6 mr4"> |
| | | <h3>CO2 æµåº¦ï¼PPMï¼</h3> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-lg4 lq-cTop-item"> |
| | | <p> |
| | | <span id="perCo2Max">#</span> |
| | | </p> |
| | | <h4>æé«</h4> |
| | | </div> |
| | | <div class="layui-col-lg4 lq-cTop-item"> |
| | | <p> |
| | | <span id="perCo2">#</span> |
| | | </p> |
| | | <h4>å¹³å</h4> |
| | | </div> |
| | | <div class="layui-col-lg4 lq-cTop-item"> |
| | | <p> |
| | | <span id="perCo2Min">#</span> |
| | | </p> |
| | | <h4>æä½</h4> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | <!--layui-col end--> |
| | | <div class="layui-col-lg3"> |
| | | <div class="qt-left4 qt-left-item radius-6 mr4"> |
| | | <h3>PH3 æµåº¦ï¼PPMï¼</h3> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-lg4 lq-cTop-item"> |
| | | <p> |
| | | <span id="perPh3Max">#</span> |
| | | </p> |
| | | <h4>æé«</h4> |
| | | </div> |
| | | <div class="layui-col-lg4 lq-cTop-item"> |
| | | <p> |
| | | <span id="perPh3">#</span> |
| | | </p> |
| | | <h4>å¹³å</h4> |
| | | </div> |
| | | <div class="layui-col-lg4 lq-cTop-item"> |
| | | <p> |
| | | <span id="perPh3Min">#</span> |
| | | </p> |
| | | <h4>æä½</h4> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | <!--layui-col end--> |
| | | <div class="layui-col-lg3"> |
| | | <div class="qt-left5 qt-left-item radius-6 mr4"> |
| | | <h3>N2 æµåº¦ï¼%ï¼</h3> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-lg4 lq-cTop-item"> |
| | | <p> |
| | | <span id="perN2Max">#</span> |
| | | </p> |
| | | <h4>æé«</h4> |
| | | </div> |
| | | <div class="layui-col-lg4 lq-cTop-item"> |
| | | <p> |
| | | <span id="perN2">#</span> |
| | | </p> |
| | | <h4>å¹³å</h4> |
| | | </div> |
| | | <div class="layui-col-lg4 lq-cTop-item"> |
| | | <p> |
| | | <span id="perN2Min">#</span> |
| | | </p> |
| | | <h4>æä½</h4> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | <!--layui-col end--> |
| | | |
| | | </div> |
| | | <!-- qt-lTop-r end--> |
| | | |
| | | |
| | | </div> |
| | | <!--qt-lTop end--> |
| | | |
| | | <div class="qt-picBox" id="qt-picBox"> |
| | | <span id="progress-info"></span> |
| | | <img id="depot_img" class="qt-pic" th:src="@{/img/dzhwk/gas/gasImg_5.png}"/> |
| | | </div> |
| | | <!--qt-picBox end--> |
| | | |
| | | |
| | | </div> |
| | | <!--qt-left end--> |
| | | |
| | | <div class="qt-right"> |
| | | <div class="qt-rMenu layui-row radius-6"> |
| | | <div class="qt-rMenu-item layui-col-lg4" style="border: 1px solid #e5e8ec;"> |
| | | <p style="font-size: 16px;font-weight: 700;margin-top: 6px">æ£æµç±»å</p> |
| | | <form class="layui-form layui-form-pane"> |
| | | <div class="layui-input-block" style="left: -155px;width: 200px "> |
| | | <input type="radio" name="type" value="0" title="å¸¸è§æ£æµ"> |
| | | <input type="radio" name="type" value="1" title="çè¸æ£æµ"> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | <div class="qt-rMenu-item layui-col-lg4"> |
| | | <a href="javascript:;" onClick="checkStart(1)"> <span |
| | | class="qt-icon qt-rMenu-icon1"></span> |
| | | <p>æ´ä»éé</p> |
| | | </a> |
| | | </div> |
| | | <div class="qt-rMenu-item layui-col-lg4"> |
| | | <a href="javascript:;" onClick="checkStart(2)"> <span |
| | | class="qt-icon qt-rMenu-icon2"></span> |
| | | <p>éæ©éé</p> |
| | | </a> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="qt-rMenu layui-row radius-6" style="padding-top: 0px;"> |
| | | <div class="qt-rMenu-item layui-col-lg4"> |
| | | <a href="javascript:;" onClick="checkStart(3)" style="width: 105px "> <span |
| | | class="qt-icon qt-rMenu-icon3"></span> |
| | | <p>å¤ä»éé</p> |
| | | </a> |
| | | </div> |
| | | <div class="qt-rMenu-item layui-col-lg4"> |
| | | <a href="javascript:;" onClick="printSingle()"> <span |
| | | class="qt-icon qt-rMenu-icon4"></span> |
| | | <p>å仿å°</p> |
| | | </a> |
| | | </div> |
| | | <div class="qt-rMenu-item layui-col-lg4"> |
| | | <a href="javascript:;" onClick="printBatch()"> <span |
| | | class="qt-icon qt-rMenu-icon5"></span> |
| | | <p>å¤ä»æå°</p> |
| | | </a> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="qt-rTable-box radius-6" id="tableInfo" style='height: 480px; overflow-y: auto;'> |
| | | <!-- <table class="layui-table" ></table> --> |
| | | </div> |
| | | <!--qt-rTable-box end--> |
| | | </div> |
| | | <!--qt-right end--> |
| | | |
| | | </div> |
| | | <!--l-main end--> |
| | | </div> |
| | | <!--l-container end--> |
| | | |
| | | |
| | | <script th:inline="javascript"> |
| | | //ä»åºå表 |
| | | var listDepot = [{ |
| | | "bhId": "1", |
| | | "buildingId": "91310114703439394M0010001", |
| | | "checkDate": 1605542400000, |
| | | "companyId": "5303", |
| | | "depotStatus": "4", |
| | | "depotStatusName": "åºåºä¸", |
| | | "depotType": "02", |
| | | "depotTypeName": "æµ
åä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2022", |
| | | "id": "P0101", |
| | | "name": "P01-01", |
| | | "perImpurity": 0.36, |
| | | "perWet": 13.7, |
| | | "storageMax": 3000000, |
| | | "storageReal": 0, |
| | | "storeDate": 1668700800000, |
| | | "storeKeeper": "wmf", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "çç¾ç¦", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "2", |
| | | "buildingId": "91310114703439394M0010001", |
| | | "companyId": "5303", |
| | | "depotStatus": "4", |
| | | "depotStatusName": "åºåºä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2022", |
| | | "id": "P0102", |
| | | "name": "P01-02", |
| | | "storageMax": 3000000, |
| | | "storageReal": 0, |
| | | "storeDate": 1667836800000, |
| | | "storeKeeper": "wmf", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "çç¾ç¦", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "3", |
| | | "buildingId": "91310114703439394M0010002", |
| | | "companyId": "5303", |
| | | "depotStatus": "34", |
| | | "depotStatusName": "å°ä»-温æ§ä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2023", |
| | | "id": "P0103", |
| | | "name": "P01-03", |
| | | "storageMax": 3000000, |
| | | "storageReal": 2164420, |
| | | "storeDate": 1635696000000, |
| | | "storeKeeper": "xjh", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "å¾ä½³æ", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "4", |
| | | "buildingId": "91310114703439394M0010002", |
| | | "companyId": "5303", |
| | | "depotStatus": "32", |
| | | "depotStatusName": "å°ä»-çè¸ä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1110000", |
| | | "foodVarietyName": "å°éº¦", |
| | | "foodYear": "2024", |
| | | "id": "P0104", |
| | | "name": "P01-04", |
| | | "storageMax": 3000000, |
| | | "storageReal": 3000000, |
| | | "storeDate": 1720454400000, |
| | | "storeKeeper": "xjh", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "å¾ä½³æ", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "5", |
| | | "buildingId": "91310114703439394M0010003", |
| | | "companyId": "5303", |
| | | "depotStatus": "4", |
| | | "depotStatusName": "åºåºä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "02", |
| | | "foodLevelName": "äºç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2022", |
| | | "id": "P0105", |
| | | "name": "P01-05", |
| | | "storageMax": 3000000, |
| | | "storageReal": 0, |
| | | "storeDate": 1604160000000, |
| | | "storeKeeper": "wmf", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "çç¾ç¦", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "6", |
| | | "buildingId": "91310114703439394M0010003", |
| | | "companyId": "5303", |
| | | "depotStatus": "4", |
| | | "depotStatusName": "åºåºä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2022", |
| | | "id": "P0106", |
| | | "name": "P01-06", |
| | | "storageMax": 3000000, |
| | | "storageReal": 0, |
| | | "storeDate": 1604160000000, |
| | | "storeKeeper": "wmf", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "çç¾ç¦", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }]; |
| | | |
| | | //ä¸å¡ç±»å |
| | | var bizType = null; |
| | | var depotId = "P0101";// å½åä»åºidï¼åå¨ç©ºæ
åµ |
| | | //userId |
| | | var userId = null; |
| | | var deptId = "1000"; |
| | | var companyId = null; |
| | | </script> |
| | | <script th:src="@{/ajax/libs/layui/layui.js}"></script> |
| | | <script th:src="@{/js/jquery.min.js}"></script> |
| | | <script th:src="@{/dzhwk/common/igds-common.js}"></script> |
| | | <script th:src="@{/dzhwk/gas/PrintBuilder.js}"></script> |
| | | <script th:src="@{/dzhwk/gas/gas-check.js}"></script> |
| | | </body> |
| | | <!-- æ´å¤æ¹æ¬¡éæ© --> |
| | | <div class="layui-tab-content" id="dialogMoreSelect" |
| | | style="display: none;"> |
| | | <form class="layui-form layui-form-pane"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">éæ©æ¶é´ï¼</label> |
| | | <div class="layui-input-inline left-input"> |
| | | <input type="text" name="checkDateMore" id="checkDateMore" |
| | | placeholder="å¹´-æ-æ¥" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | |
| | | <!-- æ¹éééå¼¹åºæ¡ --> |
| | | <div class="layui-tab-content" id="batchCheckSelect" |
| | | style="display: none;"> |
| | | <form class="layui-form layui-form-pane"> |
| | | <div class="layui-inline"> |
| | | <input type="checkbox" lay-filter="select_check_depot"> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | |
| | | <!-- éæ©ééç¹ --> |
| | | <div class="layui-tab-content" id="pointSelect" style="display: none;"> |
| | | <form class="layui-form layui-form-pane"> |
| | | <div class="layui-inline" id="div_point_select"></div> |
| | | </form> |
| | | </div> |
| | | |
| | | <!-- å®ä¹æ¹éæå°éæ©å
容 --> |
| | | <div class="layui-tab-content" id="batchPrintSelect" |
| | | style="display: none;"> |
| | | <form class="layui-form layui-form-pane"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">éæ©æ¶é´ï¼</label> |
| | | <div class="layui-input-inline left-input"> |
| | | <input type="text" name="printCheckDate" id="printCheckDate" |
| | | placeholder="å¹´-æ-æ¥" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <button type="button" onclick="getPrintBatchDepot()" |
| | | class="layui-btn layui-btn-radius layui-btn-sm"> |
| | | <i class="layui-icon layui-icon-search"></i>确认æ¥è¯¢ |
| | | </button> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <input type="checkbox" lay-filter="select_print_depot"> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | |
| | | |
| | | </html> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"> |
| | | <head> |
| | | <meta charset="utf-8"/> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"/> |
| | | <meta name="renderer" content="webkit"/> |
| | | <meta name="viewport" |
| | | content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"/> |
| | | <meta name="format-detection" content="telephone=no"/> |
| | | <title>çµåè´§ä½å¡ç³»ç»-ä»å¨ä¿ç®¡ä½ä¸</title> |
| | | |
| | | <link rel="stylesheet" th:href="@{/dzhwk/style.css}"/> |
| | | <style> |
| | | .m-pic1 .pic iframe{ |
| | | display: block; |
| | | width: 100%; |
| | | height: 853px; |
| | | } |
| | | </style> |
| | | </head> |
| | | |
| | | <body class=""> |
| | | <div class="screen-container"> |
| | | <div id="container"> |
| | | <div class="header"> |
| | | <div class="h-info"> |
| | | <div class="t">çµåè´§ä½å¡ç³»ç»</div> |
| | | - ä»å¨ä¿ç®¡ä½ä¸ |
| | | </div> |
| | | <a href="" class="logo"> |
| | | <img th:src="@{/img/dzhwk/logo.png}" alt=""> |
| | | <span>飿£è´è¿éå·ç´å±åº</span> |
| | | </a> |
| | | <div class="h-date">2025-03-26 10:10</div> |
| | | </div> |
| | | <div class="main"> |
| | | <div class="m-safeguardl"> |
| | | <div class="col-l g-boxl1"> |
| | | <div class="m-picl"> |
| | | |
| | | <div class="pic"> |
| | | <!-- <img th:src="@{/img/dzhwk/imgl1.jpg}" alt="">--> |
| | | <iframe src="../dzhwk/gas-check" style="width: 100%;height: 853px;display: block;" frameborder="0" allowfullscreen></iframe> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="col-r"> |
| | | <ul class="ul-listl1 g-boxl1"> |
| | | <li> |
| | | <a href="javascript:void(0)" onclick="toPage('grain')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl2.png}" alt=""> |
| | | </div> |
| | | <div class="tt">ç²®æ¸©æ£æµ</div> |
| | | </a> |
| | | </li> |
| | | <li class="on"> |
| | | <a href="javascript:void(0)" onclick="toPage('gas')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl3.png}" alt=""> |
| | | </div> |
| | | <div class="tt">æ°ä½æ£æµ</div> |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="javascript:void(0)" onclick="toPage('pest')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl4.png}" alt=""> |
| | | </div> |
| | | <div class="tt">è«å®³æ£æµ</div> |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="javascript:void(0)" onclick="toPage('verb')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl5.png}" alt=""> |
| | | </div> |
| | | <div class="tt">éé£ä½ä¸</div> |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="javascript:void(0)" onclick="toPage('recir')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl6.png}" alt=""> |
| | | </div> |
| | | <div class="tt">温æ§ä½ä¸</div> |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="javascript:void(0)" onclick="toPage('n2')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl7.png}" alt=""> |
| | | </div> |
| | | <div class="tt">æ°è°ä½ä¸</div> |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="javascript:void(0)" onclick="toPage('security')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl8.png}" alt=""> |
| | | </div> |
| | | <div class="tt">å®å
¨ç®¡ç</div> |
| | | </a> |
| | | </li> |
| | | </ul> |
| | | <a href="javascript:void(0)" onclick="toPage('index')" class="g-backl"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl1.png}" alt=""> |
| | | </div> |
| | | <div class="tt">è¿åé¦é¡µ</div> |
| | | </a> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <script th:src="@{/ajax/libs/layui/layui.js}"></script> |
| | | <script th:src="@{/js/jquery.min.js}"></script> |
| | | <script th:src="@{/dzhwk/common.js}"></script> |
| | | <script th:inline="javascript"> |
| | | var flag = [[${flag}]]; |
| | | var layer; |
| | | $(function () { |
| | | layui.use(['layer'], function () { |
| | | layer = layui.layer; |
| | | }); |
| | | }); |
| | | //çå¬æä½ |
| | | document.addEventListener('mousemove', resetTimeout); //é¼ æ ç§»å¨ |
| | | document.addEventListener('click', resetTimeout); //é¼ æ ç¹å» |
| | | document.addEventListener('touchstart', resetTimeout); //è§¦å± |
| | | |
| | | timeFormate(); |
| | | setInterval(function () { |
| | | timeFormate() |
| | | }, 1000); |
| | | </script> |
| | | </body> |
| | | </html> |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"> |
| | | <head> |
| | | <head> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="renderer" content="webkit"> |
| | | <title>æºæ
§ç²®åºç®¡çå¹³å°-ç²®æ
æ£æµ</title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="renderer" content="webkit"> |
| | | <title>ç²®æ¸©æ£æµ</title> |
| | | |
| | | <link rel="stylesheet" th:href="@{/ajax/libs/layui/css/layui.css}"/> |
| | | <link rel="stylesheet" th:href="@{/dzhwk/lqStyle.css}"/> |
| | | <link rel="stylesheet" th:href="@{/ajax/libs/layui/css/layui.css}"/> |
| | | <link rel="stylesheet" th:href="@{/dzhwk/grain/lqStyle.css}"/> |
| | | |
| | | <style> |
| | | .layui-checkbox-disbaled span { |
| | | background-color: #ed5565 !important; |
| | | } |
| | | <style> |
| | | .layui-checkbox-disbaled span { |
| | | background-color: #ed5565 !important; |
| | | } |
| | | |
| | | #lq-left2 { |
| | | min-width: 295px; |
| | | } |
| | | #lq-left2 { |
| | | min-width: 295px; |
| | | } |
| | | |
| | | .lq-left2-list li h3 { |
| | | float: left; |
| | | /*color: rgb(108, 119, 129);*/ |
| | | color: #000; |
| | | font-size: 16px; |
| | | font-style: italic; |
| | | } |
| | | .lq-left2-list li h3 { |
| | | float: left; |
| | | /*color: rgb(108, 119, 129);*/ |
| | | color: #000; |
| | | font-size: 16px; |
| | | font-style: italic; |
| | | } |
| | | |
| | | @media all and (max-width: 1650px) { |
| | | .lq-cPic-box { |
| | | margin: 5% auto 0 auto; |
| | | } |
| | | |
| | | .lq-center { |
| | | /*padding-bottom: 50px;*/ |
| | | padding-bottom: 5px; |
| | | } |
| | | |
| | | .lq-left2-list li { |
| | | padding: 3% 6%; |
| | | } |
| | | |
| | | .lq-cTop-item p span { |
| | | font-size: 24px; |
| | | } |
| | | } |
| | | |
| | | .lq-wendu { |
| | | width: 90px; |
| | | height: 200px; |
| | | position: absolute; |
| | | bottom: 0; |
| | | z-index: 99; |
| | | left: 5px; |
| | | margin-bottom: 55px; |
| | | @media all and (max-width: 1650px) { |
| | | .lq-cPic-box { |
| | | margin: 5% auto 0 auto; |
| | | } |
| | | |
| | | .lq-center { |
| | | width: 75%; |
| | | position: relative; |
| | | /*padding-bottom: 50px;*/ |
| | | padding-bottom: 5px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | .lq-center2 { |
| | | position: relative; |
| | | padding-bottom: 5px; |
| | | overflow-y: hidden; |
| | | .lq-left2-list li { |
| | | padding: 3% 6%; |
| | | } |
| | | |
| | | .lq-cLow-1 { |
| | | width: 50px; |
| | | border-right: 1px solid #333; |
| | | .lq-cTop-item p span { |
| | | font-size: 24px; |
| | | } |
| | | } |
| | | |
| | | .lq-cLow { |
| | | width: 900px; |
| | | } |
| | | .lq-wendu { |
| | | width: 90px; |
| | | height: 200px; |
| | | position: absolute; |
| | | bottom: 0; |
| | | z-index: 99; |
| | | left: 5px; |
| | | margin-bottom: 55px; |
| | | } |
| | | |
| | | .lq-cLow-3 { |
| | | width: 15px; |
| | | border-right: 1px solid #333; |
| | | } |
| | | .lq-center { |
| | | width: 75%; |
| | | position: relative; |
| | | padding-bottom: 5px; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | .lq-rMenu li { |
| | | height: 80px; |
| | | } |
| | | .lq-center2 { |
| | | position: relative; |
| | | padding-bottom: 5px; |
| | | overflow-y: hidden; |
| | | } |
| | | |
| | | .layui-form-checkbox { |
| | | min-width: 100px; |
| | | } |
| | | </style> |
| | | .lq-cLow-1 { |
| | | width: 50px; |
| | | border-right: 1px solid #333; |
| | | } |
| | | |
| | | </head> |
| | | .lq-cLow { |
| | | width: 900px; |
| | | } |
| | | |
| | | .lq-cLow-3 { |
| | | width: 15px; |
| | | border-right: 1px solid #333; |
| | | } |
| | | |
| | | .lq-rMenu li { |
| | | height: 80px; |
| | | } |
| | | |
| | | .layui-form-checkbox { |
| | | min-width: 100px; |
| | | } |
| | | </style> |
| | | |
| | | </head> |
| | | |
| | | <body> |
| | | <div class="l-container"> |
| | |
| | | |
| | | <script th:inline="javascript"> |
| | | //ä»åºå表 |
| | | var listDepot = [{"bhId":"1","buildingId":"91310114703439394M0010001","checkDate":1605542400000,"companyId":"5303","depotStatus":"4","depotStatusName":"åºåºä¸","depotType":"02","depotTypeName":"æµ
åä»","deptId":"5303_001","foodLevel":"01","foodLevelName":"ä¸ç","foodLocation":"䏿µ·å¸","foodType":"122","foodTypeName":"åºçº§å°æ¹å¨å¤ç²®","foodVariety":"1130000","foodVarietyName":"稻谷","foodYear":"2022","id":"P0101","name":"P01-01","perImpurity":0.36,"perWet":13.7,"storageMax":3000000,"storageReal":0,"storeDate":1668700800000,"storeKeeper":"wmf","storeKeeperLevel":"é«çº§ä¿ç®¡å","storeKeeperName":"çç¾ç¦","storeKeeperPhone":"####","storeType":"1"},{"bhId":"2","buildingId":"91310114703439394M0010001","companyId":"5303","depotStatus":"4","depotStatusName":"åºåºä¸","depotType":"01","depotTypeName":"å¹³æ¿ä»","deptId":"5303_001","foodLevel":"01","foodLevelName":"ä¸ç","foodLocation":"䏿µ·å¸","foodType":"122","foodTypeName":"åºçº§å°æ¹å¨å¤ç²®","foodVariety":"1130000","foodVarietyName":"稻谷","foodYear":"2022","id":"P0102","name":"P01-02","storageMax":3000000,"storageReal":0,"storeDate":1667836800000,"storeKeeper":"wmf","storeKeeperLevel":"é«çº§ä¿ç®¡å","storeKeeperName":"çç¾ç¦","storeKeeperPhone":"####","storeType":"1"},{"bhId":"3","buildingId":"91310114703439394M0010002","companyId":"5303","depotStatus":"34","depotStatusName":"å°ä»-温æ§ä¸","depotType":"01","depotTypeName":"å¹³æ¿ä»","deptId":"5303_001","foodLevel":"01","foodLevelName":"ä¸ç","foodLocation":"䏿µ·å¸","foodType":"122","foodTypeName":"åºçº§å°æ¹å¨å¤ç²®","foodVariety":"1130000","foodVarietyName":"稻谷","foodYear":"2023","id":"P0103","name":"P01-03","storageMax":3000000,"storageReal":2164420,"storeDate":1635696000000,"storeKeeper":"xjh","storeKeeperLevel":"é«çº§ä¿ç®¡å","storeKeeperName":"å¾ä½³æ","storeKeeperPhone":"####","storeType":"1"},{"bhId":"4","buildingId":"91310114703439394M0010002","companyId":"5303","depotStatus":"32","depotStatusName":"å°ä»-çè¸ä¸","depotType":"01","depotTypeName":"å¹³æ¿ä»","deptId":"5303_001","foodLevel":"01","foodLevelName":"ä¸ç","foodLocation":"䏿µ·å¸","foodType":"122","foodTypeName":"åºçº§å°æ¹å¨å¤ç²®","foodVariety":"1110000","foodVarietyName":"å°éº¦","foodYear":"2024","id":"P0104","name":"P01-04","storageMax":3000000,"storageReal":3000000,"storeDate":1720454400000,"storeKeeper":"xjh","storeKeeperLevel":"é«çº§ä¿ç®¡å","storeKeeperName":"å¾ä½³æ","storeKeeperPhone":"####","storeType":"1"},{"bhId":"5","buildingId":"91310114703439394M0010003","companyId":"5303","depotStatus":"4","depotStatusName":"åºåºä¸","depotType":"01","depotTypeName":"å¹³æ¿ä»","deptId":"5303_001","foodLevel":"02","foodLevelName":"äºç","foodLocation":"䏿µ·å¸","foodType":"122","foodTypeName":"åºçº§å°æ¹å¨å¤ç²®","foodVariety":"1130000","foodVarietyName":"稻谷","foodYear":"2022","id":"P0105","name":"P01-05","storageMax":3000000,"storageReal":0,"storeDate":1604160000000,"storeKeeper":"wmf","storeKeeperLevel":"é«çº§ä¿ç®¡å","storeKeeperName":"çç¾ç¦","storeKeeperPhone":"####","storeType":"1"},{"bhId":"6","buildingId":"91310114703439394M0010003","companyId":"5303","depotStatus":"4","depotStatusName":"åºåºä¸","depotType":"01","depotTypeName":"å¹³æ¿ä»","deptId":"5303_001","foodLevel":"01","foodLevelName":"ä¸ç","foodLocation":"䏿µ·å¸","foodType":"122","foodTypeName":"åºçº§å°æ¹å¨å¤ç²®","foodVariety":"1130000","foodVarietyName":"稻谷","foodYear":"2022","id":"P0106","name":"P01-06","storageMax":3000000,"storageReal":0,"storeDate":1604160000000,"storeKeeper":"wmf","storeKeeperLevel":"é«çº§ä¿ç®¡å","storeKeeperName":"çç¾ç¦","storeKeeperPhone":"####","storeType":"1"}]; |
| | | var listDepot = [{ |
| | | "bhId": "1", |
| | | "buildingId": "91310114703439394M0010001", |
| | | "checkDate": 1605542400000, |
| | | "companyId": "5303", |
| | | "depotStatus": "4", |
| | | "depotStatusName": "åºåºä¸", |
| | | "depotType": "02", |
| | | "depotTypeName": "æµ
åä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2022", |
| | | "id": "P0101", |
| | | "name": "P01-01", |
| | | "perImpurity": 0.36, |
| | | "perWet": 13.7, |
| | | "storageMax": 3000000, |
| | | "storageReal": 0, |
| | | "storeDate": 1668700800000, |
| | | "storeKeeper": "wmf", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "çç¾ç¦", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "2", |
| | | "buildingId": "91310114703439394M0010001", |
| | | "companyId": "5303", |
| | | "depotStatus": "4", |
| | | "depotStatusName": "åºåºä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2022", |
| | | "id": "P0102", |
| | | "name": "P01-02", |
| | | "storageMax": 3000000, |
| | | "storageReal": 0, |
| | | "storeDate": 1667836800000, |
| | | "storeKeeper": "wmf", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "çç¾ç¦", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "3", |
| | | "buildingId": "91310114703439394M0010002", |
| | | "companyId": "5303", |
| | | "depotStatus": "34", |
| | | "depotStatusName": "å°ä»-温æ§ä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2023", |
| | | "id": "P0103", |
| | | "name": "P01-03", |
| | | "storageMax": 3000000, |
| | | "storageReal": 2164420, |
| | | "storeDate": 1635696000000, |
| | | "storeKeeper": "xjh", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "å¾ä½³æ", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "4", |
| | | "buildingId": "91310114703439394M0010002", |
| | | "companyId": "5303", |
| | | "depotStatus": "32", |
| | | "depotStatusName": "å°ä»-çè¸ä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1110000", |
| | | "foodVarietyName": "å°éº¦", |
| | | "foodYear": "2024", |
| | | "id": "P0104", |
| | | "name": "P01-04", |
| | | "storageMax": 3000000, |
| | | "storageReal": 3000000, |
| | | "storeDate": 1720454400000, |
| | | "storeKeeper": "xjh", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "å¾ä½³æ", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "5", |
| | | "buildingId": "91310114703439394M0010003", |
| | | "companyId": "5303", |
| | | "depotStatus": "4", |
| | | "depotStatusName": "åºåºä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "02", |
| | | "foodLevelName": "äºç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2022", |
| | | "id": "P0105", |
| | | "name": "P01-05", |
| | | "storageMax": 3000000, |
| | | "storageReal": 0, |
| | | "storeDate": 1604160000000, |
| | | "storeKeeper": "wmf", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "çç¾ç¦", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "6", |
| | | "buildingId": "91310114703439394M0010003", |
| | | "companyId": "5303", |
| | | "depotStatus": "4", |
| | | "depotStatusName": "åºåºä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2022", |
| | | "id": "P0106", |
| | | "name": "P01-06", |
| | | "storageMax": 3000000, |
| | | "storageReal": 0, |
| | | "storeDate": 1604160000000, |
| | | "storeKeeper": "wmf", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "çç¾ç¦", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }]; |
| | | //ä¸å¡ç±»å |
| | | var bizType = null; |
| | | //userId |
| | |
| | | </script> |
| | | <script th:src="@{/ajax/libs/layui/layui.js}"></script> |
| | | <script th:src="@{/js/jquery.min.js}"></script> |
| | | <script th:src="@{/dzhwk/constant.js}"></script> |
| | | <script th:src="@{/dzhwk/igds-common.js}"></script> |
| | | <script th:src="@{/dzhwk/PrintBuilder-lay.js}"></script> |
| | | <script th:src="@{/dzhwk/grainPoint1.js}"></script> |
| | | <script th:src="@{/dzhwk/grain-export.js}"></script> |
| | | <script th:src="@{/dzhwk/grain-check1.js}"></script> |
| | | <script th:src="@{/dzhwk/common/constant.js}"></script> |
| | | <script th:src="@{/dzhwk/common/igds-common.js}"></script> |
| | | <script th:src="@{/dzhwk/grain/PrintBuilder-lay.js}"></script> |
| | | <script th:src="@{/dzhwk/grain/grainPoint1.js}"></script> |
| | | <script th:src="@{/dzhwk/grain/grain-export.js}"></script> |
| | | <script th:src="@{/dzhwk/grain/grain-check1.js}"></script> |
| | | </body> |
| | | |
| | | <!-- æ´å¤æ¹æ¬¡éæ© --> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <script th:src="@{/ajax/libs/layui/layui.js}"></script> |
| | | <script th:src="@{/js/jquery.min.js}"></script> |
| | | <script th:src="@{/dzhwk/common.js}"></script> |
| | | <script th:inline="javascript"> |
| | | var flag = [[${flag}]]; |
| | | |
| | | var layer; |
| | | $(function () { |
| | | layui.use(['layer'], function () { |
| | | layer = layui.layer; |
| | | }); |
| | | }); |
| | | //çå¬æä½ |
| | | document.addEventListener('mousemove', resetTimeout); //é¼ æ ç§»å¨ |
| | | document.addEventListener('click', resetTimeout); //é¼ æ ç¹å» |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"> |
| | | <head> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| | | <meta name="viewport" |
| | | content="width=device-width, initial-scale=1, maximum-scale=1"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="renderer" content="webkit"> |
| | | <title>è«å®³æ£æµ</title> |
| | | |
| | | <link rel="stylesheet" th:href="@{/ajax/libs/layui/css/layui.css}"/> |
| | | <link rel="stylesheet" th:href="@{/dzhwk/pest/pest.css}"/> |
| | | |
| | | <style type="text/css"> |
| | | .layui-checkbox-disbaled span { |
| | | background-color: #ed5565 !important; |
| | | } |
| | | |
| | | #progress-info { |
| | | position: absolute; |
| | | z-index: 99; |
| | | display: inline-block; |
| | | height: 30px; |
| | | font-size: 16px; |
| | | font-weight: bold |
| | | } |
| | | </style> |
| | | |
| | | </head> |
| | | |
| | | <body> |
| | | |
| | | <div class="l-container"> |
| | | |
| | | <div class="l-main layui-clear"> |
| | | |
| | | <div class="qt-left"> |
| | | |
| | | <div class="qt-lTop layui-clear"> |
| | | <div class="qt-lTop-l fl"> |
| | | <div class="qt-left1 layui-clear radius-6 box-shadow"> |
| | | <form class="layui-form" action=""> |
| | | |
| | | <div class="layui-form-item lq-left1-from"> |
| | | <label class="layui-form-label">ä»åºå表</label> |
| | | <div class="layui-input-block"> |
| | | <select name="depotId" id="depotId" lay-filter="select_depotId"> |
| | | <option value="P0101" type="01">P01-01</option> |
| | | <option value="P0102" type="01">P01-02</option> |
| | | <option value="P0103" type="01">P01-03</option> |
| | | <option value="P0104" type="01">P01-04</option> |
| | | <option value="P0105" type="01">P01-05</option> |
| | | <option value="P0106" type="01">P01-06</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item lq-left1-from"> |
| | | <label class="layui-form-label">æ£æµæ¶é´</label> |
| | | <div class="layui-input-block"> |
| | | <select name="batchId" id="batchId" |
| | | lay-filter="select_batchId"> |
| | | <option value=""></option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | </div> |
| | | <!--qt-lTop-l end--> |
| | | |
| | | <div class="layui-row qt-lTop-r fr"> |
| | | |
| | | <div class="layui-col-lg4"> |
| | | <div class="qt-left2 qt-left-item radius-6 mr4"> |
| | | <h3>æ£æµç»æ</h3> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-lg6 lq-cTop-item"> |
| | | <p> |
| | | <span id="checkNum">0</span> |
| | | </p> |
| | | <h4>æ»æ£æµä½</h4> |
| | | </div> |
| | | <div class="layui-col-lg6 lq-cTop-item"> |
| | | <p> |
| | | <span id="remark">æ è«</span> |
| | | </p> |
| | | <h4>ç»æ</h4> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | <!--layui-col end--> |
| | | |
| | | <!--layui-col end--> |
| | | <div class="layui-col-lg8"> |
| | | <div class="qt-left4 qt-left-item radius-6 mr4"> |
| | | <h3>æ£æµä½æè¡</h3> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-lg3 lq-cTop-item"> |
| | | <p> |
| | | <span id="orderValue1">0</span> |
| | | </p> |
| | | <h4 id="orderName1">ééä½</h4> |
| | | </div> |
| | | <div class="layui-col-lg3 lq-cTop-item"> |
| | | <p> |
| | | <span id="orderValue2">0</span> |
| | | </p> |
| | | <h4 id="orderName2">ééä½</h4> |
| | | </div> |
| | | <div class="layui-col-lg3 lq-cTop-item"> |
| | | <p> |
| | | <span id="orderValue3">0</span> |
| | | </p> |
| | | <h4 id="orderName3">ééä½</h4> |
| | | </div> |
| | | <div class="layui-col-lg3 lq-cTop-item"> |
| | | <p> |
| | | <span id="orderValue4">0</span> |
| | | </p> |
| | | <h4 id="orderName4">ééä½</h4> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | <!--layui-col end--> |
| | | |
| | | <!--layui-col end--> |
| | | |
| | | </div> |
| | | <!-- qt-lTop-r end--> |
| | | |
| | | |
| | | </div> |
| | | <!--qt-lTop end--> |
| | | |
| | | <div class="qt-picBox" id="qt-picBox"> |
| | | <span id="progress-info"></span> |
| | | <img id="depot_img" class="qt-pic" th:src="@{/img/dzhwk/gas/gasImg_5.png}"/> |
| | | </div> |
| | | <!--qt-picBox end--> |
| | | |
| | | |
| | | </div> |
| | | <!--qt-left end--> |
| | | |
| | | |
| | | <div class="qt-right"> |
| | | <div class="qt-rMenu layui-row radius-6"> |
| | | <div class="qt-rMenu-item layui-col-lg4"> |
| | | <a href="javascript:;" onClick="checkStart(1)"> <span |
| | | class="qt-icon qt-rMenu-icon1"></span> |
| | | <p>æ´ä»éé</p> |
| | | </a> |
| | | </div> |
| | | <div class="qt-rMenu-item layui-col-lg4"> |
| | | <a href="javascript:;" onClick="checkStart(2)"> <span |
| | | class="qt-icon qt-rMenu-icon2"></span> |
| | | <p>éæ©éé</p> |
| | | </a> |
| | | </div> |
| | | <div class="qt-rMenu-item layui-col-lg4"> |
| | | <a href="javascript:;" onClick="checkStart(3)"> <span |
| | | class="qt-icon qt-rMenu-icon3"></span> |
| | | <p>å¤ä»éé</p> |
| | | </a> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="qt-rMenu layui-row radius-6" style="padding-top: 0px;"> |
| | | <div class="qt-rMenu-item layui-col-lg4"> |
| | | <a href="javascript:;" onClick="printSingle()"> <span |
| | | class="qt-icon qt-rMenu-icon4"></span> |
| | | <p>å仿å°</p> |
| | | </a> |
| | | </div> |
| | | <div class="qt-rMenu-item layui-col-lg4"> |
| | | <a href="javascript:;" onClick="printBatch()"> <span |
| | | class="qt-icon qt-rMenu-icon5"></span> |
| | | <p>å¤ä»æå°</p> |
| | | </a> |
| | | </div> |
| | | <div class="qt-rMenu-item layui-col-lg4"> |
| | | <a href="javascript:;" onClick="gasChart()"> <span |
| | | class="qt-icon qt-rMenu-icon6"></span> |
| | | <p>èµ°å¿åæ</p> |
| | | </a> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="qt-rTable-box radius-6" id="tableInfo" style='height: 450px; overflow-y: auto;'> |
| | | <!-- <table class="layui-table" ></table> --> |
| | | </div> |
| | | <!--qt-rTable-box end--> |
| | | </div> |
| | | <!--qt-right end--> |
| | | |
| | | </div> |
| | | <!--l-main end--> |
| | | </div> |
| | | <!--l-container end--> |
| | | |
| | | |
| | | <script th:inline="javascript"> |
| | | //ä»åºå表 |
| | | //ä»åºå表 |
| | | var listDepot = [{ |
| | | "bhId": "1", |
| | | "buildingId": "91310114703439394M0010001", |
| | | "checkDate": 1605542400000, |
| | | "companyId": "5303", |
| | | "depotStatus": "4", |
| | | "depotStatusName": "åºåºä¸", |
| | | "depotType": "02", |
| | | "depotTypeName": "æµ
åä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2022", |
| | | "id": "P0101", |
| | | "name": "P01-01", |
| | | "perImpurity": 0.36, |
| | | "perWet": 13.7, |
| | | "storageMax": 3000000, |
| | | "storageReal": 0, |
| | | "storeDate": 1668700800000, |
| | | "storeKeeper": "wmf", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "çç¾ç¦", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "2", |
| | | "buildingId": "91310114703439394M0010001", |
| | | "companyId": "5303", |
| | | "depotStatus": "4", |
| | | "depotStatusName": "åºåºä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2022", |
| | | "id": "P0102", |
| | | "name": "P01-02", |
| | | "storageMax": 3000000, |
| | | "storageReal": 0, |
| | | "storeDate": 1667836800000, |
| | | "storeKeeper": "wmf", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "çç¾ç¦", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "3", |
| | | "buildingId": "91310114703439394M0010002", |
| | | "companyId": "5303", |
| | | "depotStatus": "34", |
| | | "depotStatusName": "å°ä»-温æ§ä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2023", |
| | | "id": "P0103", |
| | | "name": "P01-03", |
| | | "storageMax": 3000000, |
| | | "storageReal": 2164420, |
| | | "storeDate": 1635696000000, |
| | | "storeKeeper": "xjh", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "å¾ä½³æ", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "4", |
| | | "buildingId": "91310114703439394M0010002", |
| | | "companyId": "5303", |
| | | "depotStatus": "32", |
| | | "depotStatusName": "å°ä»-çè¸ä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1110000", |
| | | "foodVarietyName": "å°éº¦", |
| | | "foodYear": "2024", |
| | | "id": "P0104", |
| | | "name": "P01-04", |
| | | "storageMax": 3000000, |
| | | "storageReal": 3000000, |
| | | "storeDate": 1720454400000, |
| | | "storeKeeper": "xjh", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "å¾ä½³æ", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "5", |
| | | "buildingId": "91310114703439394M0010003", |
| | | "companyId": "5303", |
| | | "depotStatus": "4", |
| | | "depotStatusName": "åºåºä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "02", |
| | | "foodLevelName": "äºç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2022", |
| | | "id": "P0105", |
| | | "name": "P01-05", |
| | | "storageMax": 3000000, |
| | | "storageReal": 0, |
| | | "storeDate": 1604160000000, |
| | | "storeKeeper": "wmf", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "çç¾ç¦", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }, { |
| | | "bhId": "6", |
| | | "buildingId": "91310114703439394M0010003", |
| | | "companyId": "5303", |
| | | "depotStatus": "4", |
| | | "depotStatusName": "åºåºä¸", |
| | | "depotType": "01", |
| | | "depotTypeName": "å¹³æ¿ä»", |
| | | "deptId": "5303_001", |
| | | "foodLevel": "01", |
| | | "foodLevelName": "ä¸ç", |
| | | "foodLocation": "䏿µ·å¸", |
| | | "foodType": "122", |
| | | "foodTypeName": "åºçº§å°æ¹å¨å¤ç²®", |
| | | "foodVariety": "1130000", |
| | | "foodVarietyName": "稻谷", |
| | | "foodYear": "2022", |
| | | "id": "P0106", |
| | | "name": "P01-06", |
| | | "storageMax": 3000000, |
| | | "storageReal": 0, |
| | | "storeDate": 1604160000000, |
| | | "storeKeeper": "wmf", |
| | | "storeKeeperLevel": "é«çº§ä¿ç®¡å", |
| | | "storeKeeperName": "çç¾ç¦", |
| | | "storeKeeperPhone": "####", |
| | | "storeType": "1" |
| | | }]; |
| | | //ä¸å¡ç±»å |
| | | var bizType = null; |
| | | var depotId = "P0101";// å½åä»åºidï¼åå¨ç©ºæ
åµ |
| | | var userId = null; |
| | | var deptId = "1000"; |
| | | var companyId = null; |
| | | </script> |
| | | <script th:src="@{/ajax/libs/layui/layui.js}"></script> |
| | | <script th:src="@{/js/jquery.min.js}"></script> |
| | | <script th:src="@{/dzhwk/common/igds-common.js}"></script> |
| | | <script th:src="@{/dzhwk/pest/PrintBuilder.js}"></script> |
| | | <script th:src="@{/dzhwk/pest/pest-check.js}"></script> |
| | | |
| | | </body> |
| | | <!-- æ´å¤æ¹æ¬¡éæ© --> |
| | | <div class="layui-tab-content" id="dialogMoreSelect" |
| | | style="display: none;"> |
| | | <form class="layui-form layui-form-pane"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">éæ©æ¶é´ï¼</label> |
| | | <div class="layui-input-inline left-input"> |
| | | <input type="text" name="checkDateMore" id="checkDateMore" |
| | | placeholder="å¹´-æ-æ¥" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | |
| | | <!-- æ¹éééå¼¹åºæ¡ --> |
| | | <div class="layui-tab-content" id="batchCheckSelect" |
| | | style="display: none;"> |
| | | <form class="layui-form layui-form-pane"> |
| | | <div class="layui-inline"> |
| | | <input type="checkbox" lay-filter="select_check_depot"> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | |
| | | <!-- éæ©ééç¹ --> |
| | | <div class="layui-tab-content" id="pointSelect" style="display: none;"> |
| | | <form class="layui-form layui-form-pane"> |
| | | <div class="layui-inline" id="div_point_select"></div> |
| | | </form> |
| | | </div> |
| | | |
| | | <!-- å®ä¹æ¹éæå°éæ©å
容 --> |
| | | <div class="layui-tab-content" id="batchPrintSelect" |
| | | style="display: none;"> |
| | | <form class="layui-form layui-form-pane"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">éæ©æ¶é´ï¼</label> |
| | | <div class="layui-input-inline left-input"> |
| | | <input type="text" name="printCheckDate" id="printCheckDate" |
| | | placeholder="å¹´-æ-æ¥" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <button type="button" onclick="getPrintBatchDepot()" |
| | | class="layui-btn layui-btn-radius layui-btn-sm"> |
| | | <i class="layui-icon layui-icon-search"></i>确认æ¥è¯¢ |
| | | </button> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <input type="checkbox" lay-filter="select_print_depot"> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | |
| | | |
| | | </html> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"> |
| | | <head> |
| | | <meta charset="utf-8"/> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"/> |
| | | <meta name="renderer" content="webkit"/> |
| | | <meta name="viewport" |
| | | content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"/> |
| | | <meta name="format-detection" content="telephone=no"/> |
| | | <title>çµåè´§ä½å¡ç³»ç»-ä»å¨ä¿ç®¡ä½ä¸</title> |
| | | |
| | | <link rel="stylesheet" th:href="@{/dzhwk/style.css}"/> |
| | | <style> |
| | | .m-pic1 .pic iframe{ |
| | | display: block; |
| | | width: 100%; |
| | | height: 853px; |
| | | } |
| | | </style> |
| | | </head> |
| | | |
| | | <body class=""> |
| | | <div class="screen-container"> |
| | | <div id="container"> |
| | | <div class="header"> |
| | | <div class="h-info"> |
| | | <div class="t">çµåè´§ä½å¡ç³»ç»</div> |
| | | - ä»å¨ä¿ç®¡ä½ä¸ |
| | | </div> |
| | | <a href="" class="logo"> |
| | | <img th:src="@{/img/dzhwk/logo.png}" alt=""> |
| | | <span>飿£è´è¿éå·ç´å±åº</span> |
| | | </a> |
| | | <div class="h-date">2025-03-26 10:10</div> |
| | | </div> |
| | | <div class="main"> |
| | | <div class="m-safeguardl"> |
| | | <div class="col-l g-boxl1"> |
| | | <div class="m-picl"> |
| | | |
| | | <div class="pic"> |
| | | <!-- <img th:src="@{/img/dzhwk/imgl1.jpg}" alt="">--> |
| | | <iframe src="../dzhwk/pest-check" style="width: 100%;height: 853px;display: block;" frameborder="0" allowfullscreen></iframe> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="col-r"> |
| | | <ul class="ul-listl1 g-boxl1"> |
| | | <li> |
| | | <a href="javascript:void(0)" onclick="toPage('grain')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl2.png}" alt=""> |
| | | </div> |
| | | <div class="tt">ç²®æ¸©æ£æµ</div> |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="javascript:void(0)" onclick="toPage('gas')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl3.png}" alt=""> |
| | | </div> |
| | | <div class="tt">æ°ä½æ£æµ</div> |
| | | </a> |
| | | </li> |
| | | <li class="on"> |
| | | <a href="javascript:void(0)" onclick="toPage('pest')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl4.png}" alt=""> |
| | | </div> |
| | | <div class="tt">è«å®³æ£æµ</div> |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="javascript:void(0)" onclick="toPage('verb')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl5.png}" alt=""> |
| | | </div> |
| | | <div class="tt">éé£ä½ä¸</div> |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="javascript:void(0)" onclick="toPage('recir')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl6.png}" alt=""> |
| | | </div> |
| | | <div class="tt">温æ§ä½ä¸</div> |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="javascript:void(0)" onclick="toPage('n2')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl7.png}" alt=""> |
| | | </div> |
| | | <div class="tt">æ°è°ä½ä¸</div> |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="javascript:void(0)" onclick="toPage('security')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl8.png}" alt=""> |
| | | </div> |
| | | <div class="tt">å®å
¨ç®¡ç</div> |
| | | </a> |
| | | </li> |
| | | </ul> |
| | | <a href="javascript:void(0)" onclick="toPage('index')" class="g-backl"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl1.png}" alt=""> |
| | | </div> |
| | | <div class="tt">è¿åé¦é¡µ</div> |
| | | </a> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <script th:src="@{/ajax/libs/layui/layui.js}"></script> |
| | | <script th:src="@{/js/jquery.min.js}"></script> |
| | | <script th:src="@{/dzhwk/common.js}"></script> |
| | | <script th:inline="javascript"> |
| | | var flag = [[${flag}]]; |
| | | var layer; |
| | | $(function () { |
| | | layui.use(['layer'], function () { |
| | | layer = layui.layer; |
| | | }); |
| | | }); |
| | | //çå¬æä½ |
| | | document.addEventListener('mousemove', resetTimeout); //é¼ æ ç§»å¨ |
| | | document.addEventListener('click', resetTimeout); //é¼ æ ç¹å» |
| | | document.addEventListener('touchstart', resetTimeout); //è§¦å± |
| | | |
| | | timeFormate(); |
| | | setInterval(function () { |
| | | timeFormate() |
| | | }, 1000); |
| | | </script> |
| | | </body> |
| | | </html> |
| | |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="" class="con"> |
| | | <a href="javascript:void(0)" onclick="toPage('gas')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl3.png}" alt=""> |
| | | </div> |
| | |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="" class="con"> |
| | | <a href="javascript:void(0)" onclick="toPage('pest')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl4.png}" alt=""> |
| | | </div> |
| | |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="" class="con"> |
| | | <a href="javascript:void(0)" onclick="toPage('recir')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl6.png}" alt=""> |
| | | </div> |
| | |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="" class="con"> |
| | | <a href="javascript:void(0)" onclick="toPage('n2')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl7.png}" alt=""> |
| | | </div> |
| | |
| | | </a> |
| | | </li> |
| | | <li> |
| | | <a href="" class="con"> |
| | | <a href="javascript:void(0)" onclick="toPage('security')" class="con"> |
| | | <div class="icon"> |
| | | <img th:src="@{/img/dzhwk/iconl8.png}" alt=""> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <script th:src="@{/ajax/libs/layui/layui.js}"></script> |
| | | <script th:src="@{/js/jquery.min.js}"></script> |
| | | <script th:src="@{/dzhwk/common.js}"></script> |
| | | <script th:inline="javascript"> |
| | | var flag = [[${flag}]]; |
| | | |
| | | var layer; |
| | | $(function () { |
| | | layui.use(['layer'], function () { |
| | | layer = layui.layer; |
| | | }); |
| | | }); |
| | | //çå¬æä½ |
| | | document.addEventListener('mousemove', resetTimeout); //é¼ æ ç§»å¨ |
| | | document.addEventListener('click', resetTimeout); //é¼ æ ç¹å» |