123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- <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">{:__('Local_code')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-local_code" class="form-control" name="row[local_code]" type="text" value="{$row.local_code|htmlentities}">
- </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-api_goods_id" class="form-control" name="row[api_goods_id]" type="text" value="{$row.api_goods_id|htmlentities}">
- </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-num_select_type" data-rule="" class="form-control selectpicker" name="row[num_select_type]">
- {foreach name="numSelectType" item="vo"}
- <option value="{$key}" {in name="key" value="$row.num_select_type"}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">
- <select id="c-home_location_type" data-rule="" class="form-control selectpicker" name="row[home_location_type]">
- {foreach name="homeLocationType" item="vo"}
- <option value="{$key}" {in name="key" value="$row.home_location_type"}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-home_location_province" class="form-control" name="row[home_location_province]" type="text" value="{$row.home_location_province|htmlentities}">
- </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-home_location_city" class="form-control" name="row[home_location_city]" type="text" value="{$row.home_location_city|htmlentities}">
- </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-suffix" class="form-control" name="row[suffix]" type="text" value="{$row.suffix|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Contact_code')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-contact_code" class="form-control" name="row[contact_code]" type="text" value="{$row.contact_code|htmlentities}">
- </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-developing_no" class="form-control" name="row[developing_no]" type="text" value="{$row.developing_no|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('合约ID')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-contract_id" class="form-control" name="row[contract_id]" type="text" value="{$row.contract_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Link')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-link" class="form-control" name="row[link]" type="text" value="{$row.link|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-images" class="form-control" size="50" name="row[images]" type="text" value="{$row.images|htmlentities}">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-images" class="btn btn-danger faupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-images"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-images"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('资源ID')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-resource_id" class="form-control" name="row[resource_id]" type="text" value="{$row.resource_id|htmlentities}">
- </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-operator" data-rule="" class="form-control selectpicker" name="row[operator]">
- {foreach name="operatorData" item="vo"}
- <option value="{$key}" {in name="key" value="$row.operator"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <!-- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Line_code')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-line_code" class="form-control" name="row[line_code]" type="text" value="{$row.line_code|htmlentities}">
- </div>
- </div> -->
- <!-- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Developing_num')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-developing_num" class="form-control" name="row[developing_num]" type="text" value="{$row.developing_num|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Developing_phone')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-developing_phone" class="form-control" name="row[developing_phone]" type="text" value="{$row.developing_phone|htmlentities}">
- </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" value="{$row.name|htmlentities}">
- </div>
- </div> -->
- <!-- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Scene_code')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-scene_code" class="form-control" name="row[scene_code]" type="text" value="{$row.scene_code|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">{:__('Receiving_method')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-receiving_method" class="form-control" name="row[receiving_method]" type="text" value="{$row.receiving_method|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="input-group">
- <input id="c-images" class="form-control" size="50" name="row[images]" type="text" value="{$row.images|htmlentities}">
- <div class="input-group-addon no-border no-padding">
- <span><button type="button" id="faupload-images" class="btn btn-danger faupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
- <span><button type="button" id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
- </div>
- <span class="msg-box n-right" for="c-images"></span>
- </div>
- <ul class="row list-inline faupload-preview" id="p-images"></ul>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Link')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-link" class="form-control" name="row[link]" type="text" value="{$row.link|htmlentities}">
- </div>
- </div> -->
- <!-- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Api_goods_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-api_goods_id" class="form-control" name="row[api_goods_id]" type="text" value="{$row.api_goods_id|htmlentities}">
- </div>
- </div> -->
- <!-- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Contact_code')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-contact_code" class="form-control" name="row[contact_code]" type="text" value="{$row.contact_code|htmlentities}">
- </div>
- </div> -->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Message_channel_code')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-message_channel_code" class="form-control" name="row[message_channel_code]" type="text" value="{$row.message_channel_code|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>
|