123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Company_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-company_id" data-rule="required" data-source="company/index" data-field="companyname" class="form-control selectpage" name="row[company_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Uc_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-uc_id" data-rule="required" data-source="usercompany/index" data-field="projectname" class="form-control selectpage" name="row[uc_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Worker_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-worker_id" data-rule="required" data-source="worker/index" data-field="truename" class="form-control selectpage" name="row[worker_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Bianhao')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-bianhao" class="form-control" name="row[bianhao]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="statusList" item="vo"}
- <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="0"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Jiance_number')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-jiance_number" class="form-control" name="row[jiance_number]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Project_ids')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-project_ids" data-rule="required" data-source="project/index" data-multiple="true" class="form-control selectpage" name="row[project_ids]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Tongjitime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-tongjitime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[tongjitime]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group 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-primary btn-embossed disabled">{:__('OK')}</button>
- </div>
- </div>
- </form>
|