You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
4.4 KiB
84 lines
4.4 KiB
|
|
<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
|
|
<input id="c-id" data-rule="required" class="form-control" name="row[id]" type="hidden" value="{$row.id}">
|
|
{if condition="($type == 1)"}
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('物流公司')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<select id="c-logistics_company" data-rule="required" class="form-control selectpicker" name="row[logistics_company]">
|
|
{foreach name="logisticsCompanyList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="" }selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
</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">
|
|
<input id="c-logistics_no" data-rule="required" class="form-control" name="row[logistics_no]" 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-primary btn-embossed disabled">{:__('OK')}</button>
|
|
</div>
|
|
</div>
|
|
{else/}
|
|
<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-consignee" data-rule="required" class="form-control" name="row[consignee]" type="text" value="{$row.consignee|htmlentities}" readonly>
|
|
</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">
|
|
<input id="c-mobile" data-rule="required" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}" readonly>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Province')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-province" data-rule="required" class="form-control" name="row[province]" type="text" value="{$row.province|htmlentities}" readonly>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('City')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-city" data-rule="required" class="form-control" name="row[city]" type="text" value="{$row.city|htmlentities}" readonly>
|
|
</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">
|
|
<input id="c-district" data-rule="required" class="form-control" name="row[district]" type="text" value="{$row.district|htmlentities}" readonly>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-address" data-rule="required" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}" readonly>
|
|
</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">
|
|
<select id="c-logistics_company" data-rule="required" class="form-control selectpicker" name="row[logistics_company]" readonly>
|
|
{foreach name="logisticsCompanyList" item="vo"}
|
|
<option value="{$key}" {in name="key" value="$row.logistics_company" }selected{/in}>{$vo}</option>
|
|
{/foreach}
|
|
</select>
|
|
</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">
|
|
<input id="c-logistics_no" data-rule="required" class="form-control" name="row[logistics_no]" type="text" value="{$row.logistics_no}" readonly>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
</form>
|
|
|
|
|