|
@@ -323,7 +323,7 @@
|
|
|
}
|
|
|
});
|
|
|
var workClientLinkmanInfo = $("#workClientLinkmanInfo").val()
|
|
|
- if(workClientLinkmanInfo != null && workClientLinkmanInfo !=""){
|
|
|
+ /*if(workClientLinkmanInfo != null && workClientLinkmanInfo !=""){
|
|
|
|
|
|
//按钮禁用
|
|
|
$("#addUserButton").removeClass("disables");
|
|
@@ -341,7 +341,7 @@
|
|
|
$("#linkmanButton").removeClass("forbidden");
|
|
|
$("#linkmanButton").removeClass("notForbidden");
|
|
|
$("#linkmanButton").addClass("forbidden");
|
|
|
- }
|
|
|
+ }*/
|
|
|
$("input[name='ext']").on('ifChecked',function(event){
|
|
|
radioVal = $(this).val();
|
|
|
if(radioVal == 0){
|
|
@@ -606,7 +606,7 @@
|
|
|
}
|
|
|
|
|
|
//按钮禁用
|
|
|
- $("#addUserButton").removeClass("disables");
|
|
|
+ /*$("#addUserButton").removeClass("disables");
|
|
|
$("#addUserButton").removeClass("notDisables");
|
|
|
$("#addUserButton").addClass("disables");
|
|
|
//a标签置灰
|
|
@@ -620,7 +620,7 @@
|
|
|
|
|
|
$("#linkmanButton").removeClass("forbidden");
|
|
|
$("#linkmanButton").removeClass("notForbidden");
|
|
|
- $("#linkmanButton").addClass("forbidden");
|
|
|
+ $("#linkmanButton").addClass("forbidden");*/
|
|
|
}
|
|
|
function hasInArr(id,idArr) {
|
|
|
for(var i=0;i<idArr.length;i++){
|
|
@@ -832,54 +832,6 @@
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- function getApprovalFee() {
|
|
|
- //总价
|
|
|
- var af = $("#estimateTotalFees").val();
|
|
|
- if(af !=''){
|
|
|
- $("#estimateTotalFees").val(af)
|
|
|
- }
|
|
|
- $("#buildingFees").val("");
|
|
|
- $("#installFees").val("");
|
|
|
- $("#buildingPercent").val("");
|
|
|
- $("#installPercent").val("");
|
|
|
- }
|
|
|
-
|
|
|
- function getInstallFee() {
|
|
|
- var af = $("#estimateTotalFees").val();
|
|
|
- //安装
|
|
|
- var inf = $("#installFees").val();
|
|
|
- if(inf != ''&& af !=''){
|
|
|
- var hf = parseInt(af)-parseInt(inf);
|
|
|
- var rate = (Math.round(parseInt(inf) / parseInt(af) * 100) / 100 * 100).toFixed(2);
|
|
|
- $("#installPercent").val(rate);
|
|
|
- $("#buildingFees").val(hf);
|
|
|
- bf = hf;
|
|
|
- var bRate = (Math.round(parseInt(hf) / parseInt(af) * 100) / 100 * 100).toFixed(2);
|
|
|
- $("#buildingPercent").val(bRate);
|
|
|
- }
|
|
|
- if(inf == ''|| af ==''){
|
|
|
- $("#installPercent").val("");
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- function getBuildingFee() {
|
|
|
- var af = $("#estimateTotalFees").val();
|
|
|
- //土建
|
|
|
- var bf = $("#buildingFees").val();
|
|
|
- if(bf != ''&& af !=''){
|
|
|
- var hf = parseInt(af)-parseInt(bf);
|
|
|
- var rate = (Math.round(parseInt(bf) / parseInt(af) * 100) / 100 * 100).toFixed(2);
|
|
|
- $("#buildingPercent").val(rate);
|
|
|
- $("#installFees").val(hf);
|
|
|
- inf = hf;
|
|
|
- var inRate = (Math.round(parseInt(hf) / parseInt(af) * 100) / 100 * 100).toFixed(2);
|
|
|
- $("#installPercent").val(inRate);
|
|
|
- }
|
|
|
- if(bf == ''|| af ==''){
|
|
|
- $("#buildingPercent").val("");
|
|
|
- }
|
|
|
- }
|
|
|
function reProjectName(obj) {
|
|
|
var name=$(obj).val()
|
|
|
var proName='${ruralProjectRecords.projectName}'
|
|
@@ -1197,7 +1149,7 @@
|
|
|
</div>
|
|
|
<div class="layui-item layui-col-sm6 lw7" style="display: none">
|
|
|
<div class="layui-input-block">
|
|
|
- <form:input path="companyType" htmlEscape="false" readonly="true" class="form-control layui-input" value="${ruralProjectRecords.companyType}"/>
|
|
|
+ <form:input path="companyType" htmlEscape="false" readonly="true" class="form-control judgment layui-input" value="${ruralProjectRecords.companyType}"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<%--<div class="layui-item layui-col-sm6 lw7">
|
|
@@ -1314,13 +1266,13 @@
|
|
|
<div class="layui-item layui-col-sm6 lw7 with-textarea">
|
|
|
<label class="layui-form-label">工程概况:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <form:textarea placeholder="请输入工程概况" path="projectDesc" htmlEscape="false" rows="4" maxlength="255" class="form-control "/>
|
|
|
+ <form:textarea placeholder="请输入工程概况" path="projectDesc" htmlEscape="false" rows="4" maxlength="255" class="form-control judgment"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-item layui-col-sm6 lw7 with-textarea">
|
|
|
<label class="layui-form-label ">备注:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <form:textarea placeholder="请输入备注" path="remarks" htmlEscape="false" rows="4" maxlength="255" class="form-control "/>
|
|
|
+ <form:textarea placeholder="请输入备注" path="remarks" htmlEscape="false" rows="4" maxlength="255" class="form-control judgment"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1367,17 +1319,17 @@
|
|
|
<input id="workClientLinkmanList{{idx}}_delFlag" name="workClientLinkmanList[{{idx}}].delFlag" type="hidden" value="0"/>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_clientName" name="workClientLinkmanList[{{idx}}].clientId.name" type="text" value="{{row.clientId.name}}" class="form-control "/>
|
|
|
+ <input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_clientName" name="workClientLinkmanList[{{idx}}].clientId.name" type="text" value="{{row.clientId.name}}" class="form-control judgment"/>
|
|
|
</td>
|
|
|
<td>
|
|
|
<input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_name" name="workClientLinkmanList[{{idx}}].name" type="text" value="{{row.name}}" class="form-control judgment"/>
|
|
|
</td>
|
|
|
|
|
|
<td>
|
|
|
- <input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_linkPhone" name="workClientLinkmanList[{{idx}}].linkPhone" type="text" value="{{row.linkPhone}}" class="form-control isTel"/>
|
|
|
+ <input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_linkPhone" name="workClientLinkmanList[{{idx}}].linkPhone" type="text" value="{{row.linkPhone}}" class="form-control judgment isTel"/>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_linkMobile" name="workClientLinkmanList[{{idx}}].linkMobile" type="text" value="{{row.linkMobile}}" class="form-control isPhone"/>
|
|
|
+ <input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_linkMobile" name="workClientLinkmanList[{{idx}}].linkMobile" type="text" value="{{row.linkMobile}}" class="form-control judgment isPhone"/>
|
|
|
</td>
|
|
|
<td class="text-center op-td" >
|
|
|
{{#delBtn}}<span class="op-btn op-btn-delete" onclick="delEntrustRow(this, '#workClientLinkmanList{{idx}}')" title="删除"><i class="glyphicon glyphicon-remove"></i> 删除</span>{{/delBtn}}
|
|
@@ -1437,17 +1389,17 @@
|
|
|
<input id="workConstructionLinkmanList{{idx}}_delFlag" name="workConstructionLinkmanList[{{idx}}].delFlag" type="hidden" value="0"/>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_clientName" name="workConstructionLinkmanList[{{idx}}].clientId.name" type="text" value="{{row.clientId.name}}" class="form-control "/>
|
|
|
+ <input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_clientName" name="workConstructionLinkmanList[{{idx}}].clientId.name" type="text" value="{{row.clientId.name}}" class="form-control judgment"/>
|
|
|
</td>
|
|
|
<td>
|
|
|
<input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_name" name="workConstructionLinkmanList[{{idx}}].name" type="text" value="{{row.name}}" class="form-control judgment"/>
|
|
|
</td>
|
|
|
|
|
|
<td>
|
|
|
- <input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_linkPhone" name="workConstructionLinkmanList[{{idx}}].linkPhone" type="text" value="{{row.linkPhone}}" class="form-control isTel"/>
|
|
|
+ <input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_linkPhone" name="workConstructionLinkmanList[{{idx}}].linkPhone" type="text" value="{{row.linkPhone}}" class="form-control judgment isTel"/>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_linkMobile" name="workConstructionLinkmanList[{{idx}}].linkMobile" type="text" value="{{row.linkMobile}}" class="form-control isPhone"/>
|
|
|
+ <input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_linkMobile" name="workConstructionLinkmanList[{{idx}}].linkMobile" type="text" value="{{row.linkMobile}}" class="form-control judgment isPhone"/>
|
|
|
</td>
|
|
|
<td class="text-center" width="10">
|
|
|
{{#delBtn}}<span class="op-btn op-btn-delete" onclick="delRow(this, '#workConstructionLinkmanList{{idx}}')" title="删除"><i class="fa fa-trash"></i> 删除</span>{{/delBtn}}
|