pay.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. {extend name="default/base/base_joinin" /}
  2. {block name="joinin_main"}
  3. <div class="breadcrumb"><span class="iconfont">&#xe6ff;</span><span><a href="">{$Think.lang.homepage}</a></span> <span class="arrow">></span> <span>{$Think.lang.merchant_entry_application}</span> </div>
  4. <div class="main">
  5. <div class="sidebar">
  6. <div class="title">
  7. <h3>{$Think.lang.merchant_entry_application}</h3>
  8. </div>
  9. <div class="content">
  10. {notempty name="help_list"}
  11. {foreach name="help_list" item="val" key="key" }
  12. <dl show_id="{$val.helptype_id}">
  13. <dt onclick="show_list('{$val.helptype_id}');" style="cursor: pointer;"> <i class="right"></i>{$val.helptype_name}</dt>
  14. <dd style="display:none;">
  15. <ul>
  16. {notempty name="$val.help_list"}
  17. {foreach name="$val.help_list" item="v" key="k" }
  18. <li> <i></i>
  19. {notempty name="$v.help_url"}
  20. <a href="{:url('Showhelp/index',['t_id'=>$v.helptype_id,'help_id'=>$v.help_id])}" target="_blank">{$v.help_title}</a>
  21. {else /}
  22. <a href="{$v.help_url}" target="_blank">{$v.help_title}</a>
  23. {/notempty}
  24. </li>
  25. {/foreach}
  26. {/notempty}
  27. </ul>
  28. </dd>
  29. </dl>
  30. {/foreach}
  31. {/notempty}
  32. <dl>
  33. <dt class="{if $sub_step=='step0'}current{/if}"> <i class="right"></i>{$Think.lang.enter_agreement}</dt>
  34. </dl>
  35. <dl show_id="0">
  36. <dt onclick="show_list('0');" style="cursor: pointer;"> <i class="down"></i>{$Think.lang.submit_application}</dt>
  37. <dd>
  38. <ul>
  39. <li class="{if $step=='1'}current{/if}"><i></i>{$Think.lang.company_qualification_information}</li>
  40. <li class="{if $step=='2'}current{/if}"><i></i>{$Think.lang.financial_qualification_information}</li>
  41. <li class="{if $step=='3'}current{/if}"><i></i>{$Think.lang.store_operation_information}</li>
  42. </ul>
  43. </dd>
  44. </dl>
  45. <dl>
  46. <dt class="{if $step=='4'}current{/if}"> <i class="right"></i>{$Think.lang.contract_signing_payment}</dt>
  47. </dl>
  48. <dl>
  49. <dt> <i class="right"></i>{$Think.lang.store_opening}</dt>
  50. </dl>
  51. </div>
  52. <div class="title">
  53. <h3>{$Think.lang.platform_contact}</h3>
  54. </div>
  55. <div class="content">
  56. <ul>
  57. {notempty name="phone_array"}
  58. {foreach name="phone_array" item="val" key="key" }
  59. {$Think.lang.phone}{$val}
  60. {/foreach}
  61. {/notempty}
  62. <li>{$Think.lang.email}{$Think.config.ds_config.site_email}</li>
  63. </ul>
  64. </div>
  65. </div>
  66. <div class="right-layout">
  67. <div class="joinin-step">
  68. <ul>
  69. <li class="step1 {if $step >= 0}current{/if}"><span>{$Think.lang.enter_agreement}</span></li>
  70. <li class="{if $step >= 1}current{/if}"><span>{$Think.lang.company_qualification_information}</span></li>
  71. <li class="{if $step >= 2}current{/if}"><span>{$Think.lang.financial_qualification_information}</span></li>
  72. <li class="{if $step >= 3}current{/if}"><span>{$Think.lang.store_operation_information}</span></li>
  73. <li class="{if $step >= 4}current{/if}"><span>{$Think.lang.contract_signing_payment}</span></li>
  74. <li class="step6"><span>{$Think.lang.store_opening}</span></li>
  75. </ul>
  76. </div>
  77. <div class="joinin-concrete">
  78. <!--区别部分 BEGIN-->
  79. <div class="joinin-pay">
  80. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  81. <thead>
  82. <tr>
  83. <th colspan="6">{$Think.lang.company_contact_information}</th>
  84. </tr>
  85. </thead>
  86. <tbody>
  87. <tr>
  88. <th>{$Think.lang.company_name}:</th>
  89. <td colspan="5">{$joinin_detail.company_name}</td>
  90. </tr>
  91. <tr>
  92. <th>{$Think.lang.company_location}:</th>
  93. <td>{$joinin_detail.company_address}</td>
  94. <th>{$Think.lang.company_address}:</th>
  95. <td>{$joinin_detail.company_address_detail}</td>
  96. <th>{$Think.lang.registered_capital}:</th>
  97. <td>{$joinin_detail.company_registered_capital}&nbsp;{$Think.lang.thousand_yuan} </td>
  98. </tr>
  99. <tr>
  100. <th>{$Think.lang.contact_name}:</th>
  101. <td>{$joinin_detail.contacts_name}</td>
  102. <th>{$Think.lang.contact_number}:</th>
  103. <td>{$joinin_detail.contacts_phone}</td>
  104. <th>{$Think.lang.email_address}:</th>
  105. <td>{$joinin_detail.contacts_email}</td>
  106. </tr>
  107. </tbody>
  108. </table>
  109. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  110. <thead>
  111. <tr>
  112. <th colspan="2">{$Think.lang.business_license_information}</th>
  113. </tr>
  114. </thead>
  115. <tbody>
  116. <tr>
  117. <th>{$Think.lang.business_license_number}:</th>
  118. <td>{$joinin_detail.business_licence_number}</td>
  119. </tr>
  120. <tr>
  121. <th>{$Think.lang.place_business_license}:</th>
  122. <td>{$joinin_detail.business_licence_address}</td>
  123. </tr>
  124. <tr>
  125. <th>{$Think.lang.validity_business_license}:</th>
  126. <td>{$joinin_detail.business_licence_start} - {$joinin_detail.business_licence_end}</td>
  127. </tr>
  128. <tr>
  129. <th>{$Think.lang.legal_scope_business}:</th>
  130. <td colspan="20">{$joinin_detail.business_sphere}</td>
  131. </tr>
  132. <tr>
  133. <th>{$Think.lang.business_license}<br />
  134. {$Think.lang.electronic_version}:</th>
  135. <td colspan="20">
  136. {notempty name="$joinin_detail.business_licence_number_electronic"}
  137. <a data-lightbox="lightbox-image" href="{:get_store_joinin_imageurl($joinin_detail['business_licence_number_electronic'])}"> <img src="{:get_store_joinin_imageurl($joinin_detail['business_licence_number_electronic'])}" alt="" height="50" /> </a>
  138. {else /}
  139. {$Think.lang.not_uploaded}
  140. {/notempty}
  141. </td>
  142. </tr>
  143. </tbody>
  144. </table>
  145. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  146. <thead>
  147. <tr>
  148. <th colspan="2">{$Think.lang.account_information}:</th>
  149. </tr>
  150. </thead>
  151. <tbody>
  152. <tr>
  153. <th>{$Think.lang.bank_account_name}:</th>
  154. <td>{$joinin_detail.bank_account_name}</td>
  155. </tr>
  156. <tr>
  157. <th>{$Think.lang.company_bank_account_number}:</th>
  158. <td>{$joinin_detail.bank_account_number}</td>
  159. </tr>
  160. <tr>
  161. <th>{$Think.lang.bank_branch_name}:</th>
  162. <td>{$joinin_detail.bank_name}</td>
  163. </tr>
  164. <tr>
  165. <th>{$Think.lang.location_bank_account}:</th>
  166. <td colspan="20">{$joinin_detail.bank_address}</td>
  167. </tr>
  168. </tbody>
  169. </table>
  170. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  171. <thead>
  172. <tr>
  173. <th colspan="2">{$Think.lang.settlement_account_information}:</th>
  174. </tr>
  175. </thead>
  176. <tbody>
  177. <tr>
  178. <th>{$Think.lang.bank_account_name}:</th>
  179. <td>{$joinin_detail.settlement_bank_account_name}</td>
  180. </tr>
  181. <tr>
  182. <th>{$Think.lang.company_bank_account_number}:</th>
  183. <td>{$joinin_detail.settlement_bank_account_number}</td>
  184. </tr>
  185. <tr>
  186. <th>{$Think.lang.bank_branch_name}:</th>
  187. <td>{$joinin_detail.settlement_bank_name}</td>
  188. </tr>
  189. <tr>
  190. <th>{$Think.lang.location_bank_account}:</th>
  191. <td>{$joinin_detail.settlement_bank_address}</td>
  192. </tr>
  193. </tbody>
  194. </table>
  195. <form id="form_paying_money_certificate" action="{:url('Sellerjoinin/pay_save')}" method="post" enctype="multipart/form-data">
  196. <input id="verify_type" name="verify_type" type="hidden" />
  197. <input name="member_id" type="hidden" value="{$joinin_detail.member_id}" />
  198. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  199. <thead>
  200. <tr>
  201. <th colspan="2">{$Think.lang.store_operation_information}</th>
  202. </tr>
  203. </thead>
  204. <tbody>
  205. <tr>
  206. <th>{$Think.lang.seller_account}:</th>
  207. <td>{$joinin_detail.seller_name}</td>
  208. </tr>
  209. <tr>
  210. <th>{$Think.lang.store_name}:</th>
  211. <td>{$joinin_detail.store_name}</td>
  212. </tr>
  213. <tr>
  214. <th>{$Think.lang.store_level}:</th>
  215. <td>{$joinin_detail.storegrade_name}({$Think.lang.store_opening_expenses}:{$joinin_detail.storegrade_price|default="0"}{$Think.lang.ds_yuan}/{$Think.lang.year})</td>
  216. </tr>
  217. <tr>
  218. <th>{$Think.lang.store_opening_hours}:</th>
  219. <td>{$joinin_detail.joinin_year} {$Think.lang.year}</td>
  220. </tr>
  221. <tr>
  222. <th>{$Think.lang.store_classification}:</th>
  223. <td>{$joinin_detail.storeclass_name}({$Think.lang.deposit}:{$joinin_detail.storeclass_bail} {$Think.lang.ds_yuan}/{$Think.lang.year})</td>
  224. </tr>
  225. <tr>
  226. <th>{$Think.lang.total_amount_payable}:</th>
  227. <td>{$joinin_detail.paying_amount} {$Think.lang.ds_yuan}</td>
  228. </tr>
  229. <tr>
  230. <th>{$Think.lang.business_category}:</th>
  231. <td><table border="0" cellpadding="0" cellspacing="0" id="table_category" class="type">
  232. <thead>
  233. <tr>
  234. <th>{$Think.lang.ctegory_1}</th>
  235. <th>{$Think.lang.ctegory_2}</th>
  236. <th>{$Think.lang.ctegory_3}</th>
  237. <th>{$Think.lang.proportion}</th>
  238. </tr>
  239. </thead>
  240. <tbody>
  241. {notempty name="$joinin_detail.store_class_names"}
  242. {php}$store_class_names = unserialize($joinin_detail['store_class_names']);{/php}
  243. {php}$store_class_commis_rates = explode(',', $joinin_detail['store_class_commis_rates']);{/php}
  244. {notempty name="store_class_names"}
  245. <?php for($i=0, $length = count($store_class_names); $i < $length; $i++) {?>
  246. {php}@list($class1, $class2, $class3) = explode(',', $store_class_names[$i]);{/php}
  247. <tr>
  248. <td>{$class1|default='0'}</td>
  249. <td>{$class2|default='0'}</td>
  250. <td>{$class3|default='0'}</td>
  251. <td>{$store_class_commis_rates[$i]}%</td>
  252. </tr>
  253. <?php } ?>
  254. {/notempty}
  255. {/notempty}
  256. </tbody>
  257. </table></td>
  258. </tr>
  259. <tr>
  260. <th>{$Think.lang.audit_opinion}:</th>
  261. <td colspan="2">{$joinin_detail.joinin_message}</td>
  262. </tr>
  263. </tbody>
  264. </table>
  265. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  266. <tbody>
  267. <tr>
  268. <th>付款方式:</th>
  269. <td>
  270. <label><input type="radio" name="payment_type" value="online" checked="">在线支付</label>
  271. <label><input type="radio" name="payment_type" value="offline" >线下支付</label>
  272. </td>
  273. </tr>
  274. <tr dstype="offline" style="display: none">
  275. <th>{$Think.lang.upload_payment_voucher}:</th>
  276. <td><input name="paying_money_certificate" type="file" />
  277. <span><a href="{:url('document/index',['code'=>'open_store'])}" target="_blank" title="不清楚平台收款账号,点击前往入驻协议查看">(不清楚平台收款账号?)</a></span>
  278. </td>
  279. </tr>
  280. <tr dstype="offline" style="display: none">
  281. <th>{$Think.lang.note}:</th>
  282. <td><textarea name="paying_money_certificate_explain" rows="10" cols="30"></textarea>
  283. <span></span></td>
  284. </tr>
  285. </tbody>
  286. </table>
  287. </form>
  288. <div class="bottom"><a id="btn_paying_money_certificate" href="javascript:;" class="btn">{$Think.lang.ds_submit}</a></div>
  289. </div>
  290. <link rel="stylesheet" href="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/css/lightbox.min.css">
  291. <script src="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/js/lightbox.min.js"></script>
  292. <script type="text/javascript">
  293. $(document).ready(function(){
  294. $('#form_paying_money_certificate').validate({
  295. errorPlacement: function(error, element){
  296. element.nextAll('span').first().after(error);
  297. },
  298. rules : {
  299. paying_money_certificate: {
  300. required: true
  301. },
  302. paying_money_certificate_explain: {
  303. maxlength: 100
  304. }
  305. },
  306. messages : {
  307. paying_money_certificate: {
  308. required: '{$Think.lang.select_upload_payment_voucher}'
  309. },
  310. paying_money_certificate_explain: {
  311. maxlength: jQuery.validator.format("{$Think.lang.most_words}")
  312. }
  313. }
  314. });
  315. $('input[name=payment_type]').click(function(){
  316. if($(this).val()=='offline'){
  317. $('*[dstype=offline]').show()
  318. }else{
  319. $('*[dstype=offline]').hide()
  320. }
  321. })
  322. $('#btn_paying_money_certificate').on('click', function() {
  323. if($('input[name=payment_type]:checked').val()=='offline'){
  324. $('#form_paying_money_certificate').submit();
  325. }else{
  326. window.location.href = "{:url('Buy/sj_pay')}";
  327. }
  328. });
  329. });
  330. </script>
  331. <!--区别部分 END-->
  332. </div>
  333. </div>
  334. </div>
  335. {/block}