|
@@ -5,6 +5,7 @@
|
|
<title>项目管理</title>
|
|
<title>项目管理</title>
|
|
<meta name="decorator" content="default"/>
|
|
<meta name="decorator" content="default"/>
|
|
<script type="text/javascript" src="${ctxStatic}/helloweba_editable-select/jquery.editable-select.min.js"></script>
|
|
<script type="text/javascript" src="${ctxStatic}/helloweba_editable-select/jquery.editable-select.min.js"></script>
|
|
|
|
+ <script type="text/javascript" src="${ctxStatic}/static/iCheck/icheck.min.js"></script>
|
|
<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"/>
|
|
<style>
|
|
<style>
|
|
#projectDesc-error{
|
|
#projectDesc-error{
|
|
@@ -66,6 +67,15 @@
|
|
});
|
|
});
|
|
$('#scaleUnit').val("${projectRecords.scaleUnit}")
|
|
$('#scaleUnit').val("${projectRecords.scaleUnit}")
|
|
|
|
|
|
|
|
+ $("input[name='ext']").on('ifChecked',function(event){
|
|
|
|
+ var radioVal = $(this).val();
|
|
|
|
+ if(radioVal == 0){
|
|
|
|
+ $("#divv").show();
|
|
|
|
+ }else{
|
|
|
|
+ $("#divv").hide();
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+
|
|
});
|
|
});
|
|
|
|
|
|
function setContractValue(obj){
|
|
function setContractValue(obj){
|
|
@@ -211,37 +221,45 @@
|
|
|
|
|
|
<div class="form-group layui-row first">
|
|
<div class="form-group layui-row first">
|
|
<div class="form-group-label"><h2>项目合同信息</h2></div>
|
|
<div class="form-group-label"><h2>项目合同信息</h2></div>
|
|
- <div class="layui-item layui-col-sm12 lw7">
|
|
|
|
- <label class="layui-form-label"><span class="require-item">*</span>选择合同:</label>
|
|
|
|
- <div class="layui-input-block with-icon">
|
|
|
|
- <sys:gridselectContract url="${ctx}/project/projectRecords/selectcontract" type="" isTotal="" id="contractId" name="workContractInfo.id" value="${projectRecords.workContractInfo.id}" title="选择合同" labelName="workContractInfo.name"
|
|
|
|
- labelValue="${projectRecords.workContractInfo.name}" cssClass="form-control required layui-input" fieldLabels="合同名称" fieldKeys="name" searchLabel="合同名称" searchKey="name" ></sys:gridselectContract>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
- <label class="layui-form-label">合同名称:</label>
|
|
|
|
- <div class="layui-input-block">
|
|
|
|
- <input htmlEscape="false" readonly="true" id="contractName" class="form-control layui-input" value="${projectRecords.workContractInfo.name}"/>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
- <label class="layui-form-label double-line">合同金额(元):</label>
|
|
|
|
- <div class="layui-input-block">
|
|
|
|
- <input htmlEscape="false" readonly="true" id="contractPrice" class="form-control layui-input" value="${projectRecords.workContractInfo.contractPrice}" onchange="formatNum(this);"/>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
- <label class="layui-form-label">主委托方:</label>
|
|
|
|
- <div class="layui-input-block">
|
|
|
|
- <input htmlEscape="false" readonly="true" id="contractClientName" name="workContractInfo.client.name" class="form-control layui-input" value="${projectRecords.workContractInfo.client.name}"/>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
- <label class="layui-form-label">工程分类:</label>
|
|
|
|
- <div class="layui-input-block">
|
|
|
|
- <input htmlEscape="false" readonly="true" id="constructionProjectType" class="form-control layui-input" value="${projectRecords.workContractInfo.constructionProjectTypeStr}"/>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input type="radio" class="i-checks" name="ext" checked id="ext" value="0">
|
|
|
|
+ <label for="ext">有合同</label>
|
|
|
|
+ <input type="radio" class="i-checks" name="ext" id="ext1" value="1">
|
|
|
|
+ <label for="ext1">无合同</label>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div id="divv">
|
|
|
|
+ <div class="layui-item layui-col-sm12 lw7" id="d1">
|
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>选择合同:</label>
|
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
|
+ <sys:gridselectContract url="${ctx}/project/projectRecords/selectcontract" type="" isTotal="" id="contractId" name="workContractInfo.id" value="${projectRecords.workContractInfo.id}" title="选择合同" labelName="workContractInfo.name"
|
|
|
|
+ labelValue="${projectRecords.workContractInfo.name}" cssClass="form-control required layui-input" fieldLabels="合同名称" fieldKeys="name" searchLabel="合同名称" searchKey="name" ></sys:gridselectContract>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">合同名称:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" id="contractName" class="form-control layui-input" value="${projectRecords.workContractInfo.name}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label double-line">合同金额(元):</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" id="contractPrice" class="form-control layui-input" value="${projectRecords.workContractInfo.contractPrice}" onchange="formatNum(this);"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">主委托方:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" id="contractClientName" name="workContractInfo.client.name" class="form-control layui-input" value="${projectRecords.workContractInfo.client.name}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
|
+ <label class="layui-form-label">工程分类:</label>
|
|
|
|
+ <div class="layui-input-block">
|
|
|
|
+ <input htmlEscape="false" readonly="true" id="constructionProjectType" class="form-control layui-input" value="${projectRecords.workContractInfo.constructionProjectTypeStr}"/>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="form-group layui-row">
|
|
<div class="form-group layui-row">
|