| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- {// 引入标签库 }
- <tagLib name="html" />
- <include file="Public:header" />
- <script type="text/javascript">
- //完全删除
- function foreverdel_consignee(id)
- {
- if(!id)
- {
- idBox = $(".key:checked");
- if(idBox.length == 0)
- {
- alert(LANG['DELETE_EMPTY_WARNING']);
- return;
- }
- idArray = new Array();
- $.each( idBox, function(i, n){
- idArray.push($(n).val());
- });
- id = idArray.join(",");
- }
- if(confirm(LANG['CONFIRM_DELETE']))
- $.ajax({
- url: ROOT+"?"+VAR_MODULE+"="+MODULE_NAME+"&"+VAR_ACTION+"=foreverdelete_consignee&id="+id,
- data: "ajax=1",
- dataType: "json",
- success: function(obj){
- $("#info").html(obj.info);
- if(obj.status==1)
- location.href=location.href;
- }
- });
- }
- </script>
- <div class="main">
- <div class="main_title">{$user_info.user_name} 配送方式列表</div>
- <div class="blank5"></div>
- <div class="button_row">
- <input type="button" class="button" value="{%FOREVERDEL}" onclick="foreverdel_consignee();" />
- </div>
- <div class="blank5"></div>
- <html:list
- id="dataTable"
- style="dataTable"
- name="log"
- checkbox="true"
- action="true"
- datasource="list"
- show="id:{%ID}|50px,province:省份,city:城市,address:地址,mobile:手机,zip:邮编,consignee:收货人"
- actionlist="foreverdel_consignee:{%FOREVERDEL}" />
- <div class="blank5"></div>
- <div class="page">{$page}</div>
- </div>
- <include file="Public:footer" />
|