|
@@ -98,6 +98,74 @@
|
|
|
$("#upTable").load(location.href+"?projectId="+obj + " #upTable");
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ function genRow(data) {
|
|
|
+ console.log(data)
|
|
|
+ for (var i = 0; i < data.length; i++) {
|
|
|
+ addRow1('#sealMaterialInfoList', sealMaterialInfoListRowIdx, sealMaterialInfoListTpl, data[i])
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ function addRow1(list, idx, tpl, row){
|
|
|
+ var idx1 = $("#sealMaterialInfoList tr").length;
|
|
|
+ console.log(idx1)
|
|
|
+ if(list == '#sealMaterialInfoList'){
|
|
|
+ bornTemplete1(list, idx, tpl, row, idx1);
|
|
|
+ sealMaterialInfoListRowIdx+=1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ function bornTemplete1(list, idx, tpl, row, idx1){
|
|
|
+ $(list).append(Mustache.render(tpl, {
|
|
|
+ idx: idx, delBtn: true, row: row,
|
|
|
+ order:idx1 + 1
|
|
|
+ }));
|
|
|
+ $(list+idx).find("select").each(function(){
|
|
|
+ $(this).val($(this).attr("data-value"));
|
|
|
+ });
|
|
|
+ $(list+idx).find("input[type='checkbox'], input[type='radio']").each(function(){
|
|
|
+ var ss = $(this).attr("data-value").split(',');
|
|
|
+ for (var i=0; i<ss.length; i++){
|
|
|
+ if($(this).val() == ss[i]){
|
|
|
+ $(this).attr("checked","checked");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ function delRow(obj, prefix) {
|
|
|
+ var id = $(prefix + "_invoiceId");
|
|
|
+ var delFlag = $(prefix + "_delFlag");
|
|
|
+ if (id.val() == "") {
|
|
|
+ $(obj).parent().parent().remove();
|
|
|
+ } else if (delFlag.val() == "0") {
|
|
|
+ delFlag.val("1");
|
|
|
+ $(obj).html("÷").attr("title", "撤回删除");
|
|
|
+ $(obj).parent().parent().addClass("error");
|
|
|
+ $(obj).parent().parent().addClass("hide");
|
|
|
+ } else if (delFlag.val() == "1") {
|
|
|
+ delFlag.val("0");
|
|
|
+ $(obj).html("×").attr("title", "删除");
|
|
|
+ $(obj).parent().parent().removeClass("error");
|
|
|
+ }
|
|
|
+ var length=$("#projectMaterialStorageList tr").length;
|
|
|
+ var count=length;
|
|
|
+ for (var i=1;i<=length;i++) {
|
|
|
+ var delFlag = $("#projectMaterialStorageList").find("tr").eq(i-1).find("input").eq(1).val();
|
|
|
+ if (delFlag == "1") {
|
|
|
+ count =count-1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if(count==1){
|
|
|
+ $("#chargeType").val("2")
|
|
|
+ layui.form.render();
|
|
|
+ }else if (count>1){
|
|
|
+ $("#chargeType").val("1")
|
|
|
+ layui.form.render();
|
|
|
+ }else if(count == 0){
|
|
|
+ $("#projectFlag").val("");
|
|
|
+ }
|
|
|
+ }
|
|
|
</script>
|
|
|
</head>
|
|
|
<body>
|
|
@@ -108,228 +176,291 @@
|
|
|
<form:hidden path="id"/>
|
|
|
<input type="hidden" id="flagFile" value="">
|
|
|
|
|
|
- <div class="form-group layui-row first">
|
|
|
- <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">
|
|
|
- <input type="radio" name="sealCompany" value="0" title="东兴" <c:if test="${sealApplyForInfo.sealCompany=='0'}">checked</c:if>>
|
|
|
- <input type="radio" name="sealCompany" value="1" title="赣能" <c:if test="${sealApplyForInfo.sealCompany=='1'}">checked</c:if> >
|
|
|
+ <div id="upTable" class="form-group layui-row first">
|
|
|
+ <div class="form-group layui-row first">
|
|
|
+ <div class="form-group-label"><h2>项目基础信息</h2></div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label"><span class="require-item">*</span>项目名称:</label>
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
+ <sys:gridselectcallproject url="${ctx}/sealApplyFor/sealApplyFor/selectprojectOnList" id="projectRecords" name="projectRecords.id" value="${sealApplyForInfo.projectRecords.id}" title="选择所属项目" labelName="projectRecords.projectName" cssStyle="background-color:#fff"
|
|
|
+ labelValue="${sealApplyForInfo.projectRecords.projectName}" cssClass="form-control required layui-input" fieldLabels="项目" fieldKeys="projectName" searchLabel="项目名称" searchKey="projectName" ></sys:gridselectcallproject>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6 lw6 with-textarea">
|
|
|
- <label class="layui-form-label ">盖章说明:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <form:textarea path="remarks" placeholder="请输入盖章说明信息" id="remarks" htmlEscape="false" rows="4" maxlength="255" class="form-control "/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div id="upTable">
|
|
|
- <div class="form-group layui-row first">
|
|
|
- <div class="form-group-label"><h2>项目基础信息</h2></div>
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label"><span class="require-item">*</span>项目名称:</label>
|
|
|
- <div class="layui-input-block with-icon">
|
|
|
- <sys:gridselectcallproject url="${ctx}/sealApplyFor/sealApplyFor/selectprojectOnList" id="projectRecords" name="projectRecords.id" value="${sealApplyForInfo.projectRecords.id}" title="选择所属项目" labelName="projectRecords.projectName" cssStyle="background-color:#fff"
|
|
|
- labelValue="${sealApplyForInfo.projectRecords.projectName}" cssClass="form-control required layui-input" fieldLabels="项目" fieldKeys="projectName" searchLabel="项目名称" searchKey="projectName" ></sys:gridselectcallproject>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label">报告号:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <input id="projectReportDataNumber" htmlEscape="false" readonly="true" class="form-control layui-input" style="background-color: #f1f1f1" value="${sealApplyForInfo.projectRecords.projectReportNumber}"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label">项目编号:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <input id="projectId" htmlEscape="false" readonly="true" class="form-control layui-input" style="background-color: #f1f1f1" value="${sealApplyForInfo.projectRecords.projectId}"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label">项目所在地:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <input id="area" htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.province}-${sealApplyForInfo.projectRecords.city}-${sealApplyForInfo.projectRecords.county}"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label">投资性质:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <c:if test="${sealApplyForInfo.projectRecords.projectProperties==null}">
|
|
|
- <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input"/>
|
|
|
- </c:if>
|
|
|
- <c:forEach items="${fns:getMainDictList('project_properties')}" var="v">
|
|
|
- <c:if test="${v.value==sealApplyForInfo.projectRecords.projectProperties}">
|
|
|
- <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${v.label}"/>
|
|
|
- </c:if>
|
|
|
- </c:forEach>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label">建设地点:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.projectSite}"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label">创建人:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.createBy.name}"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label">审核人:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.reviewerPerson}"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label">所属部门:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" id="officeName" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.officeName}"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <%--<div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label double-line">项目归属部门:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" id="belongingDepartmentName" class="form-control layui-input" value="${sealApplyForInfo.belongingDepartmentName}"/>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">报告号:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input id="projectReportDataNumber" htmlEscape="false" readonly="true" class="form-control layui-input" style="background-color: #f1f1f1" value="${sealApplyForInfo.projectRecords.projectReportNumber}"/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label">项目负责人:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.projectMasterName}"/>
|
|
|
+<%-- <div class="layui-item layui-col-sm6 lw6">--%>
|
|
|
+<%-- <label class="layui-form-label">项目编号:</label>--%>
|
|
|
+<%-- <div class="layui-input-block">--%>
|
|
|
+<%-- <input id="projectId" htmlEscape="false" readonly="true" class="form-control layui-input" style="background-color: #f1f1f1" value="${sealApplyForInfo.projectRecords.projectId}"/>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">项目所在地:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input id="area" htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.province}-${sealApplyForInfo.projectRecords.city}-${sealApplyForInfo.projectRecords.county}"/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <%--<div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label">工程类型:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <form:select path="engineeringType" disabled="true" style="background-color: #f1f1f1" class="form-control simple-select">
|
|
|
- <form:options items="${engineeringInfo}" itemLabel="engineeringName" itemValue="id" htmlEscape="false"/>
|
|
|
- </form:select>
|
|
|
+<%-- <div class="layui-item layui-col-sm6 lw6">--%>
|
|
|
+<%-- <label class="layui-form-label">投资性质:</label>--%>
|
|
|
+<%-- <div class="layui-input-block">--%>
|
|
|
+<%-- <c:if test="${sealApplyForInfo.projectRecords.projectProperties==null}">--%>
|
|
|
+<%-- <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input"/>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- <c:forEach items="${fns:getMainDictList('project_properties')}" var="v">--%>
|
|
|
+<%-- <c:if test="${v.value==sealApplyForInfo.projectRecords.projectProperties}">--%>
|
|
|
+<%-- <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${v.label}"/>--%>
|
|
|
+<%-- </c:if>--%>
|
|
|
+<%-- </c:forEach>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+<%-- </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">建设地点:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.projectSite}"/>
|
|
|
+ </div>
|
|
|
+ </div>--%>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">创建人:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.createBy.name}"/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
- <%--<div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label double-line">送审规模(万元):</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <form:input path="submitScale" readonly="true" style="background-color: #f1f1f1" id="submitScale" maxlength="12" htmlEscape="false" placeholder="请输入送审规模" class="form-control layui-input number"/>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">审核人:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.reviewerPerson}"/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>--%>
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label double-line">工作开始日期:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <input class="laydate-icondate form-control layui-input layer-date ash" style="background-color: #f1f1f1" readonly="true" id="startDate" name="startDate" value="<fmt:formatDate value="${sealApplyForInfo.projectRecords.startDate}" pattern="yyyy-MM-dd"/>">
|
|
|
+<%-- <div class="layui-item layui-col-sm6 lw6">--%>
|
|
|
+<%-- <label class="layui-form-label">所属部门:</label>--%>
|
|
|
+<%-- <div class="layui-input-block">--%>
|
|
|
+<%-- <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" id="officeName" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.officeName}"/>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+ <%--<div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">项目归属部门:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" id="belongingDepartmentName" class="form-control layui-input" value="${sealApplyForInfo.belongingDepartmentName}"/>
|
|
|
+ </div>
|
|
|
+ </div>--%>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">项目负责人:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.projectMasterName}"/>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label double-line">工作结束日期:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <input class="laydate-icondate form-control layui-input layer-date " style="background-color: #f1f1f1" readonly="true" id="endingDate" name="endingDate" value="<fmt:formatDate value="${sealApplyForInfo.projectRecords.endingDate}" pattern="yyyy-MM-dd"/>">
|
|
|
+ <%--<div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">工程类型:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:select path="engineeringType" disabled="true" style="background-color: #f1f1f1" class="form-control simple-select">
|
|
|
+ <form:options items="${engineeringInfo}" itemLabel="engineeringName" itemValue="id" htmlEscape="false"/>
|
|
|
+ </form:select>
|
|
|
+ </div>
|
|
|
+ </div>--%>
|
|
|
+ <%--<div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">送审规模(万元):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <form:input path="submitScale" readonly="true" style="background-color: #f1f1f1" id="submitScale" maxlength="12" htmlEscape="false" placeholder="请输入送审规模" class="form-control layui-input number"/>
|
|
|
+ </div>
|
|
|
+ </div>--%>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">工作开始日期:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date ash" style="background-color: #f1f1f1" readonly="true" id="startDate" name="startDate" value="<fmt:formatDate value="${sealApplyForInfo.projectRecords.startDate}" pattern="yyyy-MM-dd"/>">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm6 lw6">
|
|
|
- <label class="layui-form-label">创建日期:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="<fmt:formatDate value="${sealApplyForInfo.projectRecords.createDate}" pattern="yyyy-MM-dd"/>"/>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">工作结束日期:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date " style="background-color: #f1f1f1" readonly="true" id="endingDate" name="endingDate" value="<fmt:formatDate value="${sealApplyForInfo.projectRecords.endingDate}" pattern="yyyy-MM-dd"/>">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+<%-- <div class="layui-item layui-col-sm6 lw6">--%>
|
|
|
+<%-- <label class="layui-form-label">创建日期:</label>--%>
|
|
|
+<%-- <div class="layui-input-block">--%>
|
|
|
+<%-- <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="<fmt:formatDate value="${sealApplyForInfo.projectRecords.createDate}" pattern="yyyy-MM-dd"/>"/>--%>
|
|
|
+<%-- </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" style="background-color: #f1f1f1" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.attachmentProjectSort}"/>--%>
|
|
|
+<%-- </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" style="background-color: #f1f1f1" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.contractsNum}"/>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+<%-- <div class="layui-item layui-col-sm12 lw6 with-textarea">--%>
|
|
|
+<%-- <label class="layui-form-label">工程概况:</label>--%>
|
|
|
+<%-- <div class="layui-input-block">--%>
|
|
|
+<%-- <textarea htmlEscape="false" rows="4" readonly="true" style="background-color: #f1f1f1" maxlength="1000" class="form-control" >${sealApplyForInfo.projectRecords.projectDesc}</textarea>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+<%-- <div class="layui-item layui-col-sm12 lw6 with-textarea">--%>
|
|
|
+<%-- <label class="layui-form-label">备注:</label>--%>
|
|
|
+<%-- <div class="layui-input-block">--%>
|
|
|
+<%-- <textarea htmlEscape="false" rows="4" readonly="true" maxlength="1000" style="background-color: #f1f1f1" class="form-control" >${sealApplyForInfo.projectRecords.remarks}</textarea>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+<%-- </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" style="background-color: #f1f1f1" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.attachmentProjectSort}"/>
|
|
|
- </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" style="background-color: #f1f1f1" class="form-control layui-input" value="${sealApplyForInfo.projectRecords.contractsNum}"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="layui-item layui-col-sm12 lw6 with-textarea">
|
|
|
- <label class="layui-form-label">工程概况:</label>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group layui-row first">
|
|
|
+ <div class="form-group layui-row first">
|
|
|
+ <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">
|
|
|
- <textarea htmlEscape="false" rows="4" readonly="true" style="background-color: #f1f1f1" maxlength="1000" class="form-control" >${sealApplyForInfo.projectRecords.projectDesc}</textarea>
|
|
|
+ <input type="radio" name="sealCompany" value="0" title="东兴" <c:if test="${sealApplyForInfo.sealCompany=='0'}">checked</c:if>>
|
|
|
+ <input type="radio" name="sealCompany" value="1" title="赣能" <c:if test="${sealApplyForInfo.sealCompany=='1'}">checked</c:if> >
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="layui-item layui-col-sm12 lw6 with-textarea">
|
|
|
- <label class="layui-form-label">备注:</label>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6 with-textarea">
|
|
|
+ <label class="layui-form-label ">盖章说明:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <textarea htmlEscape="false" rows="4" readonly="true" maxlength="1000" style="background-color: #f1f1f1" class="form-control" >${sealApplyForInfo.projectRecords.remarks}</textarea>
|
|
|
+ <form:textarea path="remarks" placeholder="请输入盖章说明信息" id="remarks" htmlEscape="false" rows="4" maxlength="255" class="form-control "/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
- <div class="form-group layui-row">
|
|
|
- <div class="form-group-label"><h2>委托方联系人信息</h2></div>
|
|
|
- <div class="layui-item layui-col-xs12 form-table-container" >
|
|
|
- <table id="contentTable" class="table table-bordered table-condensed no-bottom-margin details">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="hide"></th>
|
|
|
- <th width="25%">委托方</th>
|
|
|
- <th width="25%">联系人姓名</th>
|
|
|
- <th width="25%">联系方式1</th>
|
|
|
- <th width="25%">联系方式2</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody id="workClientLinkmanList">
|
|
|
- <c:forEach items="${sealApplyForInfo.projectRecords.workClientLinkmanList}" var="info" varStatus="index">
|
|
|
- <tr>
|
|
|
- <td >
|
|
|
- ${info.clientId.name}
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- ${info.name}
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- ${info.linkPhone}
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- ${info.linkMobile}
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </c:forEach>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="layui-item nav-btns">
|
|
|
+ <a class="nav-btn nav-btn-add" onclick="addRow1('#sealMaterialInfoList', sealMaterialInfoListRowIdx, sealMaterialInfoListTpl);sealMaterialInfoListRowIdx = sealMaterialInfoListRowIdx + 1;" title="新增"><i class="fa fa-plus"></i> 新增</a>
|
|
|
+ <table:importExcelA url="${ctx}/seal/sealMaterial/import"></table:importExcelA><!-- 导入按钮 -->
|
|
|
</div>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="form-group layui-row">
|
|
|
- <div class="form-group-label"><h2>施工方信息</h2></div>
|
|
|
- <div class="layui-item layui-col-xs12 form-table-container" >
|
|
|
- <table id="contentTable1" class="table table-bordered table-condensed no-bottom-margin details">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th class="hide"></th>
|
|
|
- <th width="25%">施工方单位名称</th>
|
|
|
- <th width="25%">联系人姓名</th>
|
|
|
- <th width="25%">联系方式1</th>
|
|
|
- <th width="25%">联系方式2</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody id="workConstructionLinkmanList">
|
|
|
- <c:forEach items="${sealApplyForInfo.projectRecords.workConstructionLinkmanList}" var="info" varStatus="index">
|
|
|
+ <div class="layui-table-body layui-item layui-col-xs12 form-table-container" style="padding:0px">
|
|
|
+ <table id="contentTables" class="table table-bordered table-condensed can-edit no-bottom-margin details">
|
|
|
+ <thead>
|
|
|
<tr>
|
|
|
- <td >
|
|
|
- ${info.clientId.name}
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- ${info.name}
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- ${info.linkPhone}
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- ${info.linkMobile}
|
|
|
- </td>
|
|
|
+ <th width="20%"><font color="red">*</font>用印材料名称</th>
|
|
|
+ <th width="10%"><font color="red">*</font>数量</th>
|
|
|
+ <th width="40%">主要内容简述</th>
|
|
|
+ <th width="10%">经办人</th>
|
|
|
+ <th width="10%">备注</th>
|
|
|
+ <th width="10%">操作</th>
|
|
|
</tr>
|
|
|
- </c:forEach>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
+ </thead>
|
|
|
+ <tbody id="sealMaterialInfoList">
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ <script type="text/template" id="sealMaterialInfoListTpl">//<!--
|
|
|
+ <tr id="sealMaterialInfoList{{idx}}">
|
|
|
+ <td class="hide">
|
|
|
+ <input id="sealMaterialInfoList{{idx}}_projectId" name="sealMaterialInfoList[{{idx}}].projectId" type="hidden" value="{{row.projectId}}"/>
|
|
|
+ <input id="sealMaterialInfoList{{idx}}_delFlag" name="sealMaterialInfoList[{{idx}}].delFlag" type="hidden" value="0"/>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <input id="sealMaterialInfoList{{idx}}_sealMaterialName" name = "sealMaterialInfoList[{{idx}}].sealMaterialName" type="text" value="{{row.sealMaterialName}}" class="form-control"/>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <input id="sealMaterialInfoList{{idx}}_amount" name = "sealMaterialInfoList[{{idx}}].amount" type="text" value="{{row.amount}}" onkeyup="num(this)" class="form-control"/>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <input id="sealMaterialInfoList{{idx}}_mainContents" name = "sealMaterialInfoList[{{idx}}].mainContents" type="text" value="{{row.mainContents}}" class="form-control"/>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <input id="sealMaterialInfoList{{idx}}_agent" name = "sealMaterialInfoList[{{idx}}].agent.name" type="text" value="{{row.agent.name}}" class="form-control"/>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <input id="sealMaterialInfoList{{idx}}_remarks" name = "sealMaterialInfoList[{{idx}}].sealMaterialImportRemarks" type="text" value="{{row.sealMaterialImportRemarks}}" class="form-control"/>
|
|
|
+ </td>
|
|
|
+ <td class="text-center op-td" >
|
|
|
+ {{#delBtn}}<span class="op-btn op-btn-delete" onclick="delRow(this, '#sealMaterialInfoList{{idx}}')" title="删除"><i class="glyphicon glyphicon-remove"></i> 删除</span>{{/delBtn}}
|
|
|
+ </td>
|
|
|
+ </tr>//-->
|
|
|
+ </script>
|
|
|
+ <script type="text/javascript">
|
|
|
+ var sealMaterialInfoListRowIdx = 0, sealMaterialInfoListTpl = $("#sealMaterialInfoListTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g,"");
|
|
|
+ /*if($("#id").val()){
|
|
|
+ workInvoiceProjectRelationListRowIdx = ${fn:length(workInvoice.workInvoiceProjectRelationList)};
|
|
|
+ }*/
|
|
|
+ $(document).ready(function() {
|
|
|
+ <%--var data = ${fns:toJson(projectMaterialStorage.sealMaterialInfoList)};--%>
|
|
|
+ for (var i=0; i<data.length; i++){
|
|
|
+ addRow1('#sealMaterialInfoList', sealMaterialInfoListRowIdx, sealMaterialInfoListTpl, data[i])
|
|
|
+ sealMaterialInfoListRowIdx = sealMaterialInfoListRowIdx + 1;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ </script>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div></div>
|
|
|
+
|
|
|
+<%-- <div class="form-group layui-row">--%>
|
|
|
+<%-- <div class="form-group-label"><h2>委托方联系人信息</h2></div>--%>
|
|
|
+<%-- <div class="layui-item layui-col-xs12 form-table-container" >--%>
|
|
|
+<%-- <table id="contentTable" class="table table-bordered table-condensed no-bottom-margin details">--%>
|
|
|
+<%-- <thead>--%>
|
|
|
+<%-- <tr>--%>
|
|
|
+<%-- <th class="hide"></th>--%>
|
|
|
+<%-- <th width="25%">委托方</th>--%>
|
|
|
+<%-- <th width="25%">联系人姓名</th>--%>
|
|
|
+<%-- <th width="25%">联系方式1</th>--%>
|
|
|
+<%-- <th width="25%">联系方式2</th>--%>
|
|
|
+<%-- </tr>--%>
|
|
|
+<%-- </thead>--%>
|
|
|
+<%-- <tbody id="workClientLinkmanList">--%>
|
|
|
+<%-- <c:forEach items="${sealApplyForInfo.projectRecords.workClientLinkmanList}" var="info" varStatus="index">--%>
|
|
|
+<%-- <tr>--%>
|
|
|
+<%-- <td >--%>
|
|
|
+<%-- ${info.clientId.name}--%>
|
|
|
+<%-- </td>--%>
|
|
|
+<%-- <td>--%>
|
|
|
+<%-- ${info.name}--%>
|
|
|
+<%-- </td>--%>
|
|
|
+<%-- <td>--%>
|
|
|
+<%-- ${info.linkPhone}--%>
|
|
|
+<%-- </td>--%>
|
|
|
+<%-- <td>--%>
|
|
|
+<%-- ${info.linkMobile}--%>
|
|
|
+<%-- </td>--%>
|
|
|
+<%-- </tr>--%>
|
|
|
+<%-- </c:forEach>--%>
|
|
|
+<%-- </tbody>--%>
|
|
|
+<%-- </table>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+
|
|
|
+<%-- <div class="form-group layui-row">--%>
|
|
|
+<%-- <div class="form-group-label"><h2>施工方信息</h2></div>--%>
|
|
|
+<%-- <div class="layui-item layui-col-xs12 form-table-container" >--%>
|
|
|
+<%-- <table id="contentTable1" class="table table-bordered table-condensed no-bottom-margin details">--%>
|
|
|
+<%-- <thead>--%>
|
|
|
+<%-- <tr>--%>
|
|
|
+<%-- <th class="hide"></th>--%>
|
|
|
+<%-- <th width="25%">施工方单位名称</th>--%>
|
|
|
+<%-- <th width="25%">联系人姓名</th>--%>
|
|
|
+<%-- <th width="25%">联系方式1</th>--%>
|
|
|
+<%-- <th width="25%">联系方式2</th>--%>
|
|
|
+<%-- </tr>--%>
|
|
|
+<%-- </thead>--%>
|
|
|
+<%-- <tbody id="workConstructionLinkmanList">--%>
|
|
|
+<%-- <c:forEach items="${sealApplyForInfo.projectRecords.workConstructionLinkmanList}" var="info" varStatus="index">--%>
|
|
|
+<%-- <tr>--%>
|
|
|
+<%-- <td >--%>
|
|
|
+<%-- ${info.clientId.name}--%>
|
|
|
+<%-- </td>--%>
|
|
|
+<%-- <td>--%>
|
|
|
+<%-- ${info.name}--%>
|
|
|
+<%-- </td>--%>
|
|
|
+<%-- <td>--%>
|
|
|
+<%-- ${info.linkPhone}--%>
|
|
|
+<%-- </td>--%>
|
|
|
+<%-- <td>--%>
|
|
|
+<%-- ${info.linkMobile}--%>
|
|
|
+<%-- </td>--%>
|
|
|
+<%-- </tr>--%>
|
|
|
+<%-- </c:forEach>--%>
|
|
|
+<%-- </tbody>--%>
|
|
|
+<%-- </table>--%>
|
|
|
+<%-- </div>--%>
|
|
|
+<%-- </div></div>--%>
|
|
|
|
|
|
|
|
|
|
|
@@ -338,6 +469,7 @@
|
|
|
<div class="form-group layui-row page-end"></div>
|
|
|
</form:form>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<script>
|
|
|
function openBill3(title,url,width,height,target,formId){
|