You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

103 lines
2.5 KiB

<html>
<head>
<meta charset="UTF-8"/>
<style type="text/css">
body {
color: #333333;
line-height: 1.2;
font-family: SimHei, Tahoma, Arial, sans-serif;
}
.table {
border-collapse: collapse;
border: 1px solid #aaa;
width: 100%;
}
.table th {
vertical-align: baseline;
padding: 10px 10px 10px 10px;
/* background-color: #3F3F3F; */
border: 2px solid rgb(109, 61, 18);
text-align: left;
color: rgb(109, 61, 18);
}
.table td {
vertical-align: text-top;
padding: 9px 9px 9px 9px;
border: 2px solid rgb(109, 61, 18);
}
.table tr:nth-child(odd) {
background-color: #F5F5F5;
}
.table tr:nth-child(even) {
background-color: #fff;
}
ul,
li {
list-style: none;
}
.col {
color: rgb(109, 61, 18)
}
.title {
text-align: center;
}
.info {
margin-top: 20px;
}
.info_title {
font-weight: 700;
}
.num {
margin-left: 200px
}
</style>
</head>
<body>
<h1 class="title col">
销售货物或者提供应税劳务清单
</h1>
<div class="info">
<p><span class="info_title col">购买方名称:</span> ${invoice.buyer}</p>
<p><span class="info_title col">销售方名称:</span> ${invoice.seller}</p>
<p><span class="info_title col">所属增值税普通发票代码:</span> ${invoice.invoiceCode} <span class="info_title num col">号码:</span>${invoice.invoiceNum}</p>
</div>
<table class="table">
<tbody>
<tr>
<th style="width:8%;">序号</th>
<th style="width:17%;">货物(劳务)名称</th>
<th style="width:17%;">规格型号</th>
<th style="width:8%;">单位</th>
<th style="width:8%;">数量</th>
<th style="width:8%;">单价</th>
<th style="width:8%;">金额</th>
<th style="width:8%;">税率</th>
<th style="width:8%;">税额</th>
</tr>
#foreach ( $x in $lineList )
<tr>
<td>${x.rowNum}</td>
<td>${x.name}</td>
<td>${x.specification}</td>
<td>${x.unit}</td>
<td>${x.quantity}</td>
<td>${x.price}</td>
<td>${x.total}</td>
<td>${x.taxRate}</td>
<td>${x.tax}</td>
</tr>
#end
</tbody>
</table>
</body>
</html>