|
@@ -106,15 +106,22 @@
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
|
+ var totalWcyysrbl = 0;
|
|
|
for (var i = 1;i<=99;i++){
|
|
|
var wcyysrbl = $("#reportedConsultantList"+i+"_wcyysrbl").val();
|
|
|
if(wcyysrbl!=undefined && wcyysrbl != null && wcyysrbl !=''){
|
|
|
+ totalWcyysrbl = parseFloat(totalWcyysrbl) + parseFloat(wcyysrbl)*100;
|
|
|
if(parseFloat(wcyysrbl)>100 || parseFloat(wcyysrbl)<=0){
|
|
|
parent.layer.msg("咨询员收入比例不得大于100或者小于等于0!", {icon: 5});
|
|
|
return false;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ totalWcyysrbl = totalWcyysrbl/100;
|
|
|
+ if(totalWcyysrbl != 100){
|
|
|
+ parent.layer.msg("咨询员收入比例总和必须为100%!您当前收入比例总和为:"+ totalWcyysrbl+ "%", {icon: 5});
|
|
|
+ return false;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
var team = $("input[name='s1']:checked").val();
|
|
@@ -1350,7 +1357,7 @@
|
|
|
|
|
|
<div id="ptDiv">
|
|
|
<div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label double-line"><span class="require-item">*</span>合同价(元):</label>
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>合同价(万元):</label>
|
|
|
<div class="layui-input-block with-icon">
|
|
|
<form:input path="HeTongJia" placeholder="请输入合同价" htmlEscape="false" onkeyup="num(this)" class="form-control judgment layui-input number"/>
|
|
|
</div>
|