pay.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  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. <tr>
  144. <th>企业授权书照片:</th>
  145. <td colspan="20">
  146. {notempty name="$joinin_detail.business_licence_number_electronic"}
  147. <a data-lightbox="lightbox-image" href="{:get_store_joinin_imageurl($joinin_detail['business_author_letter'])}"> <img src="{:get_store_joinin_imageurl($joinin_detail['business_author_letter'])}" alt="" height="50" /> </a>
  148. {else /}
  149. {$Think.lang.not_uploaded}
  150. {/notempty}
  151. </td>
  152. </tr>
  153. </tbody>
  154. </table>
  155. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  156. <thead>
  157. <tr>
  158. <th colspan="2">{$Think.lang.account_information}:</th>
  159. </tr>
  160. </thead>
  161. <tbody>
  162. <tr>
  163. <th>{$Think.lang.bank_account_name}:</th>
  164. <td>{$joinin_detail.bank_account_name}</td>
  165. </tr>
  166. <tr>
  167. <th>{$Think.lang.company_bank_account_number}:</th>
  168. <td>{$joinin_detail.bank_account_number}</td>
  169. </tr>
  170. <tr>
  171. <th>{$Think.lang.bank_branch_name}:</th>
  172. <td>{$joinin_detail.bank_name}</td>
  173. </tr>
  174. <tr>
  175. <th>{$Think.lang.location_bank_account}:</th>
  176. <td colspan="20">{$joinin_detail.bank_address}</td>
  177. </tr>
  178. </tbody>
  179. </table>
  180. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  181. <thead>
  182. <tr>
  183. <th colspan="2">{$Think.lang.settlement_account_information}:</th>
  184. </tr>
  185. </thead>
  186. <tbody>
  187. <tr>
  188. <th>{$Think.lang.bank_account_name}:</th>
  189. <td>{$joinin_detail.settlement_bank_account_name}</td>
  190. </tr>
  191. <tr>
  192. <th>{$Think.lang.company_bank_account_number}:</th>
  193. <td>{$joinin_detail.settlement_bank_account_number}</td>
  194. </tr>
  195. <tr>
  196. <th>{$Think.lang.bank_branch_name}:</th>
  197. <td>{$joinin_detail.settlement_bank_name}</td>
  198. </tr>
  199. <tr>
  200. <th>{$Think.lang.location_bank_account}:</th>
  201. <td>{$joinin_detail.settlement_bank_address}</td>
  202. </tr>
  203. </tbody>
  204. </table>
  205. <form id="form_paying_money_certificate" action="{:url('Sellerjoinin/pay_save')}" method="post" enctype="multipart/form-data">
  206. <input id="verify_type" name="verify_type" type="hidden" />
  207. <input name="member_id" type="hidden" value="{$joinin_detail.member_id}" />
  208. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  209. <thead>
  210. <tr>
  211. <th colspan="2">{$Think.lang.store_operation_information}</th>
  212. </tr>
  213. </thead>
  214. <tbody>
  215. <tr>
  216. <th>{$Think.lang.seller_account}:</th>
  217. <td>{$joinin_detail.seller_name}</td>
  218. </tr>
  219. <tr>
  220. <th>{$Think.lang.store_name}:</th>
  221. <td>{$joinin_detail.store_name}</td>
  222. </tr>
  223. <tr>
  224. <th>{$Think.lang.store_level}:</th>
  225. <td>{$joinin_detail.storegrade_name}({$Think.lang.store_opening_expenses}:{$joinin_detail.storegrade_price|default="0"}{$Think.lang.ds_yuan}/{$Think.lang.year})</td>
  226. </tr>
  227. <tr>
  228. <th>{$Think.lang.store_opening_hours}:</th>
  229. <td>{$joinin_detail.joinin_year} {$Think.lang.year}</td>
  230. </tr>
  231. <tr>
  232. <th>{$Think.lang.store_classification}:</th>
  233. <td>{$joinin_detail.storeclass_name}({$Think.lang.deposit}:{$joinin_detail.storeclass_bail} {$Think.lang.ds_yuan}/{$Think.lang.year})</td>
  234. </tr>
  235. <tr>
  236. <th>{$Think.lang.total_amount_payable}:</th>
  237. <td>{$joinin_detail.paying_amount} {$Think.lang.ds_yuan}</td>
  238. </tr>
  239. <tr>
  240. <th>{$Think.lang.business_category}:</th>
  241. <td><table border="0" cellpadding="0" cellspacing="0" id="table_category" class="type">
  242. <thead>
  243. <tr>
  244. <th>{$Think.lang.ctegory_1}</th>
  245. <th>{$Think.lang.ctegory_2}</th>
  246. <th>{$Think.lang.ctegory_3}</th>
  247. <th>{$Think.lang.proportion}</th>
  248. </tr>
  249. </thead>
  250. <tbody>
  251. {notempty name="$joinin_detail.store_class_names"}
  252. {php}$store_class_names = unserialize($joinin_detail['store_class_names']);{/php}
  253. {php}$store_class_commis_rates = explode(',', $joinin_detail['store_class_commis_rates']);{/php}
  254. {notempty name="store_class_names"}
  255. <?php for($i=0, $length = count($store_class_names); $i < $length; $i++) {?>
  256. {php}@list($class1, $class2, $class3) = explode(',', $store_class_names[$i]);{/php}
  257. <tr>
  258. <td>{$class1|default='0'}</td>
  259. <td>{$class2|default='0'}</td>
  260. <td>{$class3|default='0'}</td>
  261. <td>{$store_class_commis_rates[$i]}%</td>
  262. </tr>
  263. <?php } ?>
  264. {/notempty}
  265. {/notempty}
  266. </tbody>
  267. </table></td>
  268. </tr>
  269. <tr>
  270. <th>{$Think.lang.audit_opinion}:</th>
  271. <td colspan="2">{$joinin_detail.joinin_message}</td>
  272. </tr>
  273. </tbody>
  274. </table>
  275. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin">
  276. <tbody>
  277. <tr>
  278. <th>付款方式:</th>
  279. <td>
  280. <label><input type="radio" name="payment_type" value="online" checked="">在线支付</label>
  281. <label><input type="radio" name="payment_type" value="offline" >线下支付</label>
  282. </td>
  283. </tr>
  284. <tr dstype="offline" style="display: none">
  285. <th>{$Think.lang.upload_payment_voucher}:</th>
  286. <td><input name="paying_money_certificate" type="file" />
  287. <span><a href="{:url('document/index',['code'=>'open_store'])}" target="_blank" title="不清楚平台收款账号,点击前往入驻协议查看">(不清楚平台收款账号?)</a></span>
  288. </td>
  289. </tr>
  290. <tr dstype="offline" style="display: none">
  291. <th>{$Think.lang.note}:</th>
  292. <td><textarea name="paying_money_certificate_explain" rows="10" cols="30"></textarea>
  293. <span></span></td>
  294. </tr>
  295. </tbody>
  296. </table>
  297. </form>
  298. <div class="bottom"><a id="btn_paying_money_certificate" href="javascript:;" class="btn">{$Think.lang.ds_submit}</a></div>
  299. </div>
  300. <link rel="stylesheet" href="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/css/lightbox.min.css">
  301. <script src="{$Think.PLUGINS_SITE_ROOT}/js/jquery.lightbox/js/lightbox.min.js"></script>
  302. <script type="text/javascript">
  303. $(document).ready(function(){
  304. $('#form_paying_money_certificate').validate({
  305. errorPlacement: function(error, element){
  306. element.nextAll('span').first().after(error);
  307. },
  308. rules : {
  309. paying_money_certificate: {
  310. required: true
  311. },
  312. paying_money_certificate_explain: {
  313. maxlength: 100
  314. }
  315. },
  316. messages : {
  317. paying_money_certificate: {
  318. required: '{$Think.lang.select_upload_payment_voucher}'
  319. },
  320. paying_money_certificate_explain: {
  321. maxlength: jQuery.validator.format("{$Think.lang.most_words}")
  322. }
  323. }
  324. });
  325. $('input[name=payment_type]').click(function(){
  326. if($(this).val()=='offline'){
  327. $('*[dstype=offline]').show()
  328. }else{
  329. $('*[dstype=offline]').hide()
  330. }
  331. })
  332. $('#btn_paying_money_certificate').on('click', function() {
  333. if($('input[name=payment_type]:checked').val()=='offline'){
  334. $('#form_paying_money_certificate').submit();
  335. }else{
  336. window.location.href = "{:url('Buy/sj_pay')}";
  337. }
  338. });
  339. });
  340. </script>
  341. <!--区别部分 END-->
  342. </div>
  343. </div>
  344. </div>
  345. {/block}