|
|
<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">{:__('User_id')}:</label>-->
|
|
|
<!--<div class="col-xs-12 col-sm-8">-->
|
|
|
<!--<input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">-->
|
|
|
<!--</div>-->
|
|
|
<!--</div>-->
|
|
|
<!--<div class="form-group">-->
|
|
|
<!--<label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>-->
|
|
|
<!--<div class="col-xs-12 col-sm-8">-->
|
|
|
<!--<input id="c-type" class="form-control" name="row[type]" type="number" value="{$row.type|htmlentities}">-->
|
|
|
<!--</div>-->
|
|
|
<!--</div>-->
|
|
|
<!--<div class="form-group">-->
|
|
|
<!--<label class="control-label col-xs-12 col-sm-2">{:__('Stores_id')}:</label>-->
|
|
|
<!--<div class="col-xs-12 col-sm-8">-->
|
|
|
<!--<input id="c-stores_id" data-rule="required" data-source="stores/index" class="form-control selectpage" name="row[stores_id]" type="text" value="{$row.stores_id|htmlentities}">-->
|
|
|
<!--</div>-->
|
|
|
<!--</div>-->
|
|
|
<!--<div class="form-group">-->
|
|
|
<!--<label class="control-label col-xs-12 col-sm-2">{:__('Vip_type')}:</label>-->
|
|
|
<!--<div class="col-xs-12 col-sm-8">-->
|
|
|
<!--<input id="c-vip_type" class="form-control" name="row[vip_type]" type="number" value="{$row.vip_type|htmlentities}">-->
|
|
|
<!--</div>-->
|
|
|
<!--</div>-->
|
|
|
<!--<div class="form-group">-->
|
|
|
<!--<label class="control-label col-xs-12 col-sm-2">{:__('Province_ids')}:</label>-->
|
|
|
<!--<div class="col-xs-12 col-sm-8">-->
|
|
|
<!--<input id="c-province_ids" data-rule="required" data-source="province/index" data-multiple="true" class="form-control selectpage" name="row[province_ids]" type="text" value="{$row.province_ids|htmlentities}">-->
|
|
|
<!--</div>-->
|
|
|
<!--</div>-->
|
|
|
<!--<div class="form-group">-->
|
|
|
<!--<label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>-->
|
|
|
<!--<div class="col-xs-12 col-sm-8">-->
|
|
|
<!--<input id="c-num" class="form-control" name="row[num]" type="number" value="{$row.num|htmlentities}">-->
|
|
|
<!--</div>-->
|
|
|
<!--</div>-->
|
|
|
<!--<div class="form-group">-->
|
|
|
<!--<label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>-->
|
|
|
<!--<div class="col-xs-12 col-sm-8">-->
|
|
|
<!--<input id="c-money" class="form-control" name="row[money]" type="text" value="{$row.money|htmlentities}">-->
|
|
|
<!--</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">-->
|
|
|
<!--<input id="c-status" class="form-control" name="row[status]" type="number" value="{$row.status|htmlentities}">-->
|
|
|
<!--</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/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-type" class="form-control" name="row[type]" type="number" value="{$row.type|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Stores_id')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-stores_id" data-rule="required" data-source="stores/index" class="form-control selectpage" name="row[stores_id]" type="text" value="{$row.stores_id|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Vip_type')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-vip_type" class="form-control" name="row[vip_type]" type="number" value="{$row.vip_type|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Province_ids')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-province_ids" data-rule="required" data-source="province/index" data-multiple="true" class="form-control selectpage" name="row[province_ids]" type="text" value="{$row.province_ids|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-num" class="form-control" name="row[num]" type="number" value="{$row.num|htmlentities}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-money" class="form-control" name="row[money]" type="text" value="{$row.money|htmlentities}">
|
|
|
</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">
|
|
|
<input id="c-status" class="form-control" name="row[status]" type="number" value="{$row.status|htmlentities}">
|
|
|
</div>
|
|
|
</div>-->
|
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Audit')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
...
|
...
|
@@ -70,7 +70,7 @@ |
|
|
<div class="form-group">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('店铺名称')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-name" class="form-control" name="row[name]" type="text" value="">
|
|
|
<input id="c-name" class="form-control" name="row[name]" type="text" value="{notempty name='$data.name'}{$data.name}{/notempty}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
...
|
...
|
@@ -132,19 +132,19 @@ |
|
|
<div class="form-group address">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('详细地址')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-address" data-toggle="addresspicker" data-input-id="c-address" data-lat-id="c-latitude" data-lng-id="c-longitude" class="form-control" data-rule="required" name="row[address]" value="" type="text" readonly="true">
|
|
|
<input id="c-address" data-toggle="addresspicker" data-input-id="c-address" data-lat-id="c-latitude" data-lng-id="c-longitude" class="form-control" data-rule="required" name="row[address]" value="{notempty name='$data.address'}{$data.address}{/notempty}" type="text" readonly="true">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group hidden">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Lng')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-longitude" class="form-control" name="row[lng]" type="text" value="">
|
|
|
<input id="c-longitude" class="form-control" name="row[lng]" type="text" value="{notempty name='$data.lng'}{$data.lng}{/notempty}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group hidden">
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label>
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
<input id="c-latitude" class="form-control" name="row[lat]" type="text" value="">
|
|
|
<input id="c-latitude" class="form-control" name="row[lat]" type="text" value="{notempty name='$data.lat'}{$data.lat}{/notempty}">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
...
|
...
|
|