From 86cb048d01d23d091efa3435db07c513e2b41878 Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期五, 16 八月 2024 16:30:39 +0800
Subject: [PATCH] 1
---
WebTM/views/质量管理/质量报表/Sc_StationOutBil_HProc.html | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/Sc_StationOutBil_HProc.html" "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/Sc_StationOutBil_HProc.html"
index 6a2bcbb..791b048 100644
--- "a/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/Sc_StationOutBil_HProc.html"
+++ "b/WebTM/views/\350\264\250\351\207\217\347\256\241\347\220\206/\350\264\250\351\207\217\346\212\245\350\241\250/Sc_StationOutBil_HProc.html"
@@ -61,6 +61,12 @@
</div>
</div>
<div class="layui-inline">
+ <label class="layui-form-label" style="width: 85px;">鐗╂枡鍚嶇О</label>
+ <div class="layui-input-block" style="margin-left: 120px;">
+ <input type="text" class="layui-input" name="HMaterName" id="HMaterName">
+ </div>
+ </div>
+ <div class="layui-inline">
<label class="layui-form-label" style="width: 85px;">宸ュ簭鍚嶇О</label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HProcName" id="HProcName">
@@ -380,7 +386,7 @@
var HYear = $("#HYear").val();
var HMonth = $("#HMonth").val();
var HProcName = $("#HProcName").val();
-
+ var HMaterName = $("#HMaterName").val();
var ColName = $("#ColName").val();//澶嶉�夋
var Comparator = $("#Comparator").val()
var ColContent = $("#ColContent").val();
@@ -464,6 +470,9 @@
if (HProcName) {
sWhere += " and 宸ュ簭鍚嶇О like '%" + HProcName + "%'";
}
+ if (HMaterName) {
+ sWhere += " and 鐗╂枡鍚嶇О like '%" + HMaterName + "%'";
+ }
get_Display(sWhere);
//鍔犺浇鏌辩姸鍥�
set_Graphics();
@@ -475,6 +484,7 @@
$("#HYear").val(new Date().getFullYear());
$("#HMonth").val(new Date().getMonth() + 1);
$("#HProcName").val("");
+ $("#HMaterName").val("");
$("#btnSearch").click();
$("#ColContent").val("");
$("#ColName").val("0");
@@ -520,8 +530,8 @@
HQtyNum.push(option.data[i].鍚堟牸鏁�);
HBadCount.push(option.data[i].涓嶈壇鏁�);
HBackWorkQty.push(option.data[i].杩斿伐鏁�);
- FistPass.push((option.data[i].涓�娆″悎鏍肩巼).replace('%', ''));
- Pass.push((option.data[i].鍚堟牸鐜�).replace('%', ''))
+ FistPass.push((option.data[i].涓�娆″悎鏍肩巼 == null ? '0.00%' : option.data[i].涓�娆″悎鏍肩巼 ).replace('%', ''));
+ Pass.push((option.data[i].鍚堟牸鐜� == null ? '0.00%' : option.data[i].鍚堟牸鐜�).replace('%', ''))
}
}
--
Gitblit v1.9.1