7ae24679ec0f8165e7296e42c97d3ad3.php 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. <?php /*a:2:{s:73:"/data/web/mall.valimart.net/app/admin/view/store/store_joinin_detail.html";i:1657785098;s:61:"/data/web/mall.valimart.net/app/admin/view/public/header.html";i:1657785098;}*/ ?>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?><?php echo htmlentities(lang('system_backend')); ?></title>
  8. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  9. <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
  10. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
  11. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
  12. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
  13. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
  14. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
  15. <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
  16. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
  17. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
  18. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
  19. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
  20. <script type="text/javascript">
  21. var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
  22. var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
  23. var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
  24. var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
  25. var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
  26. </script>
  27. </head>
  28. <body>
  29. <div id="append_parent"></div>
  30. <div id="ajaxwaitid"></div>
  31. <div class="page">
  32. <?php if($joinin_detail['store_type'] != 1): ?>
  33. <table border="0" cellpadding="0" cellspacing="0" class="ds-default-table">
  34. <thead>
  35. <tr>
  36. <th colspan="20"><?php echo htmlentities(lang('company_contact_information')); ?></th>
  37. </tr>
  38. </thead>
  39. <tbody>
  40. <tr>
  41. <th class="w150"><?php echo htmlentities(lang('company_name')); ?>:</th>
  42. <td colspan="20"><?php echo htmlentities($joinin_detail['company_name']); ?></td>
  43. </tr>
  44. <tr>
  45. <th><?php echo htmlentities(lang('company_location')); ?>:</th>
  46. <td><?php echo htmlentities($joinin_detail['company_address']); ?></td>
  47. <th><?php echo htmlentities(lang('company_address')); ?>:</th>
  48. <td><?php echo htmlentities($joinin_detail['company_address_detail']); ?></td>
  49. <th><?php echo htmlentities(lang('registered_capital')); ?>:</th>
  50. <td><?php echo htmlentities($joinin_detail['company_registered_capital']); ?>&nbsp;<?php echo htmlentities(lang('ten_thousand')); ?><?php echo htmlentities(lang('ds_yuan')); ?> </td>
  51. </tr>
  52. <tr>
  53. <th><?php echo htmlentities(lang('contact_name')); ?>:</th>
  54. <td><?php echo htmlentities($joinin_detail['contacts_name']); ?></td>
  55. <th><?php echo htmlentities(lang('contact_number')); ?>:</th>
  56. <td><?php echo htmlentities($joinin_detail['contacts_phone']); ?></td>
  57. <th><?php echo htmlentities(lang('e_mail')); ?>:</th>
  58. <td><?php echo htmlentities($joinin_detail['contacts_email']); ?></td>
  59. </tr>
  60. </tbody>
  61. </table>
  62. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  63. <thead>
  64. <tr>
  65. <th colspan="20"><?php echo htmlentities(lang('business_license_information')); ?></th>
  66. </tr>
  67. </thead>
  68. <tbody>
  69. <tr>
  70. <th class="w150"><?php echo htmlentities(lang('business_license_number')); ?>:</th>
  71. <td><?php echo htmlentities($joinin_detail['business_licence_number']); ?></td></tr><tr>
  72. <th><?php echo htmlentities(lang('place_business_license')); ?>:</th>
  73. <td><?php echo htmlentities($joinin_detail['business_licence_address']); ?></td></tr><tr>
  74. <th><?php echo htmlentities(lang('validity_business_license')); ?>:</th>
  75. <td><?php echo htmlentities($joinin_detail['business_licence_start']); ?> - <?php echo htmlentities($joinin_detail['business_licence_end']); ?></td>
  76. </tr>
  77. <tr>
  78. <th><?php echo htmlentities(lang('legal_scope_business')); ?>:</th>
  79. <td colspan="20"><?php echo htmlentities($joinin_detail['business_sphere']); ?></td>
  80. </tr>
  81. <tr>
  82. <th><?php echo htmlentities(lang('business_license')); ?><br /><?php echo htmlentities(lang('electronic_version')); ?>:</th>
  83. <td colspan="20">
  84. <?php if(!(empty($joinin_detail['business_licence_number_electronic']) || (($joinin_detail['business_licence_number_electronic'] instanceof \think\Collection || $joinin_detail['business_licence_number_electronic'] instanceof \think\Paginator ) && $joinin_detail['business_licence_number_electronic']->isEmpty()))): ?>
  85. <a data-lightbox="lightbox-image" href="<?php echo get_store_joinin_imageurl($joinin_detail['business_licence_number_electronic']); ?>">
  86. <img src="<?php echo get_store_joinin_imageurl($joinin_detail['business_licence_number_electronic']); ?>" alt="" height="200"/>
  87. </a>
  88. <?php endif; ?>
  89. </td>
  90. </tr>
  91. </tbody>
  92. </table>
  93. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  94. <thead>
  95. <tr>
  96. <th colspan="20"><?php echo htmlentities(lang('bank_information')); ?>:</th>
  97. </tr>
  98. </thead>
  99. <tbody>
  100. <tr>
  101. <th class="w150"><?php echo htmlentities(lang('bank_name')); ?>:</th>
  102. <td><?php echo htmlentities($joinin_detail['bank_account_name']); ?></td>
  103. </tr><tr>
  104. <th><?php echo htmlentities(lang('company_bank_account')); ?>:</th>
  105. <td><?php echo htmlentities($joinin_detail['bank_account_number']); ?></td></tr>
  106. <tr>
  107. <th><?php echo htmlentities(lang('name_branch_bank')); ?>:</th>
  108. <td><?php echo htmlentities($joinin_detail['bank_name']); ?></td>
  109. </tr>
  110. <tr>
  111. <th><?php echo htmlentities(lang('location_bank_account')); ?>:</th>
  112. <td colspan="20"><?php echo htmlentities($joinin_detail['bank_address']); ?></td>
  113. </tr>
  114. </tbody>
  115. </table>
  116. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  117. <thead>
  118. <tr>
  119. <th colspan="20"><?php echo htmlentities(lang('settlement_account_information')); ?>:</th>
  120. </tr>
  121. </thead>
  122. <tbody>
  123. <tr>
  124. <th class="w150"><?php echo htmlentities(lang('name_branch_bank')); ?>:</th>
  125. <td><?php echo htmlentities($joinin_detail['settlement_bank_account_name']); ?></td>
  126. </tr>
  127. <tr>
  128. <th><?php echo htmlentities(lang('company_bank_account')); ?>:</th>
  129. <td><?php echo htmlentities($joinin_detail['settlement_bank_account_number']); ?></td>
  130. </tr>
  131. <tr>
  132. <th><?php echo htmlentities(lang('name_branch_bank')); ?>:</th>
  133. <td><?php echo htmlentities($joinin_detail['settlement_bank_name']); ?></td>
  134. </tr>
  135. <tr>
  136. <th><?php echo htmlentities(lang('location_bank_account')); ?>:</th>
  137. <td><?php echo htmlentities($joinin_detail['settlement_bank_address']); ?></td>
  138. </tr>
  139. </tbody>
  140. </table>
  141. <?php else: ?>
  142. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  143. <thead>
  144. <tr>
  145. <th colspan="6"><?php echo htmlentities(lang('store_and_contact_info')); ?></th>
  146. </tr>
  147. </thead>
  148. <tbody>
  149. <tr>
  150. <th><?php echo htmlentities(lang('company_name')); ?>:</th>
  151. <td><?php echo htmlentities($joinin_detail['company_name']); ?></td>
  152. <th><?php echo htmlentities(lang('company_location')); ?>:</th>
  153. <td><?php echo htmlentities($joinin_detail['company_address']); ?></td>
  154. <th><?php echo htmlentities(lang('company_address')); ?>:</th>
  155. <td><?php echo htmlentities($joinin_detail['company_address_detail']); ?></td>
  156. </tr>
  157. <tr>
  158. <th><?php echo htmlentities(lang('contact_name')); ?>:</th>
  159. <td><?php echo htmlentities($joinin_detail['contacts_name']); ?></td>
  160. <th><?php echo htmlentities(lang('contact_number')); ?>:</th>
  161. <td><?php echo htmlentities($joinin_detail['contacts_phone']); ?></td>
  162. <th><?php echo htmlentities(lang('e_mail')); ?>:</th>
  163. <td><?php echo htmlentities($joinin_detail['contacts_email']); ?></td>
  164. </tr>
  165. </tbody>
  166. </table>
  167. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  168. <thead>
  169. <tr>
  170. <th colspan="20"><?php echo htmlentities(lang('identification_information')); ?></th>
  171. </tr>
  172. </thead>
  173. <tbody>
  174. <tr>
  175. <th class="w150"><?php echo htmlentities(lang('identification_number')); ?>:</th>
  176. <td><?php echo htmlentities($joinin_detail['business_licence_number']); ?></td></tr><tr>
  177. </tr>
  178. <tr>
  179. <th><?php echo htmlentities(lang('identification_photo')); ?>:</th>
  180. <td colspan="20">
  181. <?php if(!(empty($joinin_detail['business_licence_number_electronic']) || (($joinin_detail['business_licence_number_electronic'] instanceof \think\Collection || $joinin_detail['business_licence_number_electronic'] instanceof \think\Paginator ) && $joinin_detail['business_licence_number_electronic']->isEmpty()))): ?>
  182. <a data-lightbox="lightbox-image" href="<?php echo get_store_joinin_imageurl($joinin_detail['business_licence_number_electronic']); ?>">
  183. <img src="<?php echo get_store_joinin_imageurl($joinin_detail['business_licence_number_electronic']); ?>" alt="" height="200"/>
  184. </a>
  185. <?php endif; ?>
  186. </td>
  187. </tr>
  188. </tbody>
  189. </table>
  190. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  191. <thead>
  192. <tr>
  193. <th colspan="2"><?php echo htmlentities(lang('store_alipay_info')); ?>:</th>
  194. </tr>
  195. </thead>
  196. <tbody>
  197. <tr>
  198. <th><?php echo htmlentities(lang('store_alipay_account_name')); ?>:</th>
  199. <td><?php echo htmlentities($joinin_detail['settlement_bank_account_name']); ?></td>
  200. </tr>
  201. <tr>
  202. <th><?php echo htmlentities(lang('store_alipay_account_number')); ?>:</th>
  203. <td><?php echo htmlentities($joinin_detail['settlement_bank_account_number']); ?></td>
  204. </tr>
  205. </tbody>
  206. </table>
  207. <?php endif; ?>
  208. <form id="form_store_verify" action="<?php echo url('Store/store_joinin_verify'); ?>" method="post">
  209. <input id="verify_type" name="verify_type" type="hidden" />
  210. <input name="member_id" type="hidden" value="<?php echo htmlentities($joinin_detail['member_id']); ?>" />
  211. <table border="0" cellpadding="0" cellspacing="0" class="store-joinin ds-default-table">
  212. <thead>
  213. <tr>
  214. <th colspan="20"><?php echo htmlentities(lang('store_operation_info')); ?></th>
  215. </tr>
  216. </thead>
  217. <tbody>
  218. <tr>
  219. <th class="w150"><?php echo htmlentities(lang('ds_seller_name')); ?>:</th>
  220. <td><?php echo htmlentities($joinin_detail['seller_name']); ?></td>
  221. </tr>
  222. <tr>
  223. <th class="w150"><?php echo htmlentities(lang('ds_store_name')); ?>:</th>
  224. <td><?php echo htmlentities($joinin_detail['store_name']); ?></td>
  225. </tr>
  226. <tr>
  227. <th><?php echo htmlentities(lang('ds_storegrade')); ?>:</th>
  228. <td><?php echo htmlentities($joinin_detail['storegrade_name']); ?>(<?php echo htmlentities(lang('storegrade_price')); ?>:<?php echo htmlentities((isset($joinin_detail['storegrade_price']) && ($joinin_detail['storegrade_price'] !== '')?$joinin_detail['storegrade_price']:"0")); ?><?php echo htmlentities(lang('ds_yuan')); ?>/<?php echo htmlentities(lang('ds_year')); ?>)</td>
  229. </tr>
  230. <tr>
  231. <th class="w150"><?php echo htmlentities(lang('joinin_year')); ?>:</th>
  232. <td><?php echo htmlentities($joinin_detail['joinin_year']); ?> <?php echo htmlentities(lang('ds_year')); ?></td>
  233. </tr>
  234. <tr>
  235. <th><?php echo htmlentities(lang('ds_storeclass')); ?>:</th>
  236. <td><?php echo htmlentities($joinin_detail['storeclass_name']); ?>(<?php echo htmlentities(lang('storeclass_bail')); ?>:<?php echo htmlentities($joinin_detail['storeclass_bail']); ?> <?php echo htmlentities(lang('ds_yuan')); ?>)</td>
  237. </tr>
  238. <tr>
  239. <th><?php echo htmlentities(lang('paying_amount')); ?>:</th>
  240. <td>
  241. <?php if(intval($joinin_detail['joinin_state']) === 10): ?>
  242. <input type="text" value="<?php echo htmlentities($joinin_detail['paying_amount']); ?>" name="paying_amount" /> <?php echo htmlentities(lang('ds_yuan')); else: ?>
  243. <?php echo htmlentities($joinin_detail['paying_amount']); ?> <?php echo htmlentities(lang('ds_yuan')); ?>
  244. <?php endif; ?>
  245. </td>
  246. </tr>
  247. <tr>
  248. <th><?php echo htmlentities(lang('store_bind_class')); ?>:</th>
  249. <td colspan="2"><table border="0" cellpadding="0" cellspacing="0" id="table_category" class="type">
  250. <thead>
  251. <tr>
  252. <th><?php echo htmlentities(lang('ds_class')); ?>1</th>
  253. <th><?php echo htmlentities(lang('ds_class')); ?>2</th>
  254. <th><?php echo htmlentities(lang('ds_class')); ?>3</th>
  255. <th><?php echo htmlentities(lang('store_class_commis_rates')); ?></th>
  256. </tr>
  257. </thead>
  258. <tbody>
  259. <?php if(!(empty($joinin_detail['store_class_names']) || (($joinin_detail['store_class_names'] instanceof \think\Collection || $joinin_detail['store_class_names'] instanceof \think\Paginator ) && $joinin_detail['store_class_names']->isEmpty()))): $store_class_names = unserialize($joinin_detail['store_class_names']);if(!empty($store_class_names) && is_array($store_class_names)) {$store_class_commis_rates = explode(',', $joinin_detail['store_class_commis_rates']);for($i=0, $length = count($store_class_names); $i < $length; $i++) {$s_c_n = explode(',', $store_class_names[$i]);$class1=isset($s_c_n[0])?$s_c_n[0]:'';$class2=isset($s_c_n[1])?$s_c_n[1]:'';$class3=isset($s_c_n[2])?$s_c_n[2]:'';?>
  260. <tr>
  261. <td><?php echo htmlentities($class1); ?></td>
  262. <td><?php echo htmlentities($class2); ?></td>
  263. <td><?php echo htmlentities($class3); ?></td>
  264. <td>
  265. <?php if(intval($joinin_detail['joinin_state']) === 10): ?>
  266. <input type="text" dstype="commis_rate" value="<?php if(isset($store_class_commis_rates[$i])): ?><?php echo htmlentities($store_class_commis_rates[$i]); ?><?php endif; ?>" name="commis_rate[]" class="w100" /> %
  267. <?php else: ?>
  268. <?php echo $store_class_commis_rates[$i];?> %
  269. <?php endif; ?>
  270. </td>
  271. </tr>
  272. <?php } } ?>
  273. <?php endif; ?>
  274. </tbody>
  275. </table></td>
  276. </tr>
  277. <?php if(in_array(intval($joinin_detail['joinin_state']), array(STORE_JOIN_STATE_PAY, STORE_JOIN_STATE_FINAL))) {?>
  278. <tr>
  279. <th><?php echo htmlentities(lang('storereopen_pay_cert')); ?>:</th>
  280. <td>
  281. <?php if(!(empty($joinin_detail['paying_money_certificate']) || (($joinin_detail['paying_money_certificate'] instanceof \think\Collection || $joinin_detail['paying_money_certificate'] instanceof \think\Paginator ) && $joinin_detail['paying_money_certificate']->isEmpty()))): ?>
  282. <a data-lightbox="lightbox-image" href="<?php echo get_store_joinin_imageurl($joinin_detail['paying_money_certificate']); ?>"> <img src="<?php echo get_store_joinin_imageurl($joinin_detail['paying_money_certificate']); ?>" height="100"/> </a>
  283. <?php endif; ?>
  284. </td>
  285. </tr>
  286. <tr>
  287. <th><?php echo htmlentities(lang('storereopen_pay_cert_explain')); ?>:</th>
  288. <td><?php echo htmlentities($joinin_detail['paying_money_certificate_explain']); ?></td>
  289. </tr>
  290. <?php } if(in_array(intval($joinin_detail['joinin_state']), array(STORE_JOIN_STATE_NEW, STORE_JOIN_STATE_PAY))) { ?>
  291. <tr>
  292. <th><?php echo htmlentities(lang('joinin_message')); ?>:</th>
  293. <td colspan="2"><textarea id="joinin_message" name="joinin_message"></textarea></td>
  294. </tr>
  295. <?php } ?>
  296. </tbody>
  297. </table>
  298. <?php if(in_array(intval($joinin_detail['joinin_state']), array(STORE_JOIN_STATE_NEW, STORE_JOIN_STATE_PAY))) { ?>
  299. <div id="validation_message" style="color:red;display:none;"></div>
  300. <div><a id="btn_fail" class="btn" href="JavaScript:void(0);"><span><?php echo htmlentities(lang('ds_refuse')); ?></span></a> <a id="btn_pass" class="btn" href="JavaScript:void(0);"><span><?php echo htmlentities(lang('ds_pass')); ?></span></a></div>
  301. <?php } ?>
  302. </form>
  303. </div>
  304. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.lightbox/css/lightbox.min.css">
  305. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery.lightbox/js/lightbox.min.js"></script>
  306. <script type="text/javascript">
  307. $(document).ready(function(){
  308. $('#btn_fail').on('click', function() {
  309. if($('#joinin_message').val() == '') {
  310. $('#validation_message').text('<?php echo htmlentities(lang('joinin_message_required')); ?>');
  311. $('#validation_message').show();
  312. return false;
  313. } else {
  314. $('#validation_message').hide();
  315. }
  316. layer.confirm("<?php echo htmlentities(lang('refuse_confirm')); ?>", {
  317. btn: ['<?php echo htmlentities(lang('ds_ok')); ?>', '<?php echo htmlentities(lang('ds_cancel')); ?>'],
  318. title: false,
  319. }, function () {
  320. $('#verify_type').val('fail');
  321. $('#form_store_verify').submit();
  322. });
  323. });
  324. $('#btn_pass').on('click', function() {
  325. var valid = true;
  326. $('[dstype="commis_rate"]').each(function(commis_rate) {
  327. rate = $(this).val();
  328. if(rate == '') {
  329. valid = false;
  330. return false;
  331. }
  332. var rate = Number($(this).val());
  333. if(isNaN(rate) || rate < 0 || rate >= 100) {
  334. valid = false;
  335. return false;
  336. }
  337. });
  338. if(valid) {
  339. $('#validation_message').hide();
  340. layer.confirm("<?php echo htmlentities(lang('store_join_view_confrim')); ?>", {
  341. btn: ['<?php echo htmlentities(lang('ds_ok')); ?>', '<?php echo htmlentities(lang('ds_cancel')); ?>'],
  342. title: false,
  343. }, function () {
  344. $('#verify_type').val('pass');
  345. $('#form_store_verify').submit();
  346. });
  347. } else {
  348. $('#validation_message').text('<?php echo htmlentities(lang('store_class_commis_rates_error')); ?>');
  349. $('#validation_message').show();
  350. }
  351. });
  352. });
  353. </script>