123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214 |
- <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">{:__('Cid')}:</label>-->
- <!-- <div class="col-xs-12 col-sm-8">-->
- <!-- <input id="c-cid" class="form-control" name="row[cid]" type="number">-->
- <!-- </div>-->
- <!--</div>-->
- {eq name="admin.cid" value="0"}
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Cid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-cid" data-rule="required" data-source="Company" data-field="company_name" class="form-control selectpage" name="row[cid]" type="text" >
- </div>
- </div>
- {else/}
- <input id="c-cid" name="row[cid]" type="hidden" value="{$admin.cid}">
- {/eq}
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-uid" class="form-control" name="row[uid]" type="number">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-name" class="form-control" name="row[name]" type="text">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Project_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-project_id" data-rule="required" data-source="project/project_donation" data-field="title" class="form-control selectpage" name="row[project_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Project_user_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-project_user_id" data-rule="required" data-source="project/user/index" class="form-control selectpage" name="row[project_user_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Total_num')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-total_num" class="form-control" name="row[total_num]" type="number">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Order_sn')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-order_sn" class="form-control" name="row[order_sn]" type="text">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Order_status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="orderStatusList" item="vo"}
- <label for="row[order_status]-{$key}"><input id="row[order_status]-{$key}" name="row[order_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">{:__('Add_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-add_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[add_time]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Delivery_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-delivery_name" class="form-control" name="row[delivery_name]" type="text">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Delivery_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-delivery_id" data-rule="required" data-source="delivery/index" class="form-control selectpage" name="row[delivery_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Delivery_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-delivery_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[delivery_time]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Verify_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-verify_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[verify_time]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Verify_admin')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-verify_admin" class="form-control" name="row[verify_admin]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Verify_remark')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-verify_remark" class="form-control" name="row[verify_remark]" type="text">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Receiving_admin')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-receiving_admin" class="form-control" name="row[receiving_admin]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Receiving_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-receiving_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[receiving_time]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Receiving_remark')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-receiving_remark" class="form-control" name="row[receiving_remark]" type="text">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Matter')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-matter" class="form-control" name="row[matter]" type="text">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Matter')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-matter" data-rule="required" class="form-control" size="200" name="row[matter]" type="text">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-matter" class="btn btn-danger faupload" data-input-id="c-matter" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-matter"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-matter" class="btn btn-primary fachoose" data-input-id="c-matter" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-matter"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-matter"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Qc')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-qc" class="form-control" name="row[qc]" type="text">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Worth')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-worth" class="form-control" name="row[worth]" type="text">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Total_amount')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-total_amount" class="form-control" step="0.01" name="row[total_amount]" type="number" value="0.00">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Logistics')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-logistics" class="form-control" name="row[logistics]" type="text" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Feedback')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-feedback" class="form-control" name="row[feedback]" type="text">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Feedback_admin')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-feedback_admin" class="form-control" name="row[feedback_admin]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Feedback_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-feedback_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[feedback_time]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Out_delivery_admin')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-out_delivery_admin" class="form-control" name="row[out_delivery_admin]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Out_delivery_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-out_delivery_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[out_delivery_time]" type="text" value="{:date('Y-m-d H:i:s')}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Out_delivery_remark')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-out_delivery_remark" class="form-control" name="row[out_delivery_remark]" type="text">
- </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>
|