|
@@ -4,6 +4,12 @@
|
|
<head>
|
|
<head>
|
|
<title>发票管理</title>
|
|
<title>发票管理</title>
|
|
<meta name="decorator" content="default"/>
|
|
<meta name="decorator" content="default"/>
|
|
|
|
+ <style>
|
|
|
|
+ #workInvoiceProjectRelationList td{
|
|
|
|
+ padding-left: 0px;
|
|
|
|
+ padding-right: 0px;
|
|
|
|
+ }
|
|
|
|
+ </style>
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
var validateForm;
|
|
var validateForm;
|
|
function doSubmit(){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
|
|
function doSubmit(){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
|
|
@@ -48,53 +54,44 @@
|
|
|
|
|
|
<div class="form-group layui-row first lw14">
|
|
<div class="form-group layui-row first lw14">
|
|
<div class="form-group-label"><h2>基本信息</h2></div>
|
|
<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 htmlEscape="false" readonly="true" style="background-color: #f1f1f1" class="form-control layui-input" value="${workInvoice.project.projectName}"/>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="layui-item layui-col-sm6">
|
|
|
|
- <label class="layui-form-label">发票申请编号:</label>
|
|
|
|
- <div class="layui-input-block">
|
|
|
|
- <div class="input-group">
|
|
|
|
- <input htmlEscape="false" readonly="true" style="background-color: #f1f1f1" class="form-control layui-input" value="${workInvoice.number}"/>
|
|
|
|
- <span class="input-group-btn">
|
|
|
|
- <label class="form-status"><c:choose><c:when test="${ empty workInvoice.invoiceState}">新添</c:when><c:otherwise>${fns:getDictLabel(workInvoice.invoiceState, 'audit_state','')}</c:otherwise> </c:choose></label>
|
|
|
|
- </span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="layui-item layui-col-sm6">
|
|
|
|
- <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="${workInvoice.project.workContractInfo.name}"/>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="layui-item layui-col-sm6">
|
|
|
|
- <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="${workInvoice.project.projectId}"/>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="layui-item layui-col-sm6">
|
|
|
|
- <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="${workInvoice.project.workContractInfo.client.name}"/>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="layui-item layui-col-sm6">
|
|
|
|
- <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="${workInvoice.project.reportData.number}"/>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <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>
|
|
|
|
+ <th width="200px"><font color="red">*</font>项目名称</th>
|
|
|
|
+ <th width="200px">合同名称</th>
|
|
|
|
+ <th width="200px">项目编号</th>
|
|
|
|
+ <th width="200px">委托方</th>
|
|
|
|
+ <th width="200px">报告号</th>
|
|
|
|
+ <%-- <th width="100px">操作</th>--%>
|
|
|
|
+ </tr>
|
|
|
|
+ </thead>
|
|
|
|
+ <tbody id="workInvoiceProjectRelationList">
|
|
|
|
+ <c:forEach items="${workInvoice.workInvoiceProjectRelationList}" var="list">
|
|
|
|
+ <tr>
|
|
|
|
+ <td>
|
|
|
|
+ <input type="text" value="${list.projectName}" maxlength="32" readonly="readonly" class="form-control"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <input type="text" value="${list.workContractName}" maxlength="32" readonly="readonly" class="form-control"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td style="text-align:center;">
|
|
|
|
+ <input type="text" value="${list.projectNum}" maxlength="32" readonly="readonly" class="form-control"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <input type="text" value="${list.clientName}" maxlength="32" readonly="readonly" class="form-control"/>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <input type="text" value="${list.reportDataNum}" maxlength="32" readonly="readonly" class="form-control"/>
|
|
|
|
+ </td>
|
|
|
|
+ <%-- <td class="text-center op-td" >--%>
|
|
|
|
+ <%-- {{#delBtn}}<span class="op-btn op-btn-delete" onclick="delRow(this, '#workInvoiceProjectRelationList{{idx}}')" title="删除"><i class="glyphicon glyphicon-remove"></i> 删除</span>{{/delBtn}}--%>
|
|
|
|
+ <%-- </td>--%>
|
|
|
|
+ </tr>
|
|
|
|
+ </c:forEach>
|
|
|
|
+ </tbody>
|
|
|
|
+ </table>
|
|
</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 htmlEscape="false" readonly="true" class="form-control layui-input" value="${workInvoice.office.name}"/>--%>
|
|
|
|
- <%--</div>--%>
|
|
|
|
- <%--</div>--%>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="form-group layui-row first lw14">
|
|
<div class="form-group layui-row first lw14">
|
|
<div class="form-group-label"><h2>发票详情</h2></div>
|
|
<div class="form-group-label"><h2>发票详情</h2></div>
|
|
@@ -170,12 +167,19 @@
|
|
<input htmlEscape="false" readonly="true" style="background-color: #f1f1f1" class="form-control layui-input" value="<fmt:formatDate value="${workInvoice.invoiceDate}" pattern="yyyy-MM-dd"/>"/>
|
|
<input htmlEscape="false" readonly="true" style="background-color: #f1f1f1" class="form-control layui-input" value="<fmt:formatDate value="${workInvoice.invoiceDate}" pattern="yyyy-MM-dd"/>"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="layui-item layui-col-sm6">
|
|
|
|
+ <label class="layui-form-label">对账人:</label>
|
|
|
|
+ <div class="layui-input-block with-icon">
|
|
|
|
+ <input type="text" readonly="true" value="${workInvoice.accountCheckingUserName}" class="form-control layui-input" style="background-color: #f1f1f1" >
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
<div class="layui-item layui-col-sm12">
|
|
<div class="layui-item layui-col-sm12">
|
|
<label class="layui-form-label">领票时间:</label>
|
|
<label class="layui-form-label">领票时间:</label>
|
|
<div class="layui-input-block">
|
|
<div class="layui-input-block">
|
|
<input htmlEscape="false" readonly="true" style="background-color: #f1f1f1" class="form-control layui-input" value="<fmt:formatDate value="${workInvoice.takeDate}" pattern="yyyy-MM-dd"/>"/>
|
|
<input htmlEscape="false" readonly="true" style="background-color: #f1f1f1" class="form-control layui-input" value="<fmt:formatDate value="${workInvoice.takeDate}" pattern="yyyy-MM-dd"/>"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
<div class="form-group layui-row">
|
|
<div class="form-group layui-row">
|
|
<div class="form-group-label"><h2>发票明细</h2></div>
|
|
<div class="form-group-label"><h2>发票明细</h2></div>
|