store_joinin.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. {include file="public/header" /}
  2. <div class="page">
  3. <div class="fixed-bar">
  4. <div class="item-title">
  5. <div class="subject">
  6. <h3>{$Think.lang.ds_store_manage}</h3>
  7. <h5></h5>
  8. </div>
  9. {include file="public/admin_items" /}
  10. </div>
  11. </div>
  12. <form method="get" name="formSearch">
  13. <div class="ds-search-form">
  14. <dl>
  15. <dt>{$Think.lang.ds_store_name}</dt>
  16. <dd><input type="text" value="" name="store_name" id="store_name" class="txt"></dd>
  17. </dl>
  18. <dl>
  19. <dt>{$Think.lang.store_user}</dt>
  20. <dd><input type="text" value="" name="owner_and_name" id="owner_and_name" class="txt"></dd>
  21. </dl>
  22. <dl>
  23. <dt>{$Think.lang.belongs_level}</dt>
  24. <dd>
  25. <select name="grade_id">
  26. <option value="">{$Think.lang.ds_please_choose}...</option>
  27. {notempty name="grade_list"}
  28. {foreach name="grade_list" item="v" key="k" }
  29. <option value="{$v.storegrade_id}" {if condition="$Request.param.grade_id eq $v.storegrade_id"}selected{/if}>{$v.storegrade_name}</option>
  30. {/foreach}
  31. {/notempty}
  32. </select>
  33. </dd>
  34. <dd>
  35. <select name="joinin_state">
  36. <option value="">{$Think.lang.ds_please_choose}...</option>
  37. {notempty name="joinin_state_array"}
  38. {foreach name="joinin_state_array" item="v" key="k" }
  39. <option value="{$k}" {if condition="$Request.param.joinin_state eq $k"}selected{/if}>{$v}</option>
  40. {/foreach}
  41. {/notempty}
  42. </select>
  43. </dd>
  44. </dl>
  45. <div class="btn_group">
  46. <input type="submit" class="btn" value="{$Think.lang.ds_search}">
  47. {if $filtered}
  48. <a href="{:url('Store/store_joinin')}" class="btn btn-default" title="{$Think.lang.ds_cancel}">{$Think.lang.ds_cancel}</a>
  49. {/if}
  50. </div>
  51. </div>
  52. </form>
  53. <div class="explanation" id="explanation">
  54. <div class="title" id="checkZoom">
  55. <h4 title="{$Think.lang.ds_explanation_tip}">{$Think.lang.ds_explanation}</h4>
  56. <span id="explanationZoom" title="{$Think.lang.ds_explanation_close}" class="arrow"></span>
  57. </div>
  58. <ul>
  59. <li>{$Think.lang.store_joinin_help1}</li>
  60. </ul>
  61. </div>
  62. <form method="post" id="store_form" name="store_form">
  63. <table class="ds-default-table">
  64. <thead>
  65. <tr class="thead">
  66. <th class="w200">{$Think.lang.ds_store_name}</th>
  67. <th class="w200">{$Think.lang.store_user_name}</th>
  68. <th class="w200">{$Think.lang.location}</th>
  69. <th class="w200">{$Think.lang.belongs_level}</th>
  70. <th class="w200">{$Think.lang.state}</th>
  71. <th class="">{$Think.lang.ds_handle}</th>
  72. </tr>
  73. </thead>
  74. <tbody>
  75. {notempty name="store_list"}
  76. {foreach name="store_list" item="v" key="k" }
  77. <tr class="hover edit">
  78. <td>{$v.store_name}</td>
  79. <td>{$v.member_name}</td>
  80. <td>{$v.company_address}</td>
  81. <td>{$v.storegrade_name}</td>
  82. <td>{$joinin_state_array[$v['joinin_state']]}</td>
  83. <td>
  84. <?php if(in_array(intval($v['joinin_state']), array(STORE_JOIN_STATE_NEW, STORE_JOIN_STATE_PAY))) { ?>
  85. <a href="javascript:dsLayerOpen('{:url('Store/store_joinin_detail',['member_id'=>$v.member_id])}','{$Think.lang.ds_verify}-{$v.store_name}')" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.ds_verify}</a>
  86. <?php } else { ?>
  87. <a href="javascript:dsLayerOpen('{:url('Store/store_joinin_detail',['member_id'=>$v.member_id])}','{$Think.lang.ds_view}-{$v.store_name}')" class="dsui-btn-view"><i class="iconfont"></i>{$Think.lang.ds_view}</a>
  88. <?php } ?>
  89. {if intval($v.joinin_state)<40}
  90. &nbsp;&nbsp; <a href="javascript:dsLayerConfirm('{:url('Store/del_join',['member_id'=>$v.member_id])}','{$Think.lang.ds_ensure_del}')" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
  91. {/if}
  92. </td>
  93. </tr>
  94. {/foreach}
  95. {else /}
  96. <tr class="no_data">
  97. <td colspan="10">{$Think.lang.ds_no_record}</td>
  98. </tr>
  99. {/notempty}
  100. </tbody>
  101. </table>
  102. {$show_page|raw}
  103. </form>
  104. </div>