From 6fa59de585fcd153e54c129f10f91a2ce34afaaa Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期五, 08 七月 2022 19:47:04 +0800
Subject: [PATCH] 扫码记录缓存报表

---
 WebTM/views/IpadIndex.html |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/WebTM/views/IpadIndex.html b/WebTM/views/IpadIndex.html
index 662ca53..d459605 100644
--- a/WebTM/views/IpadIndex.html
+++ b/WebTM/views/IpadIndex.html
@@ -131,6 +131,7 @@
 
         //閫変腑璧勬簮
         function Check(obj, i) {
+            wktag = 0;
             $("#btomleft").html("");
             $("#topright").html("");
             var partid = $(obj).parent().attr("id");   //鑾峰彇鐖剁骇id
@@ -193,8 +194,8 @@
                                 }
                                 html1 += '<span class="prs">鐢熶骇杩涘害锛�</span>';
                                 html1 += '<div class="layui-progress layui-progress-big" lay-showPercent="yes">';
-                                html1 += '<div class="layui-progress-bar" lay-percent="' + LoadData1[i].HDateFinishQty / LoadData1[i].HDatePlanQty + '%" style="width:' + LoadData1[i].HDateFinishQty / LoadData1[i].HDatePlanQty + '%;">';
-                                html1 += '<span class="layui-progress-text">' + LoadData1[i].HDateFinishQty / LoadData1[i].HDatePlanQty + '%</span>';
+                                html1 += '<div class="layui-progress-bar" lay-percent="' + (LoadData1[i].HDateFinishQty / LoadData1[i].HDatePlanQty)*100 + '%" style="width:' + (LoadData1[i].HDateFinishQty / LoadData1[i].HDatePlanQty)*100 + '%;">';
+                                html1 += '<span class="layui-progress-text">' + (LoadData1[i].HDateFinishQty / LoadData1[i].HDatePlanQty)*100 + '%</span>';
                                 html1 += '</div > ';
                                 html1 += '</div>';
                                 html1 += '</dd>';
@@ -779,7 +780,7 @@
                 , shade: 0.6
                 , maxmin: false
                 , anim: 0
-                , content: ['璐ㄩ噺绠$悊/棣栦欢妫�楠屽崟/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=2&linterid=' + HSourceInterID + '&HSouceBillType=' + HBillType + '&HICMOEntryID=' + HSourceEntryID, 'yes']
+                , content: ['璐ㄩ噺绠$悊/棣栦欢妫�楠屽崟/QC_Add_Edit_FirstPieceCheckBill.html?OperationType=2&linterid=' + HSourceInterID + '&HSouceBillType=' + HBillType + '&HICMOEntryID=' + HICMOEntryID, 'yes']
                 , resize: false
                 , cancel: function () {
                 }
@@ -802,7 +803,7 @@
                 , shade: 0.6
                 , maxmin: false
                 , anim: 0
-                , content: ['璐ㄩ噺绠$悊/宸ュ簭妫�楠屽崟/QC_ProcessCheckBill.html?OperationType=2&linterid=' + HSourceInterID + '&HSouceBillType=' + HBillType + '&HICMOEntryID=' + HSourceEntryID, 'yes']
+                , content: ['璐ㄩ噺绠$悊/宸ュ簭妫�楠屽崟/QC_ProcessCheckBill.html?OperationType=2&linterid=' + HSourceInterID + '&HSouceBillType=' + HBillType + '&HICMOEntryID=' + HICMOEntryID, 'yes']
                 , resize: false
                 , cancel: function () {
 
@@ -1005,13 +1006,13 @@
                                 </div>
                             </div>
                             <div class="layui-col-sm12 layui-col-md4" onclick="OpenMaterToSource(event,this)">
-                                <div class="cnt bottomright" style="pointer-events:none; background-color:rgb(0 0 0 / 10%)">
+                                <div class="cnt bottomright">
                                     <span class="layui-icon layui-icon-engine imgicon"></span>
                                     <span class="imgtitle">涓婃枡闃插憜</span>
                                 </div>
                             </div>
                             <div class="layui-col-sm12 layui-col-md4" onclick="BadGather(event,this)">
-                                <div class="cnt bottomright" style="pointer-events:none; background-color:rgb(0 0 0 / 10%)">
+                                <div class="cnt bottomright">
                                     <span class="layui-icon layui-icon-chart imgicon"></span>
                                     <span class="imgtitle">涓嶈壇閲囬泦</span>
                                 </div>

--
Gitblit v1.9.1