Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e0f775f9
authored
May 02, 2018
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赛事订单发票后台
parent
5de9e9e3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
134 additions
and
0 deletions
src/main/webapp/WEB-INF/templates/eventActivityOrder/common/invoiceInfo.ftl
src/main/webapp/WEB-INF/templates/eventActivityOrder/detail/orderDetail.ftl
src/main/webapp/WEB-INF/templates/eventActivityOrder/detail/orderDetailWithRefund.ftl
src/main/webapp/WEB-INF/templates/eventActivityOrder/detail/waitingDealDetail.ftl
src/main/webapp/WEB-INF/templates/eventActivityOrder/common/invoiceInfo.ftl
0 → 100644
View file @
e0f775f9
<!-- 发票模块 -->
<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>
src/main/webapp/WEB-INF/templates/eventActivityOrder/detail/orderDetail.ftl
View file @
e0f775f9
...
...
@@ -32,6 +32,7 @@
<script id="confirm-template" type="text/x-handlebars-template">
<#include "../common/description.ftl">
<#include "../common/invoiceInfo.ftl">
</script>
</@com.layout>
src/main/webapp/WEB-INF/templates/eventActivityOrder/detail/orderDetailWithRefund.ftl
View file @
e0f775f9
...
...
@@ -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>
...
...
src/main/webapp/WEB-INF/templates/eventActivityOrder/detail/waitingDealDetail.ftl
View file @
e0f775f9
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment