index.html
7.3 KB
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
<div class="pageheader">
<div class="media">
<div class="pageicon pull-left">
<i class="fa fa-th-list"></i>
</div>
<div class="media-body">
<ul class="breadcrumb">
<li><a href=""><i class="glyphicon glyphicon-home"></i></a></li>
<li><a href="">合同管理</a></li>
<li>合同创建</li>
</ul>
<div>
<div style="width: 30%;float: left;">
<h4>合同创建</h4>
</div>
</div>
</div>
</div>
</div>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
{{# isadd}}
<div class="panel-heading">
<a href="/supplier/agreement/add" class="btn btn-success"><i class="fa fa-plus"></i> 创建合同</a>
</div>
{{/ isadd}}
<div class="panel-body">
<div class="row">
{{# dropdownstatus}}
<select name="status" id="status" style="width:150px;" tabindex="-1" title="" class="select2-offscreen">
<option value="0" selected="">选择状态</option>
<option value="100">暂存</option>
<option value="500">审核中</option>
<option value="900">审核驳回</option>
</select>
{{/ dropdownstatus}}
<select name="supplier-id" id="supplier-name" style="width:280px;" tabindex="-1" title="" class="select2-offscreen">
<option value="">选择供应商</option>
{{# supplier}}
<option value="{{value}}">{{name}}</option>
{{/ supplier}}
</select>
<select name="brand-id" id="brand-id" style="width:150px;" tabindex="-1" title="" class="select2-offscreen">
<option value="">选择品牌</option>
{{# brandName}}
<option value="{{value}}">{{name}}</option>
{{/ brandName}}
</select>
<button class="btn btn-info" type="submit">查询</button>
<a href="/erpproduct/brands/index" class="btn btn-info">全部</a>
</div>
</div>
</div>
<div class="panel panel-primary-head">
<div id="basicTable_wrapper" class="dataTables_wrapper no-footer">
<div class="dataTables_length" id="basicTable_length">
<table id="basicTable" class="table table-striped table-bordered responsive dataTable no-footer" role="grid" aria-describedby="basicTable_info">
<thead class="">
<tr role="row">
<th>合同名称/编号</th>
<th>供应商/包含品牌</th>
<th>经营模式</th>
<th>合同属性</th>
<th>有效期</th>
<th>操作</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<nav>
<ul id="pagination" class="pagination pagination-lg" data-page="{{pagination}}"></ul>
</nav>
</div>
</div>
</div>
<input type="hidden" value="{{buttons}}" id="btnAuthority" />
<div class="modal fade" id="modify-pact" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">修改合同编号</h4>
</div>
<div class="modal-body">
<div class="panel panel-default">
<div class="panel-body">
<div class="form-group">
<label class="col-sm-3 control-label">合同编号</label>
<div class="col-sm-9">
<input id="agreement-code" type="text" class="form-control" name="agreement-code" style="width:280px;" placeholder="合同编号">
</div>
</div>
</div>
<div class="panel-footer">
<div class="row">
<div class="col-sm-9 col-sm-offset-3">
<input type="hidden" name="agreement_id" value="695">
<button id="modify-pact-submit" class="btn btn-success" data-loading-text="提交中...">提交</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="relieve-pact" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">温馨提示</h4>
</div>
<div class="modal-body">确定要解除该合同吗?</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
<button type="button" id="postBtn" class="btn btn-primary">确定</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="renew-pact" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">修改合同编号</h4>
</div>
<div class="modal-body">
<div class="panel panel-default">
<div class="panel-body">
<div class="form-group">
<label class="col-sm-3 control-label">续约至</label>
<div class="col-sm-9">
<input id="renew-date" type="text" class="form-control" name="renew-date" style="width:280px;">
</div>
</div>
</div><!-- panel-body -->
<div class="panel-footer">
<div class="row">
<div class="col-sm-9 col-sm-offset-3">
<input type="hidden" name="agreement_id" value="695">
<button id="renew-pact-submit" class="btn btn-success" data-loading-text="提交中...">提交</button>
</div>
</div>
</div><!-- panel-footer -->
</div>
</div>
</div>
</div>
</div>