|
- <form id="edit-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">{:__('Create_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Payee_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-payee_id" data-rule="required" data-source="cf_suplier_info/getList" class="form-control selectpage" name="row[payee_id]" type="text" value="{$row.payee_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Memo')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-memo" data-rule="required" class="form-control" name="row[memo]" type="text" value="{$row.memo|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('File')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-file" class="form-control" size="50" name="row[file]" type="text" value="{$row.file|htmlentities}">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-file" class="btn btn-danger faupload" data-input-id="c-file" data-multiple="false" data-preview-id="p-file"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-file" class="btn btn-primary fachoose" data-input-id="c-file" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-file"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-file"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('状态')}:</label>
- <div class="col-xs-12 col-sm-8">
- {:Form::radios('row[status]', [1=>"已付款",2=>"回收中",3=>"已回收"],$row.status, ['data-rule'=>'required'])}
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Amount')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-amount" data-rule="required" class="form-control" step="0.01" name="row[amount]" type="number" value="{$row.amount|htmlentities}">
- </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-success btn-embossed disabled">{:__('OK')}</button>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|