完善发票管理
This commit is contained in:
parent
0f93cda537
commit
f7300cc1f0
@ -10,15 +10,15 @@
|
||||
<!-- 主体 -->
|
||||
{block name="body"}
|
||||
<form class="layui-form body-content">
|
||||
<h3 class="h3-title">开票信息</h3>
|
||||
<h3 class="h3-title">申请开票</h3>
|
||||
{if condition="($id == 0)"}
|
||||
<table class="layui-table">
|
||||
<tr>
|
||||
<td class="layui-td-gray">开票金额<span style="color: red">*</span></td>
|
||||
<td>
|
||||
<input type="text" class="layui-input" name="amount" lay-verify="required" placeholder="请输入开票金额" lay-reqText="请输入开票金额" value="">
|
||||
<input type="text" class="layui-input" name="amount" lay-verify="required|number" placeholder="请输入开票金额" lay-reqText="请输入开票金额" value="">
|
||||
</td>
|
||||
<td class="layui-td-gray2">开票类型<span style="color: red">*</span></td>
|
||||
<td class="layui-td-gray">开票类型<span style="color: red">*</span></td>
|
||||
<td>
|
||||
<select name="invoice_type" lay-verify="required" lay-reqText="请选择开票类型">
|
||||
<option value="">请选择开票类型</option>
|
||||
@ -26,20 +26,20 @@
|
||||
<option value="2">增值税普通发票</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="layui-td-gray2">发票审核人<span style="color: red">*</span></td>
|
||||
<td class="layui-td-gray">开票主体<span style="color: red">*</span></td>
|
||||
<td>
|
||||
<select name="invoice_type" lay-verify="required" lay-reqText="请选择开票类型">
|
||||
<option value="">请选择开票类型</option>
|
||||
<option value="1">增值税专用发票</option>
|
||||
<option value="2">增值税普通发票</option>
|
||||
<option value="">请选择开票主体</option>
|
||||
<option value="1">勾股科技有限公司</option>
|
||||
<option value="2">勾股信息有限公司</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="layui-td-gray2">抬头类型<span style="color: red">*</span></td>
|
||||
<td class="layui-td-gray">抬头类型<span style="color: red">*</span></td>
|
||||
<td>
|
||||
<input type="radio" name="status" value="1" title="企业" checked>
|
||||
<input type="radio" name="status" value="2" title="个人">
|
||||
<input type="radio" name="type" value="1" title="企业" checked>
|
||||
<input type="radio" name="type" value="2" title="个人">
|
||||
</td>
|
||||
<td class="layui-td-gray">开票抬头<span style="color: red">*</span></td>
|
||||
<td><input type="text" name="invoice_title" class="layui-input" value=""></td>
|
||||
@ -49,30 +49,42 @@
|
||||
<tr>
|
||||
<td class="layui-td-gray2">纳税人识别号<span style="color: red">*</span></td>
|
||||
<td><input type="text" name="invoice_tax" class="layui-input" value=""></td>
|
||||
<td class="layui-td-gray2">开户行<span style="color: red">*</span></td>
|
||||
<td class="layui-td-gray">开户行<span style="color: red">*</span></td>
|
||||
<td><input type="text" name="invoice_bank" class="layui-input" value=""></td>
|
||||
<td class="layui-td-gray2">银行账号<span style="color: red">*</span></td>
|
||||
<td><input type="text" name="invoice_banking" class="layui-input" value=""></td>
|
||||
<td class="layui-td-gray">银行账号<span style="color: red">*</span></td>
|
||||
<td><input type="text" name="invoice_account" class="layui-input" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="layui-td-gray2">银行营业网点<span style="color: red">*</span></td>
|
||||
<td><input type="text" name="invoice_banking" class="layui-input" value=""></td>
|
||||
<td class="layui-td-gray2">地址<span style="color: red">*</span></td>
|
||||
<td class="layui-td-gray">地址<span style="color: red">*</span></td>
|
||||
<td colspan="3"><input type="text" name="invoice_address" class="layui-input" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="layui-td-gray2">备注信息</td>
|
||||
<td class="layui-td-gray">备注信息</td>
|
||||
<td colspan="5"><textarea name="remark" placeholder="请输入备注信息" class="layui-textarea"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="layui-td-gray">发票审核人<span style="color: red">*</span></td>
|
||||
<td colspan="5">
|
||||
<div style="width:300px;">
|
||||
<select name="invoice_type" lay-verify="required" lay-reqText="请选择开票类型">
|
||||
<option value="">请选择发票审核人</option>
|
||||
<option value="1">张三丰</option>
|
||||
<option value="2">赵武六</option>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else/}
|
||||
<table class="layui-table">
|
||||
<tr>
|
||||
<td class="layui-td-gray">开票金额<span style="color: red">*</span></td>
|
||||
<td>
|
||||
<input type="text" class="layui-input" name="amount" lay-verify="required" placeholder="请输入开票金额" lay-reqText="请输入开票金额" value="">
|
||||
<input type="text" class="layui-input" name="amount" lay-verify="required|number" placeholder="请输入开票金额" lay-reqText="请输入开票金额" value="">
|
||||
</td>
|
||||
<td class="layui-td-gray2">开票类型<span style="color: red">*</span></td>
|
||||
<td class="layui-td-gray">开票类型<span style="color: red">*</span></td>
|
||||
<td>
|
||||
<select name="invoice_type" lay-verify="required" lay-reqText="请选择开票类型">
|
||||
<option value="">请选择开票类型</option>
|
||||
@ -80,20 +92,20 @@
|
||||
<option value="2">增值税普通发票</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="layui-td-gray2">发票审核人<span style="color: red">*</span></td>
|
||||
<td class="layui-td-gray">开票主体<span style="color: red">*</span></td>
|
||||
<td>
|
||||
<select name="invoice_type" lay-verify="required" lay-reqText="请选择开票类型">
|
||||
<option value="">请选择开票类型</option>
|
||||
<option value="1">增值税专用发票</option>
|
||||
<option value="2">增值税普通发票</option>
|
||||
<option value="">请选择开票主体</option>
|
||||
<option value="1">勾股科技有限公司</option>
|
||||
<option value="2">勾股信息有限公司</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="layui-td-gray2">抬头类型<span style="color: red">*</span></td>
|
||||
<td class="layui-td-gray">抬头类型<span style="color: red">*</span></td>
|
||||
<td>
|
||||
<input type="radio" name="status" value="1" title="企业" checked>
|
||||
<input type="radio" name="status" value="2" title="个人">
|
||||
<input type="radio" name="type" value="1" title="企业" checked>
|
||||
<input type="radio" name="type" value="2" title="个人">
|
||||
</td>
|
||||
<td class="layui-td-gray">开票抬头<span style="color: red">*</span></td>
|
||||
<td><input type="text" name="invoice_title" class="layui-input" value=""></td>
|
||||
@ -103,21 +115,34 @@
|
||||
<tr>
|
||||
<td class="layui-td-gray2">纳税人识别号<span style="color: red">*</span></td>
|
||||
<td><input type="text" name="invoice_tax" class="layui-input" value=""></td>
|
||||
<td class="layui-td-gray2">开户行<span style="color: red">*</span></td>
|
||||
<td class="layui-td-gray">开户行<span style="color: red">*</span></td>
|
||||
<td><input type="text" name="invoice_bank" class="layui-input" value=""></td>
|
||||
<td class="layui-td-gray2">银行账号<span style="color: red">*</span></td>
|
||||
<td><input type="text" name="invoice_banking" class="layui-input" value=""></td>
|
||||
<td class="layui-td-gray">银行账号<span style="color: red">*</span></td>
|
||||
<td><input type="text" name="invoice_account" class="layui-input" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="layui-td-gray2">银行营业网点<span style="color: red">*</span></td>
|
||||
<td><input type="text" name="invoice_banking" class="layui-input" value=""></td>
|
||||
<td class="layui-td-gray2">地址<span style="color: red">*</span></td>
|
||||
<td class="layui-td-gray">地址<span style="color: red">*</span></td>
|
||||
<td colspan="3"><input type="text" name="invoice_address" class="layui-input" value=""></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="layui-td-gray2">备注信息</td>
|
||||
<td class="layui-td-gray">备注信息</td>
|
||||
<td colspan="5"><textarea name="remark" placeholder="请输入备注信息" class="layui-textarea"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="layui-td-gray">发票审核人<span style="color: red">*</span></td>
|
||||
<td colspan="5">
|
||||
<div style="width:300px;">
|
||||
<select name="invoice_type" lay-verify="required" lay-reqText="请选择开票类型">
|
||||
<option value="">请选择发票审核人</option>
|
||||
<option value="1">张三丰</option>
|
||||
<option value="2">赵武六</option>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
<div class="layui-form-item" style="padding-top:10px;">
|
||||
|
@ -578,23 +578,24 @@ CREATE TABLE `oa_invoice` (
|
||||
`sid` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '关联发票主体ID',
|
||||
`cash_type` tinyint(1) UNSIGNED NULL DEFAULT 1 COMMENT '付款方式:1现金 2转账 3微信支付 4支付宝 5信用卡 6支票 7其他',
|
||||
`is_cash` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '是否直接到账:0否 1是',
|
||||
`remark` text NULL COMMENT '备注',
|
||||
`amount` decimal(15, 2) NULL DEFAULT 0.00 COMMENT '发票金额',
|
||||
`enter_amount` decimal(15, 2) NULL DEFAULT 0.00 COMMENT '到账金额',
|
||||
`did` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '开发票部门',
|
||||
`admin_id` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '发票申请人',
|
||||
`check_admin_id` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '发票审核人',
|
||||
`open_admin_id` int(10) UNSIGNED NOT NULL DEFAULT 0 COMMENT '发票开具人',
|
||||
`type` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '抬头类型:1企业2个人',
|
||||
`invoice_type` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '发票类型:1增值税专用发票2增值税普通发票',
|
||||
`invoice_tax` varchar(100) NOT NULL DEFAULT '' COMMENT '纳税人识别号',
|
||||
`invoice_title` varchar(100) NOT NULL DEFAULT '' COMMENT '纳税人名称',
|
||||
`invoice_bank` varchar(100) NOT NULL DEFAULT '' COMMENT '开户银行',
|
||||
`invoice_banking` varchar(100) NOT NULL DEFAULT '' COMMENT '银行营业网点',
|
||||
`invoice_account` varchar(100) NOT NULL DEFAULT '' COMMENT '银行账号',
|
||||
`invoice_phone` varchar(100) NOT NULL DEFAULT '' COMMENT '电话号码',
|
||||
`invoice_tax` varchar(100) NOT NULL DEFAULT '' COMMENT '纳税人识别号',
|
||||
`invoice_bank` varchar(100) NOT NULL DEFAULT '' COMMENT '开户银行',
|
||||
`invoice_account` varchar(100) NOT NULL DEFAULT '' COMMENT '银行账号',
|
||||
`invoice_banking` varchar(100) NOT NULL DEFAULT '' COMMENT '银行营业网点',
|
||||
`invoice_address` varchar(100) NOT NULL DEFAULT '' COMMENT '地址',
|
||||
`invoice_status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '发票状态:0审核不通过 1审核中 2审核通过 3待开具 4已开具 5部分到账 6全部到账 10已作废',
|
||||
`check_remark` text NULL COMMENT '审核不通过的理由',
|
||||
`remark` text NULL COMMENT '备注',
|
||||
`status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '状态:-1删除 0禁用 1正常',
|
||||
`enter_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '最新到账时间',
|
||||
`create_time` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '创建时间',
|
||||
|
Loading…
x
Reference in New Issue
Block a user