-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbill_manage.html
262 lines (260 loc) · 10.3 KB
/
bill_manage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=1280, initial-scale=1">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp">
<link rel="stylesheet" href="css/amazeui.min.css">
<link rel="stylesheet" href="icon/iconfont.css">
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/style.css">
<style type="text/css">
#ubill_managem1 .am-form-horizontal .am-radio-inline{
margin:5px 30px 0 0;
}
</style>
</head>
<body id="ubody">
<!-- header -->
<header id="uheader" class="am-topbar am-topbar-fixed-top">
<div class="am-topbar-brand ulogo">
<a href=""><img src="./img/logo.jpg"></a>
</div>
<div class="am-topbar-left utitle">河南奕之堂健康管理有限公司——唐人街老店</div>
<ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right unav">
<li>
<a href="javascript:;"><span class="iconfont icon-systemprompt_fill"></span> <span>消息</span></a>
</li>
<li class="am-dropdown" data-am-dropdown>
<a class="am-dropdown-toggle" href="javascript:;" data-am-dropdown-toggle>
<span class="iconfont icon-wode"></span> <span class="udropdown">收银员</span>
</a>
<ul class="am-dropdown-content umenu1">
<li><a href="#"><span class="am-icon-user am-icon-fw"></span>资料</a></li>
<li><a href="#"><span class="am-icon-cog am-icon-fw"></span>设置</a></li>
<li><a href="#"><span class="am-icon-power-off am-icon-fw"></span>退出</a></li>
</ul>
</li>
<li class="am-dropdown" data-am-dropdown>
<a class="am-dropdown-toggle" href="javascript:;" data-am-dropdown-toggle>
<span class="iconfont icon-dianpu1"></span> <span class="udropdown">转换为管理员</span>
</a>
<ul class="am-dropdown-content umenu1">
<li><a href="#"><span class="iconfont icon-question"></span> 唐人街老店</a></li>
<li><a href="#"><span class="iconfont icon-question"></span> 伏牛路新店</a></li>
<li><a href="#"><span class="iconfont icon-question"></span> 第八号当铺</a></li>
</ul>
</li>
</ul>
<a href="#" class="am-topbar-right uad">视频教程</a>
</header>
<!-- header end -->
<!-- left bar -->
<ul id="uleftbar" class="am-nav">
<li><a href="main.html"><span class="iconfont icon-caiwu-xianxing"></span> 收银</a></li>
<li><a href="user.html"><span class="iconfont icon-wsmp-payuser"></span> 会员</a></li>
<li><a href="appoint.html"><span class="iconfont icon-clock"></span> 预约</a></li>
<li><a href="detail.html"><span class="iconfont icon-tixing"></span> 提醒</a></li>
<li><a href="detail.html"><span class="iconfont icon-ziliao"></span> 明细</a></li>
<li class="am-dropdown" data-am-dropdown>
<a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle><span class="iconfont icon-jifen-xianxing"></span> 收支</a>
<ul class="am-dropdown-content umenu2 umenu2-two">
<li><a href="bill.html"><span class="iconfont icon-question"></span> 收支管理</a></li>
<li><a href="billtype.html"><span class="iconfont icon-question"></span> 收支分类</a></li>
</ul>
</li>
<li><a href="stock.html"><span class="iconfont icon-kucun"></span> 库存</a></li>
<li class="am-dropdown" data-am-dropdown>
<a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle><span class="iconfont icon-iconfont31quanbushangpin"></span> 商品</a>
<ul class="am-dropdown-content umenu2 umenu2-two">
<li><a href="#"><span class="iconfont icon-question"></span> 通用型商品</a></li>
<li><a href="#"><span class="iconfont icon-question"></span> 店铺型商品</a></li>
</ul>
</li>
<li class="am-dropdown" data-am-dropdown>
<a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle><span class="iconfont icon-setup"></span> 设置</a>
<ul class="am-dropdown-content umenu2 umenu2-one">
<li><a href="wechat.html"><span class="iconfont icon-question"></span> 打印设置</a></li>
</ul>
</li>
</ul>
<!-- left bar end -->
<!-- content -->
<div id="ubill_manage" class="gcontent">
<ul class="am-nav am-nav-pills ubread">
<li class="am-active"><a href="bill.html">收支管理</a></li>
<li><a href="billtype.html">收支分类</a></li>
</ul>
<div class="gspace15"></div>
<div class="utools">
<form class="am-form-inline uform2">
<div class="am-form-group">
收支类型:
<select class="uselect" data-am-selected name="">
<option value="all">全部</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</div>
<div class="am-form-group">
<button type="submit" class="am-btn ubtn-search">
<i class="iconfont icon-search"></i>查询
</button>
</div>
</form>
<button class="am-btn ubtn-sure ubtn-blue" data-am-modal="{target:'#ubillm1'}">
<i class="iconfont icon-addition"></i>
新增收支
</button>
</div>
<div class="gspace30"></div>
<table class="am-table am-table-bordered am-table-hover am-table-compact utable1">
<thead>
<tr>
<td>名称</td>
<td>分类</td>
<td>收/支</td>
<td>金额</td>
<td>备注</td>
<td>时间</td>
<td style="width:12%;">操作</td>
</tr>
</thead>
<tbody>
<tr>
<td>卖衣服</td>
<td>实物</td>
<td>收入</td>
<td>40¥</td>
<td>无</td>
<td>2010-5-20</td>
<td>
<button class="am-btn ubtn-table ubtn-green" data-am-modal="{target:'#ubillm2'}">
<i class="iconfont icon-bianji"></i>
编辑
</button>
<button class="am-btn ubtn-table ubtn-gray cdel">
<i class="iconfont icon-shanchu"></i>
删除
</button>
</td>
</tr>
</tbody>
</table>
<ul class="am-pagination am-pagination-centered upages">
<li class="upagedec">共1页 3条记录</li>
<li class="am-disabled"><a href="#">«</a></li>
<li class="am-active"><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">»</a></li>
</ul>
</div>
<!-- 弹出框添加 -->
<div class="am-modal" tabindex="-1" id="ubill_managem1">
<div class="am-modal-dialog umodal">
<div class="am-modal-hd uhead">新增收支
<a href="javascript: void(0)" class="am-close am-close-spin uclose" data-am-modal-close><img src="../img/close.jpg"></a>
</div>
<div class="am-modal-bd umain1">
<form class="am-form am-form-horizontal" id="cadd">
<div class="am-form-group">
<label class="am-u-lg-3 am-form-label" for="">类别</label>
<div class="am-u-lg-4 am-u-end">
<label class="am-radio-inline">
<input type="radio" name="radio1" value="0" data-am-ucheck> 支出
</label>
<label class="am-radio-inline">
<input type="radio" name="radio1" value="1" data-am-ucheck> 收入
</label>
</div>
</div>
<div class="am-form-group">
<label class="am-u-lg-3 am-form-label" for="">名称</label>
<div class="am-u-lg-4 am-u-end">
<input type="text" class="am-form-field uinput uinput-max">
</div>
</div>
<div class="am-form-group">
<label class="am-u-lg-3 am-form-label" for="">分类</label>
<div class="am-u-lg-4 am-u-end am-u-end">
<select class="uselect uselect-max" data-am-selected>
<option value="a">Apple</option>
<option value="b">Banana</option>
<option value="o">Orange</option>
<option value="m">Mango</option>
<option value="d">禁用</option>
</select>
</div>
</div>
<div class="am-form-group">
<label class="am-u-lg-3 am-form-label" for="">金额</label>
<div class="am-u-lg-4 am-u-end">
<input type="text" class="am-form-field uinput uinput-max">
</div>
</div>
<div class="am-form-group">
<label class="am-u-lg-3 am-form-label" for="">时间</label>
<div class="am-u-lg-4">
<div class="am-input-group am-datepicker-date udatepicker udatepicker-max" data-am-datepicker="{format:'yyyy-mm-dd'}">
<input type="text" class="am-form-field">
<span class="am-input-group-btn am-datepicker-add-on">
<button class="am-btn am-btn-default" type="button"><span class="am-icon-calendar"></span></button>
</span>
</div>
</div>
</div>
<div class="am-form-group">
<label class="am-u-lg-3 am-form-label" for="">备注</label>
<div class="am-u-lg-8">
<textarea class="am-form-field utextarea utextarea-max" row="3"></textarea>
</div>
</div>
</form>
</div>
<div class="am-modal-footer ufoot">
<div class="am-btn-group">
<button type="button" class="am-btn ubtn-sure ubtn-green cadd-form"><i class="iconfont icon-yuanxingxuanzhong"></i>
完成
</button>
</div>
</div>
</div>
</div>
<!-- 删除按钮弹出框 -->
<div id="cconfirm" class="am-modal am-modal-confirm" tabindex="-1">
<div class="am-modal-dialog uconfirm">
<div class="am-modal-hd uhead"><b>删 除 提 醒</b></div>
<div class="am-modal-bd">
你,确定要删除这条记录吗?
</div>
<div class="am-modal-footer">
<span class="am-modal-btn" data-am-modal-cancel>取消</span>
<span class="am-modal-btn" data-am-modal-confirm>确定</span>
</div>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/amazeui.min.js"></script>
<script type="text/javascript">
$(function() {
$('.cdel').on('click', function() {
$('#cconfirm').modal({
relatedTarget: this,
onConfirm: function(options) {
$(this.relatedTarget).parent('td').parent('tr').remove();
},
onCancel: function() {
return;
}
});
});
});
</script>
</body>
</html>