From 865eb3bcd1a25d5f9233f85c2549c6fe3da3ceb0 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 11 六月 2024 23:45:47 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-LayUI
---
WebTM/views/设备管理/Sb_EqpMaintenanceBill_PDA.html | 28 ++++++++++++++++++++++------
1 files changed, 22 insertions(+), 6 deletions(-)
diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpMaintenanceBill_PDA.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpMaintenanceBill_PDA.html"
index 69dc8c4..dd24b0a 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpMaintenanceBill_PDA.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpMaintenanceBill_PDA.html"
@@ -163,7 +163,7 @@
</td>
</tr>
<tr>
- <th>閮ㄩ棬</th>
+ <th>閮ㄩ棬<span style=" color:red">*</span></th>
<td class="bz_td">
<input type="text" name="HDeptName" class="layui-input" id="HDeptName" placeholder="閫夋嫨閮ㄩ棬" style="background-color:#efefef4d;">
<input type="hidden" name="HDeptID" id="HDeptID" value="0" autocomplete="off" class="layui-input">
@@ -171,7 +171,7 @@
</td>
</tr>
<tr>
- <th>缁翠慨浜�</th>
+ <th>缁翠慨浜�<span style=" color:red">*</span></th>
<td class="bz_td">
<input type="text" name="HEmpName" class="layui-input" id="HEmpName" placeholder="閫夋嫨缁翠慨浜�" style="background-color:#efefef4d;">
<input type="hidden" name="HEmpID" id="HEmpID" value="0" autocomplete="off" class="layui-input">
@@ -179,7 +179,7 @@
</td>
</tr>
<tr>
- <th>缁翠慨椤圭洰</th>
+ <th>缁翠慨椤圭洰<span style=" color:red">*</span></th>
<td class="bz_td">
<input type="text" name="HRepair" class="layui-input" id="HRepair" placeholder="閫夋嫨缁翠慨椤圭洰" style="background-color:#efefef4d;">
<input type="hidden" name="HRepairID" id="HRepairID" value="0" autocomplete="off" class="layui-input">
@@ -203,7 +203,7 @@
</td>
</tr>
<tr>
- <th>鏁呴殰鐧昏鍗�</th>
+ <th>鏁呴殰鐧昏鍗�<span style=" color:red">*</span></th>
<td class="bz_td">
<input type="text" name="HMainSourceBillNo" class="layui-input" id="HMainSourceBillNo" placeholder="閫夋嫨鏁呴殰鐧昏鍗�" style="background-color:#efefef4d;">
<input type="hidden" name="HMainSourceInterID" id="HMainSourceInterID" value="0" autocomplete="off" class="layui-input">
@@ -212,7 +212,7 @@
</td>
</tr>
<tr>
- <th>璐熻矗浜�</th>
+ <th>璐熻矗浜�<span style=" color:red">*</span></th>
<td class="bz_td">
<input type="text" name="HManagerName" class="layui-input" id="HManagerName" placeholder="閫夋嫨璐熻矗浜�" style="background-color:#efefef4d;">
<input type="hidden" name="HManagerID" id="HManagerID" value="0" autocomplete="off" class="layui-input">
@@ -851,10 +851,26 @@
}
//闈炵┖楠岃瘉
function AllowLoadData(sSubStr) {
+ if ($("#HDeptID").val() == 0) {
+ layer.msg("閮ㄩ棬娌℃湁閫夋嫨锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return;
+ }
+ if ($("#HEmpID").val() == 0) {
+ layer.msg("缁翠慨浜烘病鏈夐�夋嫨锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return;
+ }
+ if ($("#HRepairID").val() == 0) {
+ layer.msg("缁翠慨椤圭洰娌℃湁閫夋嫨锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return;
+ }
+ if ($("#HMainSourceInterID").val() == 0) {
+ layer.msg("鏁呴殰鐧昏鍗曟病鏈夐�夋嫨锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
+ return;
+ }
if ($("#HManagerID").val() == 0) {
layer.msg("璐熻矗浜烘病鏈夐�夋嫨锛�", { icon: 5, btn: ['纭'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
return;
- }
+
if (typeof (sSubStr) == "undefined" || sSubStr == "" || sSubStr == "[]") {
layer.msg("娌℃湁璁惧鏄庣粏璁板綍", { icon: 5, btn: ['纭'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "娓╅Θ鎻愮ず" });
--
Gitblit v1.9.1