2023-01-30 17:45:55 +08:00

72 lines
4.3 KiB
HTML

<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">{:__('区域')}:</label>-->
<!-- <div class="col-xs-12 col-sm-8">-->
<!-- <div class="form-inline" data-toggle="cxselect" data-selects="area,street,village">-->
<!-- &lt;!&ndash; <select class="province form-control" name="row[province_code]" data-url="ajax/getaddress">&ndash;&gt;-->
<!-- &lt;!&ndash; <option value="510000"></option>&ndash;&gt;-->
<!-- &lt;!&ndash; </select>&ndash;&gt;-->
<!-- &lt;!&ndash; <select class="city form-control" name="row[city_code]" data-query-name="province" data-url="ajax/getaddress">&ndash;&gt;-->
<!-- &lt;!&ndash; <option value="510500"></option>&ndash;&gt;-->
<!-- &lt;!&ndash; </select>&ndash;&gt;-->
<!-- <select class="area form-control" name="row[county]" data-query-name="city" data-url="ajax/getaddress">-->
<!-- <option value="{$row.county|htmlentities}"></option>-->
<!-- </select>-->
<!-- <select class="street form-control" name="row[township]" data-query-name="area" data-url="ajax/getaddress">-->
<!-- <option value="{$row.township|htmlentities}"></option>-->
<!-- </select>-->
<!-- <select class="village form-control" name="row[village]" data-query-name="street" data-url="ajax/getaddress">-->
<!-- <option value="{$row.village|htmlentities}"></option>-->
<!-- </select>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Branch_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-party_branch" data-rule="required" data-source="party.branch/index" data-field="name" class="form-control selectpage" name="row[branch_id]" type="text" value="{$row.branch_id}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Pay_list_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-pay_list_id" data-rule="required" data-source="party.branchpaylist/index" data-field="id" class="form-control selectpage" name="row[pay_list_id]" type="text" value="{$row.pay_list_id}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-user_id" data-rule="required" data-source="user.usermsg/index" data-field="name" data-primary-key="user_id" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Start_time')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-start_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[start_time]" type="text" value="{$row.start_time}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Count')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-count" data-rule="required" class="form-control" name="row[count]" type="number" value="{$row.count}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Pay')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="c-pay" data-rule="required" class="form-control" step="0.01" name="row[pay]" type="number" value="{$row.pay}">
</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>