|
@@ -4,6 +4,8 @@
|
|
|
<head>
|
|
|
<title>合同管理管理</title>
|
|
|
<meta name="decorator" content="default"/>
|
|
|
+ <script type="text/javascript" src="${ctxStatic}/layui/layui.js"></script>
|
|
|
+ <link rel='stylesheet' type="text/css" href="${ctxStatic}/layui/css/layui.css"/>
|
|
|
<%--<script src="${ctxStatic}/layer-v2.3/laydate/laydate.js"></script>--%>
|
|
|
<style>
|
|
|
label.error{
|
|
@@ -16,8 +18,12 @@
|
|
|
var count = 0;
|
|
|
function doSubmit(obj){
|
|
|
$("#contractPrice").val($("#contractPrice").val().replace(/\,/g, ""));
|
|
|
- $("#investmentAmount").val($("#investmentAmount").val().replace(/\,/g, ""));
|
|
|
+ //$("#investmentAmount").val($("#investmentAmount").val().replace(/\,/g, ""));
|
|
|
// 回调函数,在编辑和保存动作时,供openDialog调用提交表单。
|
|
|
+ if($("#contractTypeDoc").val() == ""){
|
|
|
+ parent.layer.msg("请选择合同类型!", {icon: 5});
|
|
|
+ return false;
|
|
|
+ }
|
|
|
if(validateForm.form()){
|
|
|
if(obj == 1){
|
|
|
//送审
|
|
@@ -45,6 +51,13 @@
|
|
|
return false;
|
|
|
}
|
|
|
$(document).ready(function() {
|
|
|
+ var chargeCriterionH = $("#chargeCriterionH").val();
|
|
|
+ if(chargeCriterionH.indexOf("4")!=-1){
|
|
|
+ document.getElementById("otherDetails").readOnly=false
|
|
|
+ }else{
|
|
|
+ document.getElementById("otherDetails").readOnly=true
|
|
|
+ $("#otherDetails").val("");
|
|
|
+ }
|
|
|
if($("#createDate").val()==null || $("#createDate").val()==''){
|
|
|
$("#createDate").val(getNowFormatDate());
|
|
|
}
|
|
@@ -161,10 +174,10 @@
|
|
|
|
|
|
var clientId = $("#clientId").val();
|
|
|
console.log(id.val()+"-----------"+clientId);
|
|
|
- if(id.val() == clientId){
|
|
|
+ /*if(id.val() == clientId){
|
|
|
top.layer.msg("委托方不允许删除",{icon:2});
|
|
|
return;
|
|
|
- }
|
|
|
+ }*/
|
|
|
if (id.val() == "") {
|
|
|
$(obj).parent().parent().remove();
|
|
|
} else if (delFlag.val() == "0") {
|
|
@@ -428,7 +441,7 @@
|
|
|
//自动计算出结果并填充在相应的输入框中
|
|
|
var size = $("#workClientInfoList tr").length+count;
|
|
|
if(size == 0){
|
|
|
- addRow('#workClientInfoList', workClientInfoListRowIdx, workClientInfoListTpl);workClientInfoListRowIdx = workClientInfoListRowIdx + 1;
|
|
|
+ /*addRow('#workClientInfoList', workClientInfoListRowIdx, workClientInfoListTpl);workClientInfoListRowIdx = workClientInfoListRowIdx + 1;
|
|
|
console.log("---------"+data.companyType+"---------"+data.companyIndustry+"---------"+data.areaName);
|
|
|
console.log("---------"+workClientInfoListRowIdx+"---------"+workClientInfoListTpl);
|
|
|
var row = workClientInfoListRowIdx - 1 ;
|
|
@@ -436,7 +449,7 @@
|
|
|
$("#"+"workClientInfoList"+row+"_name").val(d.name);
|
|
|
$("#"+"workClientInfoList"+row+"_companyType").val(d.companyType);
|
|
|
$("#"+"workClientInfoList"+row+"_companyIndustry").val(d.companyIndustry);
|
|
|
- $("#"+"workClientInfoList"+row+"_area").val(d.areaName);
|
|
|
+ $("#"+"workClientInfoList"+row+"_area").val(d.areaName);*/
|
|
|
}else {
|
|
|
var num = 'alone';
|
|
|
for (var i = 0; i < size; i++) {
|
|
@@ -563,11 +576,12 @@
|
|
|
<body>
|
|
|
<div class="single-form">
|
|
|
<div class="container">
|
|
|
- <form:form id="inputForm" modelAttribute="workContractInfo" enctype="multipart/form-data" action ="${ctx}/workcontractinfo/workContractInfo/save" method="post" class="form-horizontal">
|
|
|
+ <form:form id="inputForm" modelAttribute="workContractInfo" enctype="multipart/form-data" action ="${ctx}/workcontractinfo/workContractInfo/save" method="post" class="form-horizontal layui-form">
|
|
|
<form:hidden path="id"/>
|
|
|
<%--创建人--%>
|
|
|
<form:hidden path="createBy.name" htmlEscape="false" readonly="true" value="${fns:getUser().name}" class="form-control "/>
|
|
|
<input type="hidden" id="ext" name="ext" value="1">
|
|
|
+ <input type="hidden" id="chargeCriterionH" value="${workContractInfo.chargeCriterion}">
|
|
|
<div class="tabs-container">
|
|
|
<%-- <div class="layui-tab" id="tabDiv">--%>
|
|
|
<%-- <ul class="layui-tab-title" >--%>
|
|
@@ -589,31 +603,14 @@
|
|
|
</div>
|
|
|
</div>--%>
|
|
|
<div class="layui-item layui-col-sm6">
|
|
|
- <label class="layui-form-label">合同编号:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <div class="input-group">
|
|
|
- <form:input path="contractNum" id="contractNum" htmlEscape="false" readonly="true" class="form-control layui-input"/>
|
|
|
- <span class="input-group-btn">
|
|
|
- <label class="form-status"><c:choose><c:when test="${ empty workContractInfo.contractState}">新添</c:when><c:otherwise>${fns:getDictLabel(workContractInfo.contractState, 'audit_completion_state','')}</c:otherwise> </c:choose></label>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <%--<div class="layui-item layui-col-sm6" id="tr1">
|
|
|
- <label class="layui-form-label"><span class="require-item">*</span>投标项目:</label>
|
|
|
- <div class="layui-input-block with-icon">
|
|
|
- <input type="hidden" value="" id ="ids">
|
|
|
- <sys:gridselectcallprojectt url="${ctx}/workinvoice/workInvoice/selectprojectt" id="project" name="project.id" value="${workContractInfo.project.id}" title="选择投标项目" labelName="workContractInfo.project.projectName"
|
|
|
- labelValue="${workContractInfo.project.projectName}" cssClass="form-control required layui-input" fieldLabels="项目" fieldKeys="projectName" searchLabel="项目名称" searchKey="projectName" ></sys:gridselectcallprojectt>
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>客户名称:</label>
|
|
|
+ <div class="layui-input-block with-icon" style="margin-right:95px;">
|
|
|
+ <sys:gridselectclien1 url="${ctx}/workcontractinfo/workContractInfo/selectclientAhref" id="client" name="client.id" value="${workContractInfo.client.id}" title="选择客户" labelName="client.name"
|
|
|
+ labelValue="${workContractInfo.client.name}" cssClass="form-control layui-input required" fieldLabels="客户名称" fieldKeys="name" searchLabel="客户名称" searchKey="name" searchLabel1="联系人" searchKey1="workLinkName"></sys:gridselectclien1>
|
|
|
|
|
|
</div>
|
|
|
+ <a href="javascript:void(0)" onclick="openBill('新增客户管理', '${ctx}/workclientinfo/workClientInfo/form?param=2','90%','90%',false,'inputForm')" class="nav-btn nav-btn-add" style="margin-right: 0px;top:0px;right:16px;position: absolute;height:40px;line-height: 40px;"><i class="fa fa-plus"></i> 新增</a>
|
|
|
</div>
|
|
|
- <div class="layui-item layui-col-sm6" id="tr2">
|
|
|
- <label class="layui-form-label">投标编号:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <form:input id ="pNumber" path="project.projectNumber" htmlEscape="false" readonly="true" class="form-control layui-input"/>
|
|
|
- </div>
|
|
|
- </div>--%>
|
|
|
<div class="layui-item layui-col-sm6">
|
|
|
<label class="layui-form-label"><span class="require-item">*</span>合同名称:</label>
|
|
|
<div class="layui-input-block">
|
|
@@ -621,52 +618,15 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-item layui-col-sm6">
|
|
|
- <label class="layui-form-label">总合同名称:</label>
|
|
|
- <div class="layui-input-block with-icon" style="margin-right:95px;">
|
|
|
- <c:choose>
|
|
|
- <c:when test="${workContractInfo.contractState == 4}">
|
|
|
- <form:input path="totalContractName" htmlEscape="false" readonly="true" class="form-control layui-input"/>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <sys:gridselectContract url="${ctx}/workcontractinfo/workContractInfo/selectcontract" type="" isTotal="1" id="totalContractId" name="totalContractId" value="${workContractInfo.totalContractId}" title="选择合同" labelName="workContractInfo.totalContractName"
|
|
|
- labelValue="${workContractInfo.totalContractName}" cssClass="form-control layui-input" fieldLabels="合同名称" fieldKeys="name" searchLabel="合同名称" searchKey="name" ></sys:gridselectContract>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </div>
|
|
|
- <a href="javascript:void(0)" onclick="deleteContract()" class="nav-btn nav-btn-add" style="margin-right: 0px;top:0px;right:16px;position: absolute;height:40px;line-height: 40px;"><i class="glyphicon glyphicon-share-alt"></i> 清空</a>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6">
|
|
|
- <label class="layui-form-label"><span class="require-item">*</span>所属部门:</label>
|
|
|
- <div class="layui-input-block with-icon">
|
|
|
- <sys:treeselect id="chargeCompany" name="chargeCompany" value="${workContractInfo.chargeCompany}" labelName="chargeCompanyName" labelValue="${workContractInfo.chargeCompanyName}"
|
|
|
- title="部门" url="/sys/office/treeDataAll?type=2" cssClass="form-control required layui-input" allowClear="true" notAllowSelectParent="true"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6">
|
|
|
- <label class="layui-form-label double-line"><span class="require-item">*</span>合 同 金 额 (元)预计金额:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <form:input path="contractPrice" htmlEscape="false" pattern="#.00" class="form-control required number layui-input"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6">
|
|
|
<label class="layui-form-label"><span class="require-item">*</span>签订日期:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <input class="laydate-icondate layui-input form-control layer-date laydate-icon required" id="contractDate" name="contractDate" value="<fmt:formatDate value="${workContractInfo.contractDate}" pattern="yyyy-MM-dd"/>">
|
|
|
+ <input class="laydate-icondate layui-input form-control layer-date laydate-icon required" readonly="readonly" id="contractDate" name="contractDate" value="<fmt:formatDate value="${workContractInfo.contractDate}" pattern="yyyy-MM-dd"/>">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-item layui-col-sm6">
|
|
|
- <label class="layui-form-label"><span class="require-item">*</span>委托方:</label>
|
|
|
- <div class="layui-input-block with-icon" style="margin-right:95px;">
|
|
|
- <sys:gridselectclien1 url="${ctx}/workcontractinfo/workContractInfo/selectclientAhref" id="client" name="client.id" value="${workContractInfo.client.id}" title="选择客户" labelName="client.name"
|
|
|
- labelValue="${workContractInfo.client.name}" cssClass="form-control layui-input required" fieldLabels="客户名称" fieldKeys="name" searchLabel="客户名称" searchKey="name" searchLabel1="联系人" searchKey1="workLinkName"></sys:gridselectclien1>
|
|
|
-
|
|
|
- </div>
|
|
|
- <a href="javascript:void(0)" onclick="openBill('新增客户管理', '${ctx}/workclientinfo/workClientInfo/form?param=2','90%','90%',false,'inputForm')" class="nav-btn nav-btn-add" style="margin-right: 0px;top:0px;right:16px;position: absolute;height:40px;line-height: 40px;"><i class="fa fa-plus"></i> 新增</a>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6">
|
|
|
<label class="layui-form-label">合同生效日期:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <input class="laydate-icondate form-control layui-input layer-date laydate-icon" id="effectiveDate" name="effectiveDate" value="<fmt:formatDate value="${workContractInfo.effectiveDate}" pattern="yyyy-MM-dd"/>">
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date laydate-icon" readonly="readonly" id="effectiveDate" name="effectiveDate" value="<fmt:formatDate value="${workContractInfo.effectiveDate}" pattern="yyyy-MM-dd"/>">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-item layui-col-sm6">
|
|
@@ -675,62 +635,39 @@
|
|
|
<input class="laydate-icondate form-control layui-input layer-date laydate-icon" id="closingDate" name="closingDate" value="<fmt:formatDate value="${workContractInfo.closingDate}" pattern="yyyy-MM-dd"/>">
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="layui-item layui-col-sm6">
|
|
|
- <label class="layui-form-label double-line"><span class="require-item">*</span>工程投资额(万元):</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <form:input path="investmentAmount" htmlEscape="false" pattern="#.00" class="form-control number required layui-input"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6">
|
|
|
- <label class="layui-form-label">对方合同编号:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <form:input path="anotherContractNum" htmlEscape="false" class="form-control layui-input"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
<div class="layui-item layui-col-sm6 ">
|
|
|
- <label class="layui-form-label"><span class="require-item">*</span>工程分类:</label>
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>合同类型:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <form:select path="contractType" cssClass="form-control required simple-select">
|
|
|
+ <form:select path="contractTypeDoc" cssClass="form-control required simple-select">
|
|
|
<form:option value="" label=""/>
|
|
|
- <form:options items="${fns:getMainDictList('contract_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
+ <form:options items="${fns:getMainDictList('contract_info_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
</form:select>
|
|
|
- <style>
|
|
|
- #contractType{
|
|
|
- height:40px;
|
|
|
- line-height: 40px;
|
|
|
- -moz-box-sizing: border-box;
|
|
|
- -webkit-box-sizing: border-box;
|
|
|
- box-sizing: border-box;
|
|
|
- }
|
|
|
- </style>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="layui-item layui-col-sm6 ">
|
|
|
- <label class="layui-form-label">归档状态:</label>
|
|
|
+ <div class="layui-item layui-col-sm6">
|
|
|
+ <label class="layui-form-label double-line"><span class="require-item">*</span>合同金额 (元)预计金额:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <input htmlEscape="false" class="form-control layui-input" readonly="true" value="${fns:getDictLabel(workContractInfo.recordState, 'record_state','')}"/>
|
|
|
+ <form:input path="contractPrice" htmlEscape="false" pattern="#.00" class="form-control required number layui-input"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="layui-item layui-col-sm6 ">
|
|
|
- <label class="layui-form-label"><span class="require-item">*</span>合同类型:</label>
|
|
|
+ <div class="layui-item layui-col-sm6">
|
|
|
+ <label class="layui-form-label">对方合同编号:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <form:select path="contractTypeDoc" cssClass="form-control required simple-select">
|
|
|
- <form:option value="" label=""/>
|
|
|
- <form:options items="${fns:getMainDictList('contract_info_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
- </form:select>
|
|
|
+ <form:input path="anotherContractNum" htmlEscape="false" class="form-control layui-input"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="layui-item layui-col-sm6">
|
|
|
- <label class="layui-form-label">创建时间:</label>
|
|
|
+ <div class="layui-item layui-col-sm12">
|
|
|
+ <label class="layui-form-label">收费标准</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <input class="laydate-icondate form-control layui-input layer-date laydate-icon" id="createDate" name="createDate" value="<fmt:formatDate value="${workContractInfo.createDate}" pattern="yyyy-MM-dd"/>">
|
|
|
+ <form:checkboxes path="chargeCriterionList" lay-filter="chargeCriterionList" lay-skin="primary" itemLabel="label" itemValue="value" htmlEscape="false" items="${fns:getMainDictList('charge_criterion')}" />
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="layui-item layui-col-sm12 with-textarea">
|
|
|
- <label class="layui-form-label ">付款摘要:</label>
|
|
|
+
|
|
|
+ <div class="layui-item layui-col-sm12">
|
|
|
+ <label class="layui-form-label ">其他详情:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <form:textarea path="summaryPayment" id="summaryPayment" htmlEscape="false" maxlength="1000" rows="4" class="form-control"/>
|
|
|
+ <form:input path="otherDetails" readonly="true" htmlEscape="false" maxlength="255" class="form-control layui-input"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-item layui-col-sm12 with-textarea">
|
|
@@ -739,12 +676,6 @@
|
|
|
<form:textarea path="contractSpecial" htmlEscape="false" rows="4" maxlength="1000" class="form-control "/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <%--<div class="layui-item layui-col-sm12 with-textarea">
|
|
|
- <label class="layui-form-label ">合同类型说明:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <form:textarea path="contractTypeDoc" id="contractTypeDoc" htmlEscape="false" rows="4" maxlength="1000" class="form-control "/>
|
|
|
- </div>
|
|
|
- </div>--%>
|
|
|
<div class="layui-item layui-col-sm12 with-textarea">
|
|
|
<label class="layui-form-label ">备注:</label>
|
|
|
<div class="layui-input-block">
|
|
@@ -752,7 +683,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="form-group layui-row">
|
|
|
+ <%--<div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2><span class="require-item">*</span>委托方列表</h2></div>
|
|
|
<div class="layui-item nav-btns">
|
|
|
<a href="javascript:void(0)" onclick="openBill2('新增客户管理', '${ctx}/workclientinfo/workClientInfo/formType?param=1','90%','90%',false,'inputForm')" class="nav-btn nav-btn-add" ><i class="fa fa-plus"></i> 新增客户</a>
|
|
@@ -838,7 +769,7 @@
|
|
|
</script>
|
|
|
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>--%>
|
|
|
<div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2>合同附件信息</h2></div>
|
|
|
<div class="layui-item nav-btns">
|
|
@@ -906,201 +837,30 @@
|
|
|
</div>
|
|
|
<div class="form-group layui-row page-end"></div>
|
|
|
</div>
|
|
|
-<%-- <div id="tab-22" class="tab-pane">--%>
|
|
|
-<%-- <div class="form-group layui-row first lw14">--%>
|
|
|
-<%-- <div class="form-group-label"><h2>评审基础信息</h2></div>--%>
|
|
|
-<%-- <div class="layui-item layui-col-sm6">--%>
|
|
|
-<%-- <label class="layui-form-label"><span class="require-item">*</span>时间要求:</label>--%>
|
|
|
-<%-- <div class="layui-input-block">--%>
|
|
|
-<%-- <form:input id="timeRequirements" path="workContractReview.timeRequirements" htmlEscape="false" maxlength="64" class="form-control required layui-input"/>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="layui-item layui-col-sm6">--%>
|
|
|
-<%-- <label class="layui-form-label"><span class="require-item">*</span>特殊要求:</label>--%>
|
|
|
-<%-- <div class="layui-input-block">--%>
|
|
|
-<%-- <form:input id="specialRequirements" path="workContractReview.specialRequirements" htmlEscape="false" maxlength="64" class="form-control required layui-input"/>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="layui-item layui-col-sm6">--%>
|
|
|
-<%-- <label class="layui-form-label double-line"><span class="require-item">*</span>客户要求是否合法:</label>--%>
|
|
|
-<%-- <div class="layui-input-block">--%>
|
|
|
-<%-- <form:select path="workContractReview.isLegitimate" class="form-control simple-select required">--%>
|
|
|
-<%-- <form:option value="" label=""/>--%>
|
|
|
-<%-- <form:option value="1" label="是"/>--%>
|
|
|
-<%-- <form:option value="0" label="否"/>--%>
|
|
|
-<%-- </form:select>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="layui-item layui-col-sm6">--%>
|
|
|
-<%-- <label class="layui-form-label double-line"><span class="require-item">*</span>客户诚信度的初步判断:</label>--%>
|
|
|
-<%-- <div class="layui-input-block">--%>
|
|
|
-<%-- <form:select path="workContractReview.credibility" class="form-control simple-select required">--%>
|
|
|
-<%-- <form:option value="" label=""/>--%>
|
|
|
-<%-- <form:option value="1" label="低"/>--%>
|
|
|
-<%-- <form:option value="2" label="中"/>--%>
|
|
|
-<%-- <form:option value="0" label="高"/>--%>
|
|
|
-<%-- </form:select>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="layui-item layui-col-sm6">--%>
|
|
|
-<%-- <label class="layui-form-label"><span class="require-item">*</span>风险初步评价:</label>--%>
|
|
|
-<%-- <div class="layui-input-block">--%>
|
|
|
-<%-- <form:select path="workContractReview.preliminaryRiskAssessmen" class="form-control simple-select required">--%>
|
|
|
-<%-- <form:option value="" label=""/>--%>
|
|
|
-<%-- <form:option value="1" label="低"/>--%>
|
|
|
-<%-- <form:option value="0" label="高"/>--%>
|
|
|
-<%-- <form:option value="2" label="中"/>--%>
|
|
|
-<%-- </form:select>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="layui-item layui-col-sm6">--%>
|
|
|
-<%-- <label class="layui-form-label double-line"><span class="require-item">*</span>被服务对象所处行业环境:</label>--%>
|
|
|
-<%-- <div class="layui-input-block">--%>
|
|
|
-<%-- <form:select path="workContractReview.serviceObjectIndustry" class="form-control simple-select required">--%>
|
|
|
-<%-- <form:option value="" label=""/>--%>
|
|
|
-<%-- <form:option value="1" label="正常"/>--%>
|
|
|
-<%-- <form:option value="0" label="不正常"/>--%>
|
|
|
-<%-- </form:select>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="layui-item layui-col-sm6">--%>
|
|
|
-<%-- <label class="layui-form-label double-line"><span class="require-item">*</span>与服务有关的客户资料能否恰当获取:</label>--%>
|
|
|
-<%-- <div class="layui-input-block">--%>
|
|
|
-<%-- <form:select path="workContractReview.isProperAcquisition" class="form-control simple-select required">--%>
|
|
|
-<%-- <form:option value="" label=""/>--%>
|
|
|
-<%-- <form:option value="1" label="是"/>--%>
|
|
|
-<%-- <form:option value="0" label="否"/>--%>
|
|
|
-<%-- </form:select>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="layui-item layui-col-sm6">--%>
|
|
|
-<%-- <label class="layui-form-label double-line"><span class="require-item">*</span>人员是否能专业胜任:</label>--%>
|
|
|
-<%-- <div class="layui-input-block">--%>
|
|
|
-<%-- <form:select path="workContractReview.isUserQualified" class="form-control simple-select required">--%>
|
|
|
-<%-- <form:option value="" label=""/>--%>
|
|
|
-<%-- <form:option value="1" label="是"/>--%>
|
|
|
-<%-- <form:option value="0" label="否"/>--%>
|
|
|
-<%-- </form:select>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="layui-item layui-col-sm6">--%>
|
|
|
-<%-- <label class="layui-form-label double-line"><span class="require-item">*</span>是否需要借助外部专家力量:</label>--%>
|
|
|
-<%-- <div class="layui-input-block">--%>
|
|
|
-<%-- <form:select path="workContractReview.isExternalExpertPower" class="form-control simple-select required">--%>
|
|
|
-<%-- <form:option value="" label=""/>--%>
|
|
|
-<%-- <form:option value="1" label="需要"/>--%>
|
|
|
-<%-- <form:option value="0" label="不需要"/>--%>
|
|
|
-<%-- </form:select>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="layui-item layui-col-sm6">--%>
|
|
|
-<%-- <label class="layui-form-label double-line"><span class="require-item">*</span>设备能否满足项目要求:</label>--%>
|
|
|
-<%-- <div class="layui-input-block">--%>
|
|
|
-<%-- <form:select path="workContractReview.isEquipmentMeetRequirements" class="form-control simple-select required">--%>
|
|
|
-<%-- <form:option value="" label=""/>--%>
|
|
|
-<%-- <form:option value="1" label="是"/>--%>
|
|
|
-<%-- <form:option value="0" label="否"/>--%>
|
|
|
-<%-- </form:select>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="layui-item layui-col-sm6">--%>
|
|
|
-<%-- <label class="layui-form-label double-line"><span class="require-item">*</span>时间能否满足客户需求:</label>--%>
|
|
|
-<%-- <div class="layui-input-block">--%>
|
|
|
-<%-- <form:select path="workContractReview.isTimeMeetRequirements" class="form-control simple-select required">--%>
|
|
|
-<%-- <form:option value="" label=""/>--%>
|
|
|
-<%-- <form:option value="1" label="是"/>--%>
|
|
|
-<%-- <form:option value="0" label="否"/>--%>
|
|
|
-<%-- </form:select>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="layui-item layui-col-sm6">--%>
|
|
|
-<%-- <label class="layui-form-label double-line"><span class="require-item">*</span>合同是否可以签定:</label>--%>
|
|
|
-<%-- <div class="layui-input-block">--%>
|
|
|
-<%-- <form:select path="workContractReview.isContractSignature" class="form-control simple-select required">--%>
|
|
|
-<%-- <form:option value="" label=""/>--%>
|
|
|
-<%-- <form:option value="1" label="是"/>--%>
|
|
|
-<%-- <form:option value="0" label="否"/>--%>
|
|
|
-<%-- </form:select>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="layui-item layui-col-sm12 with-textarea">--%>
|
|
|
-<%-- <label class="layui-form-label">备注信息:</label>--%>
|
|
|
-<%-- <div class="layui-input-block">--%>
|
|
|
-<%-- <form:textarea path="workContractReview.remarks" htmlEscape="false" rows="4" maxlength="500" class="form-control"/>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="form-group layui-row">--%>
|
|
|
-<%-- <div class="form-group-label"><h2>合同评审附件信息</h2></div>--%>
|
|
|
-<%-- <div class="layui-item nav-btns">--%>
|
|
|
-<%-- <a id="attachment_review_btn" class="nav-btn nav-btn-add" title="添加附件"><i class="fa fa-plus"></i> 添加附件</a>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div id="addFile_attachment_review" style="display: none" class="upload-progress">--%>
|
|
|
-<%-- <span id="fileName_attachment_review" ></span>--%>
|
|
|
-<%-- <b><span id="baifenbi_attachment_review" ></span></b>--%>
|
|
|
-<%-- <div class="progress">--%>
|
|
|
-<%-- <div id="jindutiao_attachment_review" class="progress-bar" style="width: 0%" aria-valuenow="0">--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <input id="attachment_review_file" type="file" multiple="multiple" name="attachment_file" style="display: none;" onChange="if(this.value)insertTitleReview(this.value);"/>--%>
|
|
|
-<%-- <span id="attachment_review_title"></span>--%>
|
|
|
-<%-- <div class="layui-item layui-col-xs12" style="padding:0 16px;">--%>
|
|
|
-<%-- <table id="listAttachmentReview" class="table table-bordered table-condensed details">--%>
|
|
|
-<%-- <thead>--%>
|
|
|
-<%-- <tr>--%>
|
|
|
-<%-- <%– <th>序号</th>–%>--%>
|
|
|
-<%-- <th>文件预览</th>--%>
|
|
|
-<%-- <th>上传人</th>--%>
|
|
|
-<%-- <th>上传时间</th>--%>
|
|
|
-<%-- <th width="180px">操作</th>--%>
|
|
|
-<%-- </tr>--%>
|
|
|
-<%-- </thead>--%>
|
|
|
-<%-- <tbody id="file_attachment_review">--%>
|
|
|
-<%-- <c:forEach items="${workContractInfo.workContractReview.workAttachments}" var = "workClientAttachment" varStatus="status">--%>
|
|
|
-<%-- <tr>--%>
|
|
|
-<%-- <%– <td>${status.index + 1}</td>–%>--%>
|
|
|
-<%-- <c:choose>--%>
|
|
|
-<%-- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpg')--%>
|
|
|
-<%-- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'png')--%>
|
|
|
-<%-- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'gif')--%>
|
|
|
-<%-- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'bmp')--%>
|
|
|
-<%-- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpeg')}">--%>
|
|
|
-<%-- <td><img src="${workClientAttachment.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.url}','90%','90%')" alt="${workClientAttachment.attachmentName}">--%>
|
|
|
-<%-- </c:when>--%>
|
|
|
-<%-- <c:otherwise>--%>
|
|
|
-<%-- <c:choose>--%>
|
|
|
-<%-- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">--%>
|
|
|
-<%-- <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%','1')">${workClientAttachment.attachmentName}</a></td>--%>
|
|
|
-<%-- </c:when>--%>
|
|
|
-<%-- <c:otherwise>--%>
|
|
|
-<%-- <td><a class="attention-info" href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','90%','90%')">${workClientAttachment.attachmentName}</a></td>--%>
|
|
|
-<%-- </c:otherwise>--%>
|
|
|
-<%-- </c:choose>--%>
|
|
|
-<%-- </c:otherwise>--%>
|
|
|
-<%-- </c:choose>--%>
|
|
|
-<%-- <td>${workClientAttachment.createBy.name}</td>--%>
|
|
|
-<%-- <td><fmt:formatDate value="${workClientAttachment.createDate}" type="both"/></td>--%>
|
|
|
-<%-- <td class="op-td">--%>
|
|
|
-<%-- <div class="op-btn-box" >--%>
|
|
|
-<%-- <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent(encodeURIComponent('${workClientAttachment.url}'));" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>--%>
|
|
|
-<%-- <c:if test="${workClientAttachment.createBy.id eq fns:getUser().id}">--%>
|
|
|
-<%-- <a href="javascript:void(0)" onclick="deleteFileFromAliyun(this,'${ctx}/sys/workattachment/deleteFileFromAliyun?url=${workClientAttachment.url}&id=${workClientAttachment.id}&type=2','addFile_attachment','_attachment_review')" class="op-btn op-btn-delete" ><i class="fa fa-trash"></i> 删除</a>--%>
|
|
|
-<%-- </c:if>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </td>--%>
|
|
|
-<%-- </tr>--%>
|
|
|
-<%-- </c:forEach>--%>
|
|
|
-<%-- </tbody>--%>
|
|
|
-<%-- </table>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="form-group layui-row page-end"></div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
</div>
|
|
|
</div>
|
|
|
</form:form>
|
|
|
</div>
|
|
|
+ <script>
|
|
|
+ layui.use('form', function () {
|
|
|
+ var form = layui.form;
|
|
|
+ form.render();
|
|
|
+
|
|
|
+ //复选框监听器
|
|
|
+ form.on('checkbox(chargeCriterionList)', function(data){
|
|
|
+ var ids = [];
|
|
|
+ $("input[name='chargeCriterionList']:checked").each(function(i){
|
|
|
+ ids.push($(this).val())
|
|
|
+ })
|
|
|
+ if(ids.indexOf("4")!=-1){
|
|
|
+ document.getElementById("otherDetails").readOnly=false
|
|
|
+ }else{
|
|
|
+ document.getElementById("otherDetails").readOnly=true
|
|
|
+ $("#otherDetails").val("");
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ </script>
|
|
|
</div>
|
|
|
</body>
|
|
|
</html>
|