|
@@ -236,554 +236,46 @@
|
|
|
<textarea style="background-color: #f1f1f1" htmlEscape="false" rows="4" readonly="true" maxlength="1000" class="form-control" >${workContractInfo.remarks}</textarea>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <%--<c:if test="${not empty workContractInfo.alterInfo.reason}">
|
|
|
- <div class="layui-item layui-col-sm12 with-textarea">
|
|
|
- <label class="layui-form-label">作废原因:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <textarea htmlEscape="false" rows="4" readonly="true" maxlength="1000" class="form-control" >${workContractInfo.alterInfo.reason}</textarea>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </c:if>
|
|
|
- <c:if test="${not empty workContractInfo.contractCategory}">
|
|
|
- <div class="layui-item layui-col-sm12 with-textarea">
|
|
|
- <label class="layui-form-label">变更原因:</label>
|
|
|
- <div class="layui-input-block">
|
|
|
- <textarea htmlEscape="false" rows="4" readonly="true" maxlength="1000" class="form-control" >${workContractInfo.contractCategory}</textarea>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </c:if>--%>
|
|
|
</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="contentTable4" class="table table-bordered table-condensed no-bottom-margin details">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <%–<th width="10%">序号</th>–%>
|
|
|
- <th width="30%">委托方名称</th>
|
|
|
- <th width="20%">客户性质</th>
|
|
|
- <th width="20%">所属行业</th>
|
|
|
- <th width="30%">所属地区</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody id="workClientInfoList">
|
|
|
- <c:if test="${not empty workContractInfo.workClientInfoList}">
|
|
|
- <c:forEach items="${workContractInfo.workClientInfoList}" var="casePeopleNorm" varStatus="index">
|
|
|
- <tr id="workClientInfoList${index.index}">
|
|
|
- <td class="hide">
|
|
|
- <%–<input id="workClientInfoList${index.index}_id" name="workClientInfoList[${index.index}].id" type="hidden" value="${casePeopleNorm.id}"/>–%>
|
|
|
- </td>
|
|
|
- <%–<td>–%>
|
|
|
- <%–${index.index + 1}–%>
|
|
|
- <%–</td>–%>
|
|
|
- <%–${fns:getDictLabel(workAccount.financialSubjectss, 'not_project_reimbursement', '')}–%>
|
|
|
- <td>
|
|
|
- <%–<input id="workClientInfoList${index.index}_name" name="workClientInfoList[${index.index}].name" type="text" value="${casePeopleNorm.name}" readonly="true" class="form-control "/>–%>
|
|
|
- ${casePeopleNorm.name}
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <%–<form:select id="workClientInfoList${index.index}_companyType" path="workClientInfoList[${index.index}].companyType" disabled="true" readonly="true" class="form-control">
|
|
|
- <form:option value="" label=""/>
|
|
|
- <form:options items="${fns:getMainDictList('company_type')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
- </form:select>–%>
|
|
|
- ${fns:getMainDictLabel(casePeopleNorm.companyType, 'company_type', '')}
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <%–<form:select id="workClientInfoList${index.index}_companyIndustry" path="workClientInfoList[${index.index}].companyIndustry" disabled="true" readonly="true" class="form-control">
|
|
|
- <form:option value="" label=""/>
|
|
|
- <form:options items="${fns:getMainDictList('company_industry')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
- </form:select>–%>
|
|
|
- ${fns:getMainDictLabel(casePeopleNorm.companyIndustry, 'company_industry', '')}
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <%–<input id="workClientInfoList${index.index}_area" name="workClientInfoList[${index.index}].area.name" type="text" value="${casePeopleNorm.area.name}" readonly="true" class="form-control "/>–%>
|
|
|
- ${casePeopleNorm.area.name}
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </c:forEach>
|
|
|
- </c:if>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
- </div>--%>
|
|
|
- <%--<c:if test="${workContractInfo.contractState eq '5'}">
|
|
|
- <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="contentTable3" class="table table-bordered table-condensed details">
|
|
|
- <thead>
|
|
|
- <tr>
|
|
|
- <th><span class="require-item">*</span>发票代码</th>
|
|
|
- <th><span class="require-item">*</span>发票号</th>
|
|
|
- <th><span class="require-item">*</span>价税合计</th>
|
|
|
- <th><span class="require-item">*</span>税率</th>
|
|
|
- <th><span class="require-item">*</span>金额</th>
|
|
|
- <th><span class="require-item">*</span>税额</th>
|
|
|
- <th><span class="require-item">*</span>累计登记金额</th>
|
|
|
- <th><span class="require-item">*</span>发票状态</th><%–正常–%>
|
|
|
- <th><span class="require-item">*</span>被退标记</th>
|
|
|
- <th><span class="require-item">*</span>被退票号</th>
|
|
|
- <th><span class="require-item">*</span>开票日期</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody id="workAccountList">
|
|
|
- <c:if test="${not empty workContractInfo.invoiceDetails}">
|
|
|
- <c:forEach items="${workContractInfo.invoiceDetails}" var="workAccount" varStatus="index">
|
|
|
- <tr id="workAccountList${index.index}">
|
|
|
- <td title="${workAccount.code}">
|
|
|
- ${workAccount.code}
|
|
|
- </td>
|
|
|
- <td title="${workAccount.number}">
|
|
|
- ${workAccount.number}
|
|
|
- </td>
|
|
|
|
|
|
- <td title="<fmt:formatNumber value="${workAccount.totalMoney}" pattern="#,#00.00"/>">
|
|
|
- <fmt:formatNumber value="${workAccount.totalMoney}" pattern="#,#00.00"/>
|
|
|
- </td>
|
|
|
- <td title="${workAccount.tax}">
|
|
|
- ${workAccount.tax}
|
|
|
- </td>
|
|
|
- <td title="<fmt:formatNumber value="${workAccount.taxMoney}" pattern="#,#00.00"/>">
|
|
|
- <fmt:formatNumber value="${workAccount.taxMoney}" pattern="#,#00.00"/>
|
|
|
- </td>
|
|
|
- <td title="<fmt:formatNumber value="${workAccount.taxRate}" pattern="#,#00.00"/>">
|
|
|
- <fmt:formatNumber value="${workAccount.taxRate}" pattern="#,#00.00"/>
|
|
|
- </td>
|
|
|
- <td title="<fmt:formatNumber value="${workAccount.incomeMoney}" pattern="#,#00.00"/>">
|
|
|
- <fmt:formatNumber value="${workAccount.incomeMoney}" pattern="#,#00.00"/>
|
|
|
- </td>
|
|
|
- <td title="${workAccount.state}">
|
|
|
- ${workAccount.state}
|
|
|
- </td>
|
|
|
- <td title="${workAccount.backSign}">
|
|
|
- ${workAccount.backSign}
|
|
|
- </td>
|
|
|
- <td title="${workAccount.backNumber}">
|
|
|
- ${workAccount.backNumber}
|
|
|
- </td>
|
|
|
- <td title="<fmt:formatDate value="${workInvoice.invoiceDate}" pattern="yyyy-MM-dd"/>">
|
|
|
- <fmt:formatDate value="${workInvoice.invoiceDate}" pattern="yyyy-MM-dd"/>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </c:forEach>
|
|
|
- </c:if>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </c:if>--%>
|
|
|
<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>文件</th>
|
|
|
- <th>上传人</th>
|
|
|
- <th>上传时间</th>
|
|
|
- <th width="180px">操作</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${not empty workContractInfo.workAttachments}">
|
|
|
- <c:forEach items="${workContractInfo.workAttachments}" var="workClientAttachment" varStatus="status">
|
|
|
- <tr>
|
|
|
- <%--<td>${status.index + 1}</td>--%>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${workContractInfo.uploadMode == 2}">
|
|
|
- <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.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.temporaryUrl}','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="openPreview('${workClientAttachment.temporaryUrl}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'rar')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <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="openPreview('${workClientAttachment.url}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${workReimbursement.uploadMode == 2}">
|
|
|
- <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.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.temporaryUrl}','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="openPreview('${workClientAttachment.temporaryUrl}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'rar')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <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 href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'rar')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- <td>${workClientAttachment.createBy.name}</td>
|
|
|
- <td><fmt:formatDate value="${workClientAttachment.createDate}" pattern="yyyy-MM-dd"/></td>
|
|
|
- <td class="op-td">
|
|
|
- <div class="op-btn-box" >
|
|
|
- <c:set var="signflag" value="${fns:getSysParam('sign_flag',fns:getUser())}"/>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'doc')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'docx')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'xls')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'xlsx')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'ppt')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'pptx')}">
|
|
|
- <c:choose>
|
|
|
- <c:when test="${signflag == '是'}">
|
|
|
- <a href="javascript:void(0);" onclick="openDialogView('查看电子签章信息', '${ctx}/isignature/iSignatureDocument/form?recordId=${workClientAttachment.id}','95%', '95%')" class="op-btn op-btn-view" ><i class="fa fa-search-plus"></i> 查看</a>
|
|
|
- <a href="javascript:location.href='${ctx}/isignature/iSignatureDocument/download?recordId=${workClientAttachment.id}'" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <%--附件下载删除--%>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${workContractInfo.uploadMode == 2}">
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
- <a href="${workClientAttachment.temporaryUrl}" target="_blank" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <a href="${workClientAttachment.temporaryUrl}" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <%--附件下载删除--%>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${workContractInfo.uploadMode == 2}">
|
|
|
- <a href="${workClientAttachment.temporaryUrl}" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- <c:if test="${workClientAttachment.collectFlag != 1}">
|
|
|
- <a href="javascript:void(0)" onclick="collectingAccessory(this,'${ctx}/projectAccessory/projectAccessory/saveCollectAccessory','${workClientAttachment.url}','${workClientAttachment.createBy.id}','${workClientAttachment.fileSize}')" class="op-btn op-btn-delete" style="background-color: #FFB800"><i class="layui-icon layui-icon-rate"></i> 收藏</a>
|
|
|
- </c:if>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </c:forEach>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <tr>
|
|
|
- <td colspan="4" align="center">暂无数据</td>
|
|
|
- </tr>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+ <!-- fileHandlerFuncName="myCustomHandler" 自定义函数名 -->
|
|
|
+ <!-- attachmentFlag="6" 附件标识 -->
|
|
|
+ <!-- storeAs="wrkReimbursement" 存储路径标识 -->
|
|
|
+ <!-- showOperateArea="false" 是否展示新增按钮,默认true -->
|
|
|
+ <table:attachmentManager
|
|
|
+ title="合同附件信息"
|
|
|
+ addBtnText="添加附件"
|
|
|
+ baseId="attachment"
|
|
|
+ attachments="${workContractInfo.workAttachments}"
|
|
|
+ fileHandlerFuncName="insertTitle"
|
|
|
+ attachmentFlag="44"
|
|
|
+ storeAs="workContractInfo"
|
|
|
+ showOperateArea="false"
|
|
|
+ />
|
|
|
</div>
|
|
|
|
|
|
- <div class="form-group layui-row">
|
|
|
- <div class="form-group-label"><h2>中标通知书信息</h2><%--<span style="color: red;">注:有中标通知书必填,否则无法纸质归档。</span>--%></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>文件</th>
|
|
|
- <th>上传人</th>
|
|
|
- <th>上传时间</th>
|
|
|
- <th width="180px">操作</th>
|
|
|
- </tr>
|
|
|
- </thead>
|
|
|
- <tbody>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${not empty workContractInfo.workAttachmentLetterOfAcceptances}">
|
|
|
- <c:forEach items="${workContractInfo.workAttachmentLetterOfAcceptances}" var="workClientAttachment" varStatus="status">
|
|
|
- <tr>
|
|
|
- <%--<td>${status.index + 1}</td>--%>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${workContractInfo.uploadMode == 2}">
|
|
|
- <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.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.temporaryUrl}','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="openPreview('${workClientAttachment.temporaryUrl}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'rar')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <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="openPreview('${workClientAttachment.url}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${workReimbursement.uploadMode == 2}">
|
|
|
- <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.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.temporaryUrl}','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="openPreview('${workClientAttachment.temporaryUrl}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'rar')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <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 href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'rar')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- <td>${workClientAttachment.createBy.name}</td>
|
|
|
- <td><fmt:formatDate value="${workClientAttachment.createDate}" pattern="yyyy-MM-dd"/></td>
|
|
|
- <td class="op-td">
|
|
|
- <div class="op-btn-box" >
|
|
|
- <c:set var="signflag" value="${fns:getSysParam('sign_flag',fns:getUser())}"/>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'doc')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'docx')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'xls')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'xlsx')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'ppt')
|
|
|
- or fn:containsIgnoreCase(workClientAttachment.attachmentName,'pptx')}">
|
|
|
- <c:choose>
|
|
|
- <c:when test="${signflag == '是'}">
|
|
|
- <a href="javascript:void(0);" onclick="openDialogView('查看电子签章信息', '${ctx}/isignature/iSignatureDocument/form?recordId=${workClientAttachment.id}','95%', '95%')" class="op-btn op-btn-view" ><i class="fa fa-search-plus"></i> 查看</a>
|
|
|
- <a href="javascript:location.href='${ctx}/isignature/iSignatureDocument/download?recordId=${workClientAttachment.id}'" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <%--附件下载删除--%>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${workContractInfo.uploadMode == 2}">
|
|
|
- <c:choose>
|
|
|
- <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
- <a href="${workClientAttachment.temporaryUrl}" target="_blank" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <a href="${workClientAttachment.temporaryUrl}" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <%--附件下载删除--%>
|
|
|
- <c:choose>
|
|
|
- <c:when test="${workContractInfo.uploadMode == 2}">
|
|
|
- <a href="${workClientAttachment.temporaryUrl}" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- <c:if test="${workClientAttachment.collectFlag != 1}">
|
|
|
- <a href="javascript:void(0)" onclick="collectingAccessory(this,'${ctx}/projectAccessory/projectAccessory/saveCollectAccessory','${workClientAttachment.url}','${workClientAttachment.createBy.id}','${workClientAttachment.fileSize}')" class="op-btn op-btn-delete" style="background-color: #FFB800"><i class="layui-icon layui-icon-rate"></i> 收藏</a>
|
|
|
- </c:if>
|
|
|
- </div>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </c:forEach>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <tr>
|
|
|
- <td colspan="4" align="center">暂无数据</td>
|
|
|
- </tr>
|
|
|
- </c:otherwise>
|
|
|
- </c:choose>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
+
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <!-- fileHandlerFuncName="myCustomHandler" 自定义函数名 -->
|
|
|
+ <!-- attachmentFlag="6" 附件标识 -->
|
|
|
+ <!-- storeAs="wrkReimbursement" 存储路径标识 -->
|
|
|
+ <!-- showOperateArea="false" 是否展示新增按钮,默认true -->
|
|
|
+ <table:attachmentManager
|
|
|
+ title="中标通知书信息"
|
|
|
+ addBtnText="添加附件"
|
|
|
+ baseId="attachment_letterOfAcceptance"
|
|
|
+ attachments="${workContractInfo.workAttachmentLetterOfAcceptances}"
|
|
|
+ fileHandlerFuncName="insertTitleLetterOfAcceptance"
|
|
|
+ attachmentFlag="45"
|
|
|
+ storeAs="workContractInfo"
|
|
|
+ showOperateArea="false"
|
|
|
+ />
|
|
|
|
|
|
|
|
|
- <div class="layui-item layui-col-sm12 with-textarea" style="margin-top: 10px;">
|
|
|
+ <div class="layui-item layui-col-sm12 with-textarea">
|
|
|
<label class="layui-form-label double-line">中标通知书描述说明:</label>
|
|
|
<div class="layui-input-block">
|
|
|
<form:textarea path="letterOfAcceptanceRemarks" id="letterOfAcceptanceRemarks" readonly="true" htmlEscape="false" rows="4" maxlength="255" class="form-control "/>
|