Przeglądaj źródła

收费标准,快捷输入方式

[user3] 4 lat temu
rodzic
commit
e01ff40562

+ 5 - 5
src/main/webapp/webpage/modules/ruralprojectrecords/cost/ruralCostProjectRecordsForm.jsp

@@ -974,11 +974,11 @@
                                       cssClass="form-control required" fieldLabels="联系人" fieldKeys="name"
                                       searchLabel="联系人" searchKey="name"></sys:gridselect1>
                 </div>
-                <div id="addUserButton" class="layui-item nav-btns" style="float: left;">
-                    <a id="aButton" href="javascript:void(0)"
-                       onclick="openBill2('新增委托方管理', '${ctx}/workclientinfo/workClientInfo/form?param=2&jobTypeShow=1','95%','95%',false,'inputForm')"
-                       class="nav-btn nav-btn-add"><i class="fa fa-plus"></i> 新增委托方信息</a>
-                </div>
+<%--                <div id="addUserButton" class="layui-item nav-btns" style="float: left;">--%>
+<%--                    <a id="aButton" href="javascript:void(0)"--%>
+<%--                       onclick="openBill2('新增委托方管理', '${ctx}/workclientinfo/workClientInfo/form?param=2&jobTypeShow=1','95%','95%',false,'inputForm')"--%>
+<%--                       class="nav-btn nav-btn-add"><i class="fa fa-plus"></i> 新增委托方信息</a>--%>
+<%--                </div>--%>
 
                 <div class="layui-item layui-col-xs12 form-table-container" style="padding:0px">
                     <table id="contentTable1" class="table table-bordered table-condensed details">

+ 5 - 5
src/main/webapp/webpage/modules/ruralprojectrecords/ruralProjectRecordsForm.jsp

@@ -986,11 +986,11 @@
                                       cssClass="form-control required" fieldLabels="联系人" fieldKeys="name"
                                       searchLabel="联系人" searchKey="name"></sys:gridselect1>
                 </div>
-                <div id="addUserButton" class="layui-item nav-btns" style="float: left;">
-                    <a id="aButton" href="javascript:void(0)"
-                       onclick="openBill2('新增委托方管理', '${ctx}/workclientinfo/workClientInfo/form?param=2&jobTypeShow=1','95%','95%',false,'inputForm')"
-                       class="nav-btn nav-btn-add"><i class="fa fa-plus"></i> 新增委托方信息</a>
-                </div>
+<%--                <div id="addUserButton" class="layui-item nav-btns" style="float: left;">--%>
+<%--                    <a id="aButton" href="javascript:void(0)"--%>
+<%--                       onclick="openBill2('新增委托方管理', '${ctx}/workclientinfo/workClientInfo/form?param=2&jobTypeShow=1','95%','95%',false,'inputForm')"--%>
+<%--                       class="nav-btn nav-btn-add"><i class="fa fa-plus"></i> 新增委托方信息</a>--%>
+<%--                </div>--%>
 
                 <div class="layui-item layui-col-xs12 form-table-container" style="padding:0px">
                     <table id="contentTable1" class="table table-bordered table-condensed details">

+ 12 - 9
src/main/webapp/webpage/modules/workcontractinfo/workContractInfoFormAdd.jsp

@@ -53,9 +53,9 @@
         $(document).ready(function() {
 			var chargeCriterionH = $("#chargeCriterionH").val();
 			if(chargeCriterionH.indexOf("4")!=-1){
-				document.getElementById("otherDetails").readOnly=false
+				// document.getElementById("otherDetails").readOnly=false
 			}else{
-				document.getElementById("otherDetails").readOnly=true
+				// document.getElementById("otherDetails").readOnly=true
 				$("#otherDetails").val("");
 			}
             if($("#createDate").val()==null || $("#createDate").val()==''){
@@ -663,15 +663,16 @@
 							<div class="layui-item layui-col-sm12">
 								<label class="layui-form-label">收费标准</label>
 								<div class="layui-input-block">
-									<form:checkboxes path="chargeCriterionList" lay-filter="chargeCriterionList" lay-skin="primary" itemLabel="label" itemValue="value" htmlEscape="false" items="${fns:getMainDictList('charge_criterion')}" />
+									<form:checkboxes path="chargeCriterionList" lay-filter="chargeCriterionList" lay-skin="primary" itemLabel="label" itemValue="label" htmlEscape="true" items="${fns:getMainDictList('charge_criterion')}" />
+<%--									<form:checkboxes path="chargeCriterionList" cssStyle="display: none;" lay-filter="chargeCriterionList" lay-skin="primary" itemLabel="label" itemValue="value" htmlEscape="true" items="${fns:getMainDictList('charge_criterion')}" />--%>
 								</div>
 							</div>
 
 
 							<div class="layui-item layui-col-sm12">
-								<label class="layui-form-label ">其他详情:</label>
+								<label class="layui-form-label "><!--其他详情:--></label>
 								<div class="layui-input-block">
-									<form:input path="otherDetails" readonly="true" htmlEscape="false" maxlength="255" class="form-control layui-input"/>
+									<form:input path="otherDetails" htmlEscape="false" maxlength="255" class="form-control layui-input"/>
 								</div>
 							</div>
 							<div class="layui-item layui-col-sm12 with-textarea">
@@ -852,15 +853,17 @@
 
 			//复选框监听器
 			form.on('checkbox(chargeCriterionList)', function(data){
+
 				var ids = [];
 				$("input[name='chargeCriterionList']:checked").each(function(i){
-					ids.push($(this).val())
+					ids.push($(this).val());
 				})
+
 				if(ids.indexOf("4")!=-1){
-					document.getElementById("otherDetails").readOnly=false
+					// document.getElementById("otherDetails").readOnly=false
 				}else{
-					document.getElementById("otherDetails").readOnly=true
-					$("#otherDetails").val("");
+					// document.getElementById("otherDetails").readOnly=true
+					$("#otherDetails").val(ids);
 				}
 			});
 		});