Commit e0f775f9 by unknown

赛事订单发票后台

parent 5de9e9e3
<!-- 发票模块 -->
<div class="div-contact">
<input id="invoice" type="checkbox" value="1" onclick="showInvoiceContent()"/><font size="4px">发票</font>
</div>
<div class = "div-invoice" style="display:none">
<#if orderBean.invoiceBean??>
<form id="invoiceForm" action="/eventActivityOrder/updateInvoice" method="POST">
<table class="table-font table table-bordered table-striped">
<tr>
<th colspan="4">发票信息</th>
</tr>
<tr>
<td>发票类型</td>
<td colspan="3">
<#if orderBean.invoiceBean.taxType??>
<input type="radio" name="taxType" value="1" <#if orderBean.invoiceBean.taxType == 1>checked="checked"</#if> />个人
<input type="radio" name="taxType" value="2" <#if orderBean.invoiceBean.taxType == 2>checked="checked"</#if> />单位
<#else>
<input type="radio" name="taxType" value="1" />个人
<input type="radio" name="taxType" value="2" />单位
</#if>
</td>
</tr>
<tr>
<td>发票抬头</td><td colspan="3"><input class="input-large" type="text" style="height:30px" name="title" value="${(orderBean.invoiceBean.title)!}"/></td>
</tr>
<tr>
<td>纳税人识别号</td><td colspan="3"><input class="input-large" type="text" style="height:30px" name="taxIdNum" value="${(orderBean.invoiceBean.taxIdNum)!}"/></td>
</tr>
<tr>
<td>地址、电话</td><td colspan="3"><input class="input-large" type="text" style="height:30px" name="taxIdContactWay" value="${(orderBean.invoiceBean.taxIdContactWay)!}"/></td>
</tr>
<tr>
<td>开户行及账号</td><td colspan="3"><input class="input-large" type="text" style="height:30px" name="taxIdBankAccount" value="${(orderBean.invoiceBean.taxIdBankAccount)!}"/></td>
</tr>
<tr>
<td>收件地址</td><td colspan="3"><input class="input-large" type="text" style="height:30px" name="address" value="${(orderBean.invoiceBean.address)!}"/></td>
</tr>
<tr>
<td>联系人</td><td><input class="input-medium" type="text" name="contracts" style="height:30px" value="${(orderBean.invoiceBean.contracts)!}"/></td>
<td>电话</td><td><input class="input-medium" type="text" name="mobileNo" style="height:30px" value="${(orderBean.invoiceBean.mobileNo)!}"/></td>
</tr>
<tr>
<input id="specType" type="hidden" value="${(orderBean.invoiceBean.specType)!}"/>
<input id="specTypeValue" type="hidden" value="${(orderBean.invoiceBean.specTypeString)!}"/>
<input id="feeType" type="hidden" value="${(orderBean.invoiceBean.feeType)!}"/>
<input id="feeTypeString" type="hidden" value="${(orderBean.invoiceBean.feeTypeString)!}"/>
<td>发票类型</td><td><select class="input-medium" name="specType">
<option value="N">普通开票</option>
<option value="S">拆分开票</option>
<option value="M">合并开票</option>
</select></td>
<td>开票明细</td><td><select class="input-medium" name="feeType">
<option value="1">服务费</option>
<option value="2">会务费</option>
</select></td>
</tr>
<tr>
<td>开票金额</td><td colspan="3"><input class="input-medium" type="number" style="height:30px" name="amount" value="${(orderBean.invoiceBean.amount)!}"/></td>
</tr>
<tr>
<td>备注</td><td colspan="3"><textarea name="remark" class="input-large">${(orderBean.invoiceBean.remark)!"无"}</textarea></td>
</tr>
<input type="hidden" name="invoiceId" value="${(orderBean.invoiceBean.invoiceId)!}"/>
<input type="hidden" name="current" value="${current!}"/>
<input type="hidden" name="orderId" value="${orderBean.orderId!}"/>
<tr><td></td><td colspan="3"><button type="button" onclick="javascript:submitInvoiceForm()">保存</button></td></tr>
</table>
</form>
<#else>
<form id="invoiceForm" action="/eventActivityOrder/addInvoice" method="POST">
<table class="table-font table table-bordered table-striped">
<tr>
<th colspan="4">发票信息</th>
</tr>
<tr>
<td>发票类型</td>
<td colspan="3">
<input type="radio" name="taxType" value="1" onclick="" />个人
<input type="radio" name="taxType" value="2" />单位
</td>
</tr>
<tr>
<td>发票抬头</td><td colspan="3"><input class="input-large" style="height:30px" type="text" name="title"/></td>
</tr>
<tr>
<td>纳税人识别号</td><td colspan="3"><input class="input-large" style="height:30px" type="text" name="taxIdNum"/></td>
</tr>
<tr>
<td>地址、电话</td><td colspan="3"><input class="input-large" style="height:30px" type="text" name="taxIdContactWay"/></td>
</tr>
<tr>
<td>开户行及账号</td><td colspan="3"><input class="input-large" style="height:30px" type="text" name="taxIdBankAccount"/></td>
</tr>
<tr>
<td>收件地址</td><td colspan="3"><input class="input-large" style="height:30px" type="text" name="address"/></td>
</tr>
<tr>
<td>联系人</td><td><input class="input-medium" type="text" style="height:30px" name="contracts"/></td>
<td>电话</td><td><input class="input-medium" type="text" style="height:30px" name="mobileNo"/></td>
</tr>
<tr>
<td>发票类型</td><td><select class="input-medium" name="specType">
<option value="N">普通开票</option>
<option value="S">拆分开票</option>
<option value="M">合并开票</option>
</select></td>
<td>开票明细</td><td><select class="input-medium" name="feeType">
<option value="2">会务</option>
<option value="1">服务</option>
</select></td>
</tr>
<tr>
<td>开票金额</td><td colspan="3"><input class="input-medium" type="number" style="height:30px" name="amount"/></td>
</tr>
<tr>
<td>备注</td><td colspan="3"><textarea name="remark" class="input-large"></textarea></td>
</tr>
<input type="hidden" name="current" value="${current!}"/>
<input type="hidden" name="orderId" value="${orderBean.orderId!}"/>
<tr>
<td></td>
<td colspan="3">
<button type="button" onclick="javascript:submitInvoiceForm()">添加发票</button>
</br><font color="red">备注:请确认客户已支付发票费用(可通过抵扣积分、线下转账等途径完成)</font>
</td>
</tr>
</table>
</form>
</#if>
</div>
......@@ -32,6 +32,7 @@
<script id="confirm-template" type="text/x-handlebars-template">
<#include "../common/description.ftl">
<#include "../common/invoiceInfo.ftl">
</script>
</@com.layout>
......@@ -32,6 +32,7 @@
<script id="confirm-template" type="text/x-handlebars-template">
<#include "../common/description.ftl">
<#include "../common/invoiceInfo.ftl">
<div class = "div-button">
<a href="javascript:;" onclick="refund()" class="btn btn-primary btn-large">退单</a>
</div>
......
......@@ -32,6 +32,7 @@
<script id="confirm-template" type="text/x-handlebars-template">
<#include "../common/description.ftl">
<#include "../common/invoiceInfo.ftl">
<form id="form" action = "/eventActivityOrder/confirmEventActivityOrderResource" method="post">
<#include "../common/orderPayInfoEdit.ftl">
</form>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment