|
@@ -1036,6 +1036,13 @@
|
|
obj.value = obj.value.replace(".","$#$").replace(/\./g,"").replace("$#$",".");
|
|
obj.value = obj.value.replace(".","$#$").replace(/\./g,"").replace("$#$",".");
|
|
obj.value = obj.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3'); //只能输入两个小数
|
|
obj.value = obj.value.replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3'); //只能输入两个小数
|
|
}
|
|
}
|
|
|
|
+ function onblurNum(obj){
|
|
|
|
+ if(undefined == obj.value || null == obj.value || '' == obj.value){
|
|
|
|
+ obj.value = 0;
|
|
|
|
+ }else{
|
|
|
|
+ obj.value = parseFloat(obj.value);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
function numGCGN(obj){
|
|
function numGCGN(obj){
|
|
var GCGMValue = $("#GCGMValue").val();
|
|
var GCGMValue = $("#GCGMValue").val();
|
|
if(50 != GCGMValue){
|
|
if(50 != GCGMValue){
|
|
@@ -1199,7 +1206,7 @@
|
|
<div class="layui-item layui-col-sm6 lw6">
|
|
<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">
|
|
<div class="layui-input-block">
|
|
- <form:input path="ZiXunShouRu" placeholder="请输入造价咨询营业收入" htmlEscape="false" onkeyup="num(this)" onchange="zxChange()" class="form-control judgment layui-input"/>
|
|
|
|
|
|
+ <form:input path="ZiXunShouRu" placeholder="请输入造价咨询营业收入" htmlEscape="false" onblur="onblurNum(this)" onkeyup="num(this)" onchange="zxChange()" class="form-control number judgment layui-input"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|