From 1f4b2ea982f850f874ae13177894a0996714468c Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期三, 16 八月 2023 10:53:50 +0800
Subject: [PATCH] 工作任务:必填标识
---
WebTM/Properties/PublishProfiles/JFTM.pubxml.user | 2 +-
WebTM/views/项目管理/工作任务/PM_WorkTaskBill.html | 25 ++++++++++++-------------
2 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/WebTM/Properties/PublishProfiles/JFTM.pubxml.user b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
index f458745..e57593f 100644
--- a/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
+++ b/WebTM/Properties/PublishProfiles/JFTM.pubxml.user
@@ -4422,7 +4422,7 @@
<publishTime>07/14/2023 11:04:08</publishTime>
</File>
<File Include="views/椤圭洰绠$悊/宸ヤ綔浠诲姟/PM_WorkTaskBill.html">
- <publishTime>07/25/2023 15:45:05</publishTime>
+ <publishTime>08/16/2023 10:38:39</publishTime>
</File>
<File Include="views/椤圭洰绠$悊/宸ヤ綔浠诲姟/PM_WorkTaskBillList.html">
<publishTime>07/14/2023 15:45:18</publishTime>
diff --git "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBill.html" "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBill.html"
index 90cee70..e1d02f5 100644
--- "a/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBill.html"
+++ "b/WebTM/views/\351\241\271\347\233\256\347\256\241\347\220\206/\345\267\245\344\275\234\344\273\273\345\212\241/PM_WorkTaskBill.html"
@@ -75,7 +75,7 @@
<div class="layui-form-item" style="padding-top: 10px;">
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鍗曟嵁鍙�*</label>
+ <label class="layui-form-label" style="width: 85px;">鍗曟嵁鍙�<label style="color:red"> * </label></label>
<div class="layui-input-block" style="margin-left: 120px;">
<input type="text" class="layui-input" name="HBillNo" lay-verify="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly>
<input type="hidden" name="HInterID" id="HInterID" lay-verify="HInterID">
@@ -88,7 +88,7 @@
</div>
</div>-->
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">椤圭洰浠g爜*</label>
+ <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">椤圭洰浠g爜<label style="color:red"> * </label></label>
<div class="layui-input-block" style="margin-left: 77px;">
<input type="text" class="layui-input" lay-verify="HProNumber" name="HProNumber" id="HProNumber" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
<!--<input type="hidden" name="HProjectStageID" id="HProjectStageID" lay-verify="HProjectStageID" value="0">-->
@@ -106,7 +106,7 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">椤圭洰闃舵*</label>
+ <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">椤圭洰闃舵<label style="color:red"> * </label></label>
<div class="layui-input-block" style="margin-left: 77px;">
<input type="text" class="layui-input" lay-verify="HProjectStageName" name="HProjectStageName" id="HProjectStageName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
<input type="hidden" name="HProjectStageID" id="HProjectStageID" lay-verify="HProjectStageID" value="0">
@@ -122,7 +122,7 @@
</div>
</div>
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">鏃ユ湡</label>
+ <label class="layui-form-label" style="width: 85px;">鏃ユ湡<label style="color:red"> * </label></label>
<div class="layui-input-block" style="margin-left: 120px; width:180px;">
<input type="date" class="layui-input" lay-verify="HDate" name="HDate" id="HDate" style="padding-left: 80px;">
</div>
@@ -158,7 +158,7 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">娲惧崟浜�*</label>
+ <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">娲惧崟浜�<label style="color:red"> * </label></label>
<div class="layui-input-block" style="margin-left: 77px;">
<input type="text" class="layui-input" lay-verify="HSendEmp" name="HSendEmp" id="HSendEmp" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly>
<!--<input type="hidden" name="HPMEmpID" id="HPMEmpID" lay-verify="HPMEmpID" value="0">-->
@@ -199,7 +199,7 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">澶囨敞<label style="color:red"> * </label></label>
+ <label class="layui-form-label" style="width: 85px;">澶囨敞</label>
<div class="layui-input-block" style="margin-left: 120px; width: 501px;">
<input type="text" class="layui-input" lay-verify="HRemark" name="HRemark" id="HRemark">
</div>
@@ -207,7 +207,7 @@
</div>
<div class="layui-row">
<div class="layui-inline">
- <label class="layui-form-label" style="width: 85px;">缁勭粐*</label>
+ <label class="layui-form-label" style="width: 85px;">缁勭粐<label style="color:red"> * </label></label>
<div class="layui-input-block" style="margin-left: 120px; width: 501px;">
<select name="HOrgID" id="HOrgID" lay-verify="HOrgID">
<!--鍔ㄦ�佹覆鏌撶粍缁�-->
@@ -928,16 +928,11 @@
layer.msg("鍗曟嵁鍙蜂笉鑳戒负绌�!");
return false;
}
-
if ($("#HProNumber").val() == "") {
layer.msg("椤圭洰浠g爜涓嶈兘涓虹┖!");
return false;
}
- if ($("#HProName").val() == "") {
- layer.msg("椤圭洰鍚嶇О涓嶈兘涓虹┖!");
- return false;
- }
- if ($("#HProjectStageName").val() == "") {
+ if ($("#HProjectStageID").val() == "0") {
layer.msg("椤圭洰闃舵娌℃湁閫夋嫨!");
return false;
}
@@ -945,6 +940,10 @@
layer.msg("浠诲姟鍚嶇О涓嶈兘涓虹┖!");
return false;
}
+ if ($("#HDate").val() == "") {
+ layer.msg("鏃ユ湡涓嶈兘涓虹┖!");
+ return false;
+ }
if ($("#HSendEmp").val() == "") {
layer.msg("娲惧崟浜烘病鏈夐�夋嫨!");
return false;
--
Gitblit v1.9.1