batch_team.html
5.8 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
<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
{:token()}
<div class=" form-group">
<label for="c-group_id" class="control-label col-xs-12 col-sm-2 ">{:__('应用部门')}:</label>
<div class="col-xs-12 col-sm-8">
{:build_select('row[group_id]', $groupdata, '', ['class'=>'form-control selectpicker', 'id'=>'c-group_id'])}
<span class="help-block"></span>
</div>
</div>
<div class="form-group">
<label for="c-config" class="control-label col-xs-12 col-sm-2">{:__('业绩方式')}:</label>
<div class="col-xs-12 col-sm-8">
<select class="form-control selectpicker" data-rule="required" name="row[config]" id="c-config">
<option value="1">{:__('合同金额')}</option>
<option value="2">{:__('回款金额')}</option>
</select>
</div>
</div>
<div class="form-group">
<label for="c-year" class="control-label col-xs-12 col-sm-2">{:__('年份')}:</label>
<div class="col-xs-12 col-sm-8">
<input type="text" class="form-control datetimepicker" id="c-year" name="row[year]" value="{:date('Y')}" data-rule="required" data-date-format="YYYY" />
</div>
</div>
<div class="form-group">
<label for="c-yeartarget" class="control-label col-xs-12 col-sm-2">{:__('全年业绩')}:</label>
<div class="col-xs-12 col-sm-8">
<div class="input-group">
<input type="number" class="form-control" id="c-yeartarget" name="row[yeartarget]" value="" />
<div class="input-group-addon no-border no-padding">
<span><button type="button" id="average" class="btn btn-primary " > {:__('平均每月')}</button></span>
</div>
</div>
<span class="text-gray">可留空,会自动计算</span>
</div>
</div>
<div class="average_month">
<div class="form-group">
<label for="c-january" class="control-label col-xs-12 col-sm-2">{:__('1月')}:</label>
<div class="col-xs-12 col-sm-8">
<input type="number" class="form-control" id="c-january" name="row[january]" value="" />
</div>
</div>
<div class="form-group">
<label for="c-february" class="control-label col-xs-12 col-sm-2">{:__('2月')}:</label>
<div class="col-xs-12 col-sm-8">
<input type="number" class="form-control" id="c-february" name="row[february]" value="" />
</div>
</div>
<div class="form-group">
<label for="c-march" class="control-label col-xs-12 col-sm-2">{:__('3月')}:</label>
<div class="col-xs-12 col-sm-8">
<input type="number" class="form-control" id="c-march" name="row[march]" value="" />
</div>
</div>
<div class="form-group">
<label for="c-april" class="control-label col-xs-12 col-sm-2">{:__('4月')}:</label>
<div class="col-xs-12 col-sm-8">
<input type="number" class="form-control" id="c-april" name="row[april]" value="" />
</div>
</div>
<div class="form-group">
<label for="c-may" class="control-label col-xs-12 col-sm-2">{:__('5月')}:</label>
<div class="col-xs-12 col-sm-8">
<input type="number" class="form-control" id="c-may" name="row[may]" value="" />
</div>
</div>
<div class="form-group">
<label for="c-june" class="control-label col-xs-12 col-sm-2">{:__('6月')}:</label>
<div class="col-xs-12 col-sm-8">
<input type="number" class="form-control" id="c-june" name="row[june]" value="" />
</div>
</div>
<div class="form-group">
<label for="c-july" class="control-label col-xs-12 col-sm-2">{:__('7月')}:</label>
<div class="col-xs-12 col-sm-8">
<input type="number" class="form-control" id="c-july" name="row[july]" value="" />
</div>
</div>
<div class="form-group">
<label for="c-august" class="control-label col-xs-12 col-sm-2">{:__('8月')}:</label>
<div class="col-xs-12 col-sm-8">
<input type="number" class="form-control" id="c-august" name="row[august]" value="" />
</div>
</div>
<div class="form-group">
<label for="c-september" class="control-label col-xs-12 col-sm-2">{:__('9月')}:</label>
<div class="col-xs-12 col-sm-8">
<input type="number" class="form-control" id="c-september" name="row[september]" value="" />
</div>
</div>
<div class="form-group">
<label for="c-october" class="control-label col-xs-12 col-sm-2">{:__('10月')}:</label>
<div class="col-xs-12 col-sm-8">
<input type="number" class="form-control" id="c-october" name="row[october]" value="" />
</div>
</div>
<div class="form-group">
<label for="c-november" class="control-label col-xs-12 col-sm-2">{:__('11月')}:</label>
<div class="col-xs-12 col-sm-8">
<input type="number" class="form-control" id="c-november" name="row[november]" value="" />
</div>
</div>
<div class="form-group">
<label for="c-december" class="control-label col-xs-12 col-sm-2">{:__('12月')}:</label>
<div class="col-xs-12 col-sm-8">
<input type="number" class="form-control" id="c-december" name="row[december]" value="" />
</div>
</div>
</div>
<div class="form-group hidden layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">
<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
</div>
</div>
</form>