|
@@ -9,6 +9,7 @@
|
|
<link rel='stylesheet' type="text/css" href="${ctxStatic}/helloweba_editable-select/jquery.editable-select.min.css"/>
|
|
<link rel='stylesheet' type="text/css" href="${ctxStatic}/helloweba_editable-select/jquery.editable-select.min.css"/>
|
|
<script type="text/javascript" src="${ctxStatic}/layui/layuidown.js"></script>
|
|
<script type="text/javascript" src="${ctxStatic}/layui/layuidown.js"></script>
|
|
<link rel='stylesheet' type="text/css" href="${ctxStatic}/layui/layuidown.css"/>
|
|
<link rel='stylesheet' type="text/css" href="${ctxStatic}/layui/layuidown.css"/>
|
|
|
|
+ <script src="${ctxStatic}/common/html/js/script.js"></script>
|
|
<style>
|
|
<style>
|
|
#projectDesc-error{
|
|
#projectDesc-error{
|
|
left:0;
|
|
left:0;
|
|
@@ -43,6 +44,10 @@
|
|
var clientCount = 0;
|
|
var clientCount = 0;
|
|
function doSubmit(i){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
|
|
function doSubmit(i){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
|
|
if(validateForm.form()){
|
|
if(validateForm.form()){
|
|
|
|
+ var flags=judgment();
|
|
|
|
+ if (!flags){
|
|
|
|
+ return flags;
|
|
|
|
+ }
|
|
//咨询标的额
|
|
//咨询标的额
|
|
var ZiXunBDE = $("#ZiXunBDE").val();
|
|
var ZiXunBDE = $("#ZiXunBDE").val();
|
|
var GCGMValue = $("#GCGMValue").val();
|
|
var GCGMValue = $("#GCGMValue").val();
|
|
@@ -65,9 +70,11 @@
|
|
//审定价
|
|
//审定价
|
|
if(!$("#ShenDingJia").is(":hidden")){
|
|
if(!$("#ShenDingJia").is(":hidden")){
|
|
var ShenDingJia = $("#ShenDingJia").val();
|
|
var ShenDingJia = $("#ShenDingJia").val();
|
|
- if(parseFloat(ZiXunShouRu) >= parseFloat(ShenDingJia)){
|
|
|
|
- parent.layer.msg("咨询营业收入金额应小于审定价!", {icon: 5});
|
|
|
|
- return false;
|
|
|
|
|
|
+ if(undefined != ShenDingJia && null != ShenDingJia && "" != ShenDingJia){
|
|
|
|
+ if(parseFloat(ZiXunShouRu) >= parseFloat(ShenDingJia)){
|
|
|
|
+ parent.layer.msg("咨询营业收入金额应小于审定价!", {icon: 5});
|
|
|
|
+ return false;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//审核增减率
|
|
//审核增减率
|
|
@@ -430,12 +437,28 @@
|
|
var projectType = $("#ProjectType").val()
|
|
var projectType = $("#ProjectType").val()
|
|
if (projectType == "10") {
|
|
if (projectType == "10") {
|
|
$("#ptDiv").show();
|
|
$("#ptDiv").show();
|
|
|
|
+ $("#heTongJiaDiv").find("label").eq(0).html("<span class=\"require-item\">*</span>合同价(万元):")
|
|
|
|
+ $("#HeTongJia").attr("class","form-control layui-input number judgment")
|
|
|
|
+ $("#songShenJiaDiv").find("label").eq(0).html("<span class=\"require-item\">*</span>送审价(万元):")
|
|
|
|
+ $("#SongShenJia").attr("class","form-control layui-input number judgment")
|
|
|
|
+ $("#shenDingJiaDiv").find("label").eq(0).html("<span class=\"require-item\">*</span>审定价(万元):")
|
|
|
|
+ $("#ShenDingJia").attr("class","form-control layui-input number judgment")
|
|
$(".overallProcessDiv").hide();
|
|
$(".overallProcessDiv").hide();
|
|
}else if(projectType == "19"){
|
|
}else if(projectType == "19"){
|
|
|
|
+ $("#heTongJiaDiv").find("label").eq(0).html("合同价(万元):")
|
|
|
|
+ $("#HeTongJia").attr("class","form-control layui-input number")
|
|
|
|
+ $("#songShenJiaDiv").find("label").eq(0).html("送审价(万元):")
|
|
|
|
+ $("#SongShenJia").attr("class","form-control layui-input number")
|
|
|
|
+ $("#shenDingJiaDiv").find("label").eq(0).html("审定价(万元):")
|
|
|
|
+ $("#ShenDingJia").attr("class","form-control layui-input number")
|
|
$(".overallProcessDiv").show();
|
|
$(".overallProcessDiv").show();
|
|
- $("#ptDiv").hide();
|
|
|
|
- }else{
|
|
|
|
- $("#ptDiv").hide();
|
|
|
|
|
|
+ }else {
|
|
|
|
+ $("#heTongJiaDiv").find("label").eq(0).html("合同价(万元):")
|
|
|
|
+ $("#HeTongJia").attr("class","form-control layui-input number")
|
|
|
|
+ $("#songShenJiaDiv").find("label").eq(0).html("送审价(万元):")
|
|
|
|
+ $("#SongShenJia").attr("class","form-control layui-input number")
|
|
|
|
+ $("#shenDingJiaDiv").find("label").eq(0).html("审定价(万元):")
|
|
|
|
+ $("#ShenDingJia").attr("class","form-control layui-input number")
|
|
$(".overallProcessDiv").hide();
|
|
$(".overallProcessDiv").hide();
|
|
}
|
|
}
|
|
//有无合同监听器
|
|
//有无合同监听器
|
|
@@ -599,12 +622,28 @@
|
|
layui.form.on('select(ProjectType)',function(data) {
|
|
layui.form.on('select(ProjectType)',function(data) {
|
|
if (data.value == "10") {
|
|
if (data.value == "10") {
|
|
$("#ptDiv").show();
|
|
$("#ptDiv").show();
|
|
|
|
+ $("#heTongJiaDiv").find("label").eq(0).html("<span class=\"require-item\">*</span>合同价(万元):")
|
|
|
|
+ $("#HeTongJia").attr("class","form-control layui-input number judgment")
|
|
|
|
+ $("#songShenJiaDiv").find("label").eq(0).html("<span class=\"require-item\">*</span>送审价(万元):")
|
|
|
|
+ $("#SongShenJia").attr("class","form-control layui-input number judgment")
|
|
|
|
+ $("#shenDingJiaDiv").find("label").eq(0).html("<span class=\"require-item\">*</span>审定价(万元):")
|
|
|
|
+ $("#ShenDingJia").attr("class","form-control layui-input number judgment")
|
|
$(".overallProcessDiv").hide();
|
|
$(".overallProcessDiv").hide();
|
|
}else if(data.value == "19"){
|
|
}else if(data.value == "19"){
|
|
|
|
+ $("#heTongJiaDiv").find("label").eq(0).html("合同价(万元):")
|
|
|
|
+ $("#HeTongJia").attr("class","form-control layui-input number")
|
|
|
|
+ $("#songShenJiaDiv").find("label").eq(0).html("送审价(万元):")
|
|
|
|
+ $("#SongShenJia").attr("class","form-control layui-input number")
|
|
|
|
+ $("#shenDingJiaDiv").find("label").eq(0).html("审定价(万元):")
|
|
|
|
+ $("#ShenDingJia").attr("class","form-control layui-input number")
|
|
$(".overallProcessDiv").show();
|
|
$(".overallProcessDiv").show();
|
|
- $("#ptDiv").hide();
|
|
|
|
- }else{
|
|
|
|
- $("#ptDiv").hide();
|
|
|
|
|
|
+ }else {
|
|
|
|
+ $("#heTongJiaDiv").find("label").eq(0).html("合同价(万元):")
|
|
|
|
+ $("#HeTongJia").attr("class","form-control layui-input number")
|
|
|
|
+ $("#songShenJiaDiv").find("label").eq(0).html("送审价(万元):")
|
|
|
|
+ $("#SongShenJia").attr("class","form-control layui-input number")
|
|
|
|
+ $("#shenDingJiaDiv").find("label").eq(0).html("审定价(万元):")
|
|
|
|
+ $("#ShenDingJia").attr("class","form-control layui-input number")
|
|
$(".overallProcessDiv").hide();
|
|
$(".overallProcessDiv").hide();
|
|
}
|
|
}
|
|
layui.form.render("select");
|
|
layui.form.render("select");
|
|
@@ -1340,36 +1379,34 @@
|
|
<span style="color: red">注:咨询标的额是指咨询项目编审后的最终造价,其中工程结算项目填审定价,标底编制填招标控制价,工程造价全过程管理填工程投资总额或审定价</span>
|
|
<span style="color: red">注:咨询标的额是指咨询项目编审后的最终造价,其中工程结算项目填审定价,标底编制填招标控制价,工程造价全过程管理填工程投资总额或审定价</span>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <div id="ptDiv">
|
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
- <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 required layui-input number"/>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6" id="heTongJiaDiv">
|
|
|
|
+ <label class="layui-form-label double-line">合同价(万元):</label>
|
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
|
+ <form:input path="HeTongJia" placeholder="请输入合同价" htmlEscape="false" onkeyup="num(this)" class="form-control layui-input number"/>
|
|
</div>
|
|
</div>
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
- <label class="layui-form-label double-line"><span class="require-item">*</span>送审价(万元):</label>
|
|
|
|
- <div class="layui-input-block with-icon">
|
|
|
|
- <form:input path="SongShenJia" placeholder="请输入送审价" htmlEscape="false" onkeyup="num(this)" class="form-control required layui-input number" onchange="JingHeJianValue()"/>
|
|
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6" id="songShenJiaDiv">
|
|
|
|
+ <label class="layui-form-label double-line">送审价(万元):</label>
|
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
|
+ <form:input path="SongShenJia" placeholder="请输入送审价" htmlEscape="false" onkeyup="num(this)" class="form-control layui-input number" onchange="JingHeJianValue()"/>
|
|
</div>
|
|
</div>
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
- <label class="layui-form-label double-line"><span class="require-item">*</span>审定价(万元):</label>
|
|
|
|
- <div class="layui-input-block with-icon">
|
|
|
|
- <form:input path="ShenDingJia" placeholder="请输入审定价" htmlEscape="false" onkeyup="num(this)" class="form-control required layui-input number" onchange="JingHeJianValue()"/>
|
|
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6" id="shenDingJiaDiv">
|
|
|
|
+ <label class="layui-form-label double-line">审定价(万元):</label>
|
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
|
+ <form:input path="ShenDingJia" placeholder="请输入审定价" htmlEscape="false" onkeyup="num(this)" class="form-control layui-input number" onchange="JingHeJianValue()"/>
|
|
</div>
|
|
</div>
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
- <label class="layui-form-label double-line">审核增减额(万元):</label>
|
|
|
|
- <div class="layui-input-block with-icon">
|
|
|
|
- <form:input path="JingHeJianE" htmlEscape="false" class="form-control layui-input number" readonly="true"/>
|
|
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label double-line">审核增减额(万元):</label>
|
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
|
+ <form:input path="JingHeJianE" htmlEscape="false" class="form-control layui-input number" readonly="true"/>
|
|
</div>
|
|
</div>
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
- <label class="layui-form-label double-line">审核增减率(%):</label>
|
|
|
|
- <div class="layui-input-block with-icon">
|
|
|
|
- <form:input path="JingHeJianLv" htmlEscape="false" class="form-control layui-input number" readonly="true"/>
|
|
|
|
- </div>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
|
+ <label class="layui-form-label double-line">审核增减率(%):</label>
|
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
|
+ <form:input path="JingHeJianLv" htmlEscape="false" class="form-control layui-input number" readonly="true"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|