品牌与产品线关联.html 41.6 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="http://static.yohobuy.com/admin/css/style.css" media="screen" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://static.yohobuy.com/admin/js/jquery.min.js"></script>
<title>YOHO有货后台管理Right</title>
<link href="http://static.yohobuy.com/admin/js/dhtmlxtree/dhtmlxtree.css" media="screen" rel="stylesheet" type="text/css" ><script type="text/javascript" src="http://static.yohobuy.com/admin/js/dhtmlxtree/dhtmlxcommon.js"></script>
<script type="text/javascript" src="http://static.yohobuy.com/admin/js/dhtmlxtree/dhtmlxtree.js"></script></head>

<body>
<div class="mainbox">
<div class="daohang">当前位置:<a href="main.html">首页</a> > <span>品牌与产品线关联</span></div>

<table class="tableout" width="100%">
<tr>
<td width="30%"> 
<div class="treebox">
<div class="title">品牌列表</div>
<div class="main" id="brandTree" style="height: 450px;">

</div>
</div> 
</td>
<td width="40%">
<div class="treebox">
<div class="title">产品分类类表</div>
<div class="main" id="sortTree" style="height: 450px;">
</div>
</div> 
</td>
<td width="30%">
<div class="treebox">
<div class="title">操作</div>
<div class="main" style="height: 450px;">
<input type="button" value="" class="butok" id="btnSubmit"/>


</div>
</div> 
 
</td>
</tr>
</table>

<script type="text/javascript">

$(document).ready(function() {

	tree = new dhtmlXTreeObject('brandTree', "100%", "100%", 0);
    tree.setImagePath('http://static.yohobuy.com/admin/js/dhtmlxtree/imgs/csh_bluebooks/');

    var letters = {"A":"A","D":"D","F":"F","L":"L","M":"M","R":"R","S":"S","X":"X","Y":"Y"};
    for(var i in letters)
    {
    	tree.insertNewItem(0, letters[i], letters[i]);
    }

    var brands = {"A":{"5":{"id":"5","brand_name_cn":"ACROSS","brand_name_en":"ACROSS","brand_sign":"","brand_domain":"across.yoho.cn","parent_id":"0","brand_alif":"A","brand_initials":"A","brand_ico":"\/2011\/01\/24\/11\/2cbe585d5999ce978248687f6b153036d.gif","brand_type_id":"1","brand_certificate":"","brand_scale":"1","brand_level":"1","brand_url":"www.acrosscom","brand_intro":"<p>\r\n\t&nbsp;<\/p>\r\n<meta content=\"text\/html; charset=utf-8\" http-equiv=\"content-type\" \/>\r\n<p>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(153, 153, 153); font-family: PMingLiu; line-height: 20px; \">&ldquo;ACROSS&rdquo; \u54c1\u724c\u4e8e2007\u5e74\u5728\u9999\u6e2f\u6ce8\u518c\u6210\u7acb\uff0c\u662f\u4e00\u4e2a\u4ee5\u6f6e\u6d41\u7bb1\u5305\u4e3a\u4e3b\u6253\u7684\u9999\u6e2f\u539f\u521b\u54c1\u724c\u3002\u6210\u5458\u5927\u90fd\u6d3b\u8dc3\u4e8e\u9999\u6e2f\u8bbe\u8ba1\u9886\u57df\u53ca\u8d44\u6df1\u751f\u4ea7\u9886\u57df\uff0c\u4ed6\u4eec\u5e26\u7740\u5728\u5404\u81ea\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\uff0c\u4ee5\u53ca\u5bf9\u539f\u521b\u6f6e\u6d41\u7684\u70ed\u7231\u4ee5\u53ca\u5bf9\u54c1\u8d28\u7684\u8ffd\u6c42\uff0c\u6210\u7acb\u4e86&ldquo;ACROSS&rdquo;\u3002\u8bbe\u8ba1\u5e08\u8d4b\u4e88\u4e86ACROSS\u5305\u5305\u6781\u5f3a\u7684\u673a\u80fd\u6027\uff0c\u9694\u5c42\u65b9\u4fbf\u5b9e\u7528\u662fACROSS\u5305\u5305\u7684\u4e00\u5927\u7279\u6027\u3002\u540c\u65f6\uff0c\u8bbe\u8ba1\u575a\u6301\u52a0\u521b\u65b0\u591a\u53d8\u53ca\u5168\u65b9\u4f4d\u7684\u5b8c\u6574\u8bbe\u8ba1\u6982\u5ff5\u3002\u751f\u4ea7\u5236\u4f5c\u4e0a\u575a\u6301\u9ad8\u54c1\u8d28\u7684\u8d28\u91cf\u5b88\u5219\uff0c\u54c1\u8d28\u76d1\u7ba1\u4ece\u5305\u5305\u7684\u57fa\u672c\u4f7f\u7528\u529f\u80fd\u5230\u6750\u6599\u7684\u9009\u62e9\u3001\u914d\u6599\u9009\u7528\u7b49\u7b49\u5404\u79cd\u7ec6\u8282\u4e0a\u90fd\u4e0d\u653e\u8fc7\u3002\u5728&ldquo;ACROSS&rdquo; \u7684\u4e16\u754c\u662f\u7b80\u7ea6\u540c\u65f6\u9c9c\u8273\u591a\u5f69\u7684\uff0c\u6ca1\u6709\u7e41\u590d\u7d2f\u8d58\u7684\u88c5\u9970\uff0c\u8bbe\u8ba1\u4e0a\u5f3a\u8c03\u8272\u5f69\u548c\u7ec6\u8282\u7684\u914d\u642d\uff0c\u5b9e\u7528\u7b80\u5355\u7684\u5355\u54c1\uff0c\u4e0d\u7528\u523b\u610f\u88c5\u626e\uff0c\u90fd\u80fd\u6df7\u642d\u51fa\u6563\u53d1\u6d53\u539a\u81ea\u6211\u98ce\u683c\u7684\u6709\u578bLOOK\uff0c\u8ba9ACROSS\u8ff7\u4eec\u5145\u5206\u611f\u53d7\u9752\u6625\uff0c\u6f6e\u6d41\uff0c\u79ef\u6781\uff0c\u6d3b\u529b\u7684\u6c14\u606f\u3002<\/span><\/p>\r\n","brand_outline":"","brand_css":"","brand_style":"","brand_group_id":"0","hot_keyword":null,"brand_keyword":"","brand_template":"0","status":"1"}},"D":{"7":{"id":"7","brand_name_cn":"\u4e1c\u60c5\u897f\u97f5","brand_name_en":"dongqingxiyun","brand_sign":"","brand_domain":"","parent_id":"0","brand_alif":"D","brand_initials":"d","brand_ico":"\/2011\/01\/24\/11\/17db996334bf58458bee76910241b124e.gif","brand_type_id":"2","brand_certificate":"","brand_scale":"1","brand_level":"2","brand_url":"","brand_intro":"<p>\r\n\t&nbsp;<\/p>\r\n<meta content=\"text\/html; charset=utf-8\" http-equiv=\"content-type\" \/>\r\n<p>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(153, 153, 153); font-family: PMingLiu; line-height: 20px; \">&nbsp;&nbsp; &nbsp;\u4e00 \u4e5d \u4e5d \u96f6 \u5e74 \uff0c \u9673 \u5e7c \u5805 \u958b \u62d3 \u540d \u4e0b \u7522 \u54c1 \u7cfb \u5217 \uff0c \u7531 \u6587 \u5316 \u886b \u3001 \u624b \u9336 \u3001 \u81f3 \u5404 \u6b3e \u5404 \u5f0f \u7684 \u6587 \u5177 \u3001 \u7f50 \u88dd \u8336 \u8449 \u3001 \u4e2d \u570b \u9910 \u5177 \uff0c \u90fd \u662f \u8cea \u7d20 \u512a \u3001 \u5de5 \u85dd \u7cbe \u3001 \u54c1 \u5473 \u9ad8 \uff0c \u5145 \u5206 \u8868 \u73fe \u5176 \u98a8 \u683c \u7684 \u8a2d \u8a08 \u7d50 \u6676 \uff0c \u4e00 \u6d17 \u5916 \u570b \u4eba \u5c0d \u4e2d \u3001 \u6e2f \u7522 \u54c1 \u300c \u50f9 \u5ec9 \u800c \u7269 \u4e0d \u7f8e \u300d \u7684 \u58de \u5370 \u8c61 \uff1b \u4e26 \u51f8 \u986f \u7d30 \u7dfb \u6771 \u65b9 \u611f \u89ba \uff0c \u6563 \u767c \u6771 \u60c5 \u897f \u97fb \u54c1 \u724c \u7368 \u7279 \u7684 \u61f7 \u820a \u6587 \u5316 \u6c23 \u606f \u3002 \u5728 \u9999 \u6e2f \uff0c \u65d7 \u8266 \u5e97 \u300c \u6771 \u897f \u574a \u300d \u8a2d \u65bc \u5c71 \u9802 \u5ee3 \u5834 \u53ca \u534a \u5cf6 \u9152 \u5e97 \uff0c \u4e26 \u7279 \u8a2d \u5c08 \u6ac3 \u65bc \u9152 \u5e97 \u3001 \u5927 \u578b \u767e \u8ca8 \u516c \u53f8 \u3001 \u535a \u7269 \u9928 \u53ca \u7f8e \u8853 \u5c55 \u89bd \u9928 \u5167 \u7684 \u7d00 \u5ff5 \u54c1 \u5546 \u5e97 \uff1b \u7522 \u54c1 \u73fe \u66f4 \u884c \u92b7 \u4e9e \u6d32 \u3001 \u6b50 \u6d32 \u53ca \u7f8e \u570b \u7b49 \u5730 \u3002<\/span><\/p>\r\n","brand_outline":"","brand_css":"","brand_style":"","brand_group_id":"0","hot_keyword":null,"brand_keyword":"","brand_template":"0","status":"1"}},"F":{"9":{"id":"9","brand_name_cn":"furyanimals","brand_name_en":"furyanimals","brand_sign":"","brand_domain":"","parent_id":"2","brand_alif":"F","brand_initials":"f","brand_ico":"\/2011\/01\/24\/11\/2fc590590ce92b8c91cb453474908a6a4.jpg","brand_type_id":"1","brand_certificate":"","brand_scale":"1","brand_level":"1","brand_url":null,"brand_intro":"<p>\r\n\t&nbsp;<\/p>\r\n<meta content=\"text\/html; charset=utf-8\" http-equiv=\"content-type\" \/>\r\n<p>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(153, 153, 153); font-family: PMingLiu; line-height: 20px; \">FURY ANIMALS\u6210\u7acb\u4e8e2006\u5e74\uff0c\u521b\u7acb\u4e4b\u5904\u7531\u4e8e\u65f6\u4e0b\u9752\u5e74\u4e00\u4ee3\u4e0d\u77e5\u5982\u4f55\u8868\u8fbe\u81ea\u5df1\uff0c\u5f80\u5f80\u7ed9\u4eba\u4e00\u79cd\u6124\u6012\u7684\u5370\u8c61\uff0cFURY ANIMALS\u5e0c\u671b\u901a\u8fc7\u81ea\u5df1\u7684\u8bbe\u8ba1\uff0c\u53ef\u4ee5\u8ba9\u4eba\u6b63\u786e\u7684\u7406\u89e3---\u5176\u5b9e\u4ed6\u4eec\u5fc3\u4e2d\u7684\u6124\u6012\u662f\u6b63\u9762\u7684\uff0c\u662f\u4e00\u79cd\u70ed\u60c5\uff0c\u662f\u5bf9\u67d0\u79cd\u4e8b\u60c5\u7684\u6267\u7740\u3002\u5728\u56fe\u6848\u7684\u8fd0\u7528\u4e0a\uff0c\u4e3b\u8981\u7075\u611f\u6765\u81ea\u4e8e\u52a8\u7269\uff0c\u901a\u8fc7\u4e0d\u540c\u52a8\u7269\u7684\u5f62\u8c61\uff0c\u6765\u95f4\u63a5\u8868\u8fbe\u4eba\u4eec\u5fc3\u4e2d\u6c38\u8fdc\u4e0d\u706d\u7684\u90a3\u4efd\u6fc0\u60c5---\u5fc3\u4e2d\u7684\u4e00\u56e2\u706b\u3002<\/span><\/p>\r\n","brand_outline":"","brand_css":"","brand_style":"","brand_group_id":"0","hot_keyword":null,"brand_keyword":"","brand_template":"0","status":"1"}},"L":{"2":{"id":"2","brand_name_cn":"\u674e\u5b81","brand_name_en":"lining","brand_sign":"","brand_domain":"lining.yoho.cn\/","parent_id":"0","brand_alif":"L","brand_initials":"l","brand_ico":"\/2011\/01\/24\/10\/2b24d2e1d85043a1473d2f6f0f0a7e1f8.gif","brand_type_id":"1","brand_certificate":"","brand_scale":"1","brand_level":"1","brand_url":null,"brand_intro":"<p>\r\n\t&nbsp;<\/p>\r\n<p>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(51, 51, 51); font-family: PMingLiu; line-height: 20px;\">\u8fd0\u52a8\u4f60\u6765\u4e3b\u5bb0\uff0c\u4e00\u5207\u7686\u6709\u53ef\u80fd\u3002\u521b\u7acb\u4e8e1990\u5e74\u7684\u674e\u5b81\u54c1\u724c\u662f\u56fd\u4eba\u5fc3\u76ee\u4e2d\u7684\u6c11\u65cf\u8fd0\u52a8\u54c1\u724c\u4ee3\u8868\uff0c\u8fd9\u4e0d\u4ec5\u56e0\u4e3a\u54c1\u724c\u627f\u8f7d\u7740\u521b\u59cb\u4eba\u674e\u5b81\u5148\u751f\u5353\u8d8a\u7684\u8fd0\u52a8\u7cbe\u795e\uff0c\u8fd8\u56e0\u4e3a\u5728\u8fd1\u4e8c\u5341\u5e74\u7684\u53d1\u5c55\u5386\u7a0b\u4e2d\uff0c\u54c1\u724c\u5728\u79c9\u627f\u4e1c\u65b9\u6587\u5316\u7684\u540c\u65f6\u66f4\u79ef\u6781\u5bb9\u7eb3\u65f6\u4ee3\u5143\u7d20\uff0c\u6bcf\u4e00\u4ee3\u65b0\u4ea7\u54c1\u7684\u95ee\u4e16\u90fd\u662f&ldquo;\u4e00\u5207\u7686\u6709\u53ef\u80fd&rdquo;\u6700\u4f73\u7684\u8be0\u91ca\u3002<\/span><br \/>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(51, 51, 51); font-family: PMingLiu; line-height: 20px;\">\u6e90\u4e8e\u800c\u4e0d\u6b62\u4e8e\u8fd0\u52a8\uff0c\u65f6\u5c1a\u4e2a\u6027\u7684\u8fd0\u52a8\u751f\u6d3b\u88c5\u5907\u662f\u674e\u5b81SPORTLIFE\u7cfb\u5217\u4e0d\u61c8\u8ffd\u6c42\u7684\u76ee\u6807\uff0c\u8ba9\u6e34\u671b\u5c55\u793a\u72ec\u7279\u4e00\u9762\u7684\u5e74\u8f7b\u4eba\u5728\u8fd0\u52a8\u573a\u4e0a\u4e5f\u7d27\u8ddf\u6f6e\u6d41\u30022009\u6625\u590fSPORTLIFE\u7cfb\u5217\u4ee5\u6821\u56ed\u4e3b\u9898\u4e3a\u4e3b\u6253\u98ce\u683c\uff0c\u670d\u9970\u8bbe\u8ba1\u878d\u5165\u4e86\u7f8e\u5f0f\u6821\u56ed\u5143\u7d20\uff0c\u7ed3\u5408\u73b0\u4ee3\u5728\u6821\u5b66\u751f\u53ca\u521d\u6b65\u6b65\u5165\u793e\u4f1a\u7684\u5e74\u8f7b\u6d88\u8d39\u4eba\u7fa4\u7684\u8863\u7740\u7279\u70b9\uff0c\u53d1\u5c55\u51faLi Ning Sports Association\uff08\u674e\u5b81\u8fd0\u52a8\u8054\u76df\uff09\u5373L.N.S.A\u8fd9\u6837\u7684\u6982\u5ff5\uff0c\u4f20\u8fbe\u4e86\u56e2\u7ed3\u3001\u70ed\u60c5\u3001\u559c\u60a6\u7684\u5e74\u8f7b\u56e2\u4f53\u7684\u7cbe\u795e\u3002<\/span><br \/>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(51, 51, 51); font-family: PMingLiu; line-height: 20px;\">\u5c06\u8fd0\u52a8\u548c\u6f6e\u6d41\u7d27\u5bc6\u7ed3\u5408\u7684\u674e\u5b81\u54c1\u724c\u8fd8\u5c06\u63a8\u51fa\u9650\u91cf\u7248&ldquo;\u9ed1\u91d1\u7cfb\u5217&rdquo;\uff0c\u9080\u8bf7\u4f60\u6311\u6218\u8fd0\u52a8\u548c\u6f6e\u6d41\u7684\u5b8c\u7f8e\u642d\u914d\u3002<\/span><\/p>\r\n","brand_outline":"\u8fd0\u52a8\u4f60\u6765\u4e3b\u5bb0\uff0c\u4e00\u5207\u7686\u6709\u53ef\u80fd","brand_css":"","brand_style":"","brand_group_id":"0","hot_keyword":null,"brand_keyword":"\u674e\u5b81\uff0c\u8fd0\u52a8","brand_template":"0","status":"1"},"3":{"id":"3","brand_name_cn":"LACOSTE","brand_name_en":"LACOSTE","brand_sign":"","brand_domain":"lacoste.yoho.cn","parent_id":"0","brand_alif":"L","brand_initials":"L","brand_ico":"\/2011\/01\/24\/11\/2f41b386800db306ba7a2a0e3ca8cbbee.gif","brand_type_id":"1","brand_certificate":"","brand_scale":"1","brand_level":"1","brand_url":"www.lacoste.com","brand_intro":"<p>\r\n\t&nbsp;<\/p>\r\n<meta content=\"text\/html; charset=utf-8\" http-equiv=\"content-type\" \/>\r\n<p>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(49, 110, 116); font-family: PMingLiu; line-height: 20px; \">LACOSTE\u670d\u88c5\u6db5\u76d6\u4e86\u7537\u3001\u5973\u88c5\u548c\u7ae5\u88c5\u7cfb\u5217\uff0c\u6b3e\u6b3e\u5b9e\u7528\u800c\u6d41\u884c\u3002\u5b83\u4ee5\u7cbe\u81f4\u7684\u9762\u6599\u9009\u62e9\uff0c\u591a\u53d8\u7684\u8272\u5f69\u642d\u914d\uff0c\u53d8\u5316\u4e30\u5bcc\u7684\u6b3e\u5f0f\uff0c\u5c55\u73b0\u4e86\u9752\u6625\u6d3b\u529b\u548c\u65f6\u5c1a\u4e00\u65cf\u7684\u9b45\u529b\uff0c\u540c\u65f6\u66f4\u5145\u5206\u5f70\u663e\u51fa\u60a8\u7684\u8eab\u4efd\u548c\u5730\u4f4d\u3002<\/span><\/p>\r\n","brand_outline":"","brand_css":"","brand_style":"","brand_group_id":"0","hot_keyword":null,"brand_keyword":"","brand_template":"0","status":"1"}},"M":{"1":{"id":"1","brand_name_cn":"\u7f8e\u7279\u65af\u90a6\u5a01","brand_name_en":"Meters\/bonwe","brand_sign":"","brand_domain":"metersbonwe.yoho.cn\/","parent_id":"0","brand_alif":"M","brand_initials":"m","brand_ico":"\/2011\/01\/24\/14\/27f88a33d5cfc3f65e1c17a3adfac6618.jpg","brand_type_id":"1","brand_certificate":"","brand_scale":"1","brand_level":"1","brand_url":null,"brand_intro":"<p>\r\n\t&nbsp;<\/p>\r\n<p>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(51, 51, 51); font-family: PMingLiu; line-height: 20px;\">Meters\/bonwe\u54c1\u724c\u6574\u4f53\u76ee\u6807\u6d88\u8d39\u7fa4\u5b9a\u4f4d\u572818&mdash;25\u5c81\u6d3b\u529b\u548c\u65f6\u5c1a\u7684\u5e74\u8f7b\u4eba\u7fa4\uff0c\u5021\u5bfc\u9752\u6625\u6d3b\u529b\u548c\u4e2a\u6027\u65f6\u5c1a\u7684\u54c1\u724c\u5f62\u8c61\uff0c\u7ed9\u4eba\u4ee5\u5e73\u7b49\u53cb\u5584\u3001\u5177\u6709\u8d23\u4efb\u611f\u7684\u793e\u4f1a\u5f62\u8c61\uff0c\u5e26\u7ed9\u5e7f\u5927\u6d88\u8d39\u8005\u5bcc\u6709\u6d3b\u529b\u4e2a\u6027\u65f6\u5c1a\u7684\u4f11\u95f2\u670d\u9970\uff0c\u76ee\u524d\u5728\u5168\u56fd\u62e5\u67092600\u591a\u5bb6\u4e13\u5356\u5e97\u3002<\/span><\/p>\r\n<p>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(51, 51, 51); font-family: PMingLiu; line-height: 20px;\">Meters\/bonwe\u7684\u54c1\u724c\u7cbe\u9ad3\u4e3a\uff1a\u4e0d\u8d70\u5bfb\u5e38\u8def\uff01<\/span><\/p>\r\n","brand_outline":"\u4e0d\u8d70\u5bfb\u5e38\u8def\uff01","brand_css":"","brand_style":"\u590d\u53e4","brand_group_id":"0","hot_keyword":null,"brand_keyword":"\u7f8e\u7279\u65af\u90a6\u5a01","brand_template":"0","status":"1"},"6":{"id":"6","brand_name_cn":"morncreations","brand_name_en":"morncreations","brand_sign":"","brand_domain":"morncreations.yoho.cn","parent_id":"0","brand_alif":"M","brand_initials":"m","brand_ico":"\/2011\/01\/24\/11\/214b47d656f3f107fac80f0e644f1bbc7.gif","brand_type_id":"1","brand_certificate":"","brand_scale":"1","brand_level":"1","brand_url":"www.morncreations.cn","brand_intro":"<p>\r\n\t&nbsp;<\/p>\r\n<meta content=\"text\/html; charset=utf-8\" http-equiv=\"content-type\" \/>\r\n<p>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(153, 153, 153); font-family: PMingLiu; line-height: 20px; \">\u4ee5\u9999\u6e2f\u4e3a\u57fa\u5730\uff0c\u521b\u7acb\u4e8e2001\u5e74\u7684\u65e5\u51fa\u610f\u5ff5\u6709\u9650\u516c\u53f8\uff08MORN CREATIONS LIMITED\uff09\u4e8e2003\u5e74\u5f00\u8bbe\u81ea\u5df1\u7684\u54c1\u724c--MORN CREATIONS\uff0c\u63d0\u5021\u4fdd\u62a4\u5927\u81ea\u7136\u52a8\u7269\u7406\u5ff5\uff0c\u5236\u4f5c\u51fa\u4e00\u7cfb\u5217\u4ee5\u718a\u732b\u3001\u9ca8\u9c7c\u3001\u5154\u5b50\u3001\u5c0f\u72ac\u3001\u6076\u9b54\u4e3a\u4e3b\u9898\uff0c\u8272\u5f69\u593a\u76ee\u7684\u5305\u5305\u548c\u9644\u5c5e\u54c1\u3002Morn Creations\u53cd\u5bf9\u65d7\u4e0b\u4ea7\u54c1\u91c7\u7528\u52a8\u7269\u76ae\u80a4\u4e3a\u6750\u6599\uff0c\u800c\u6539\u4e3a\u4f7f\u7528\u5176\u5b83\u7ec7\u54c1\u751f\u4ea7\uff0c\u518d\u52a0\u4e0a\u65f6\u9ae6\u7684\u8bbe\u8ba1\uff0c\u56e0\u800c\u8d62\u5f97\u4e86\u53e3\u7891\uff0c\u8fdc\u9500\u56fd\u5185\u5916\u5e02\u573a\u3002\u7231\u62a4\u5927\u81ea\u7136\uff0c\u4fdd\u62a4\u5c0f\u52a8\u7269\uff0c\u4f60\u51c6\u5907\u597d\u4e86\u5417\uff1f<\/span><\/p>\r\n","brand_outline":"","brand_css":"","brand_style":"\u4f11\u95f2","brand_group_id":"0","hot_keyword":null,"brand_keyword":"","brand_template":"0","status":"1"},"8":{"id":"8","brand_name_cn":"Magicstar","brand_name_en":"Magicstar","brand_sign":"","brand_domain":"Magicstar.yoho.cn","parent_id":"0","brand_alif":"M","brand_initials":"m","brand_ico":"\/2011\/01\/24\/11\/1c6cbd20ac81bbdbac7f8f4396b5a0bdb.gif","brand_type_id":"2","brand_certificate":"","brand_scale":"1","brand_level":"1","brand_url":"www.Magicstar.cn","brand_intro":"<p>\r\n\t&nbsp;<\/p>\r\n<meta content=\"text\/html; charset=utf-8\" http-equiv=\"content-type\" \/>\r\n<p>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(153, 153, 153); font-family: PMingLiu; line-height: 20px; \">\u3010Magic star\u3011\u4e3a\u667a\u5a01\u76ae\u5177\u6709\u9650\u516c\u53f8\uff08zhiwei Co. Ltd.\uff09\u65d7\u4e0b\u54c1\u724c\u3002\u4e8e2005\u5e74\u6240\u521b\u7acb\uff0c\u59cb\u4e8e\u9999\u6e2f\uff0c\u5e76\u4f5c\u4e3a\u8fdb\u5165\u9752\u5c11\u5e74\u4eba\u7fa4\u7684\u4e3b\u63a8\u54c1\u724c\u30022009\u5e74\uff0cMagic star\u5e94\u56fd\u5185\u5e02\u573a\u9700\u8981\uff0c\u5728\u91cd\u89c6\u9999\u6e2f\u5e02\u573a\u7684\u540c\u65f6\uff0c\u4e5f\u5728\u79ef\u6781\u62d3\u5c55\u4e2d\u56fd\u5185\u5730\u6838\u5fc3\u5e02\u573a\u3002\u5148\u540e\u5728\u9999\u6e2f\u3001\u5e7f\u5dde\u8bbe\u5e97\uff0c\u5c24\u5176\u5c06\u91cd\u5fc3\u9010\u6e10\u5411\u5185\u5730\u8f6c\u79fb\uff0c\u66f4\u662f\u5728\u5e7f\u5dde\u8bbe\u5382\u3002\u5728\u9760\u7740\u81ea\u8eab\u4e3a\u65e5\u97e9OEM\u5546\u7684\u6027\u8d28\u57fa\u7840\u4e0a\uff0c\u4ea7\u54c1\u65e0\u8bba\u662f\u5728\u6b3e\u5f0f\u3001\u9762\u6599\u9009\u6750\u8fd8\u662f\u505a\u5de5\u8d28\u91cf\u65b9\u9762\uff0c\u90fd\u5904\u4e8e\u8f83\u9ad8\u7684\u5c42\u9762\u3002<\/span><br \/>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(153, 153, 153); font-family: PMingLiu; line-height: 20px; \">\u52a1\u5b9e\u6c42\u8fdb\u3001\u7acb\u8db3\u672a\u6765\u3002Magic star\u54c1\u724c\u5728\u4e2d\u56fd\u5185\u5730\u53d1\u5c55\u7684\u5f3a\u52bf\u6f5c\u529b\uff0c\u4e3a\u8fdb\u4e00\u6b65\u5145\u5b9e\u7e41\u8363\u4e2d\u56fd\u5185\u5730\u5e02\u573a\uff0c\u51b3\u5b9a\u5728\u4e2d\u56fd\u5185\u5730\u5408\u529b\u6253\u9020Magic star\u54c1\u724c\uff01<\/span><\/p>\r\n","brand_outline":"","brand_css":"","brand_style":"","brand_group_id":"0","hot_keyword":null,"brand_keyword":"","brand_template":"0","status":"1"},"11":{"id":"11","brand_name_cn":"mania","brand_name_en":"mania","brand_sign":"","brand_domain":"mania.yoho.cn\/","parent_id":"0","brand_alif":"M","brand_initials":"m","brand_ico":"\/2011\/01\/24\/13\/1c0dc22e950953e69374daa4fe8548710.gif","brand_type_id":"3","brand_certificate":"","brand_scale":"1","brand_level":"1","brand_url":"www.mania.com","brand_intro":"<p>\r\n\t&nbsp;<\/p>\r\n<meta content=\"text\/html; charset=utf-8\" http-equiv=\"content-type\" \/>\r\n<p>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(153, 153, 153); font-family: PMingLiu; line-height: 20px; \">&nbsp;&nbsp; &nbsp;\u4e8e2002\u5e74\u5275\u7acb\uff0c\u6b63\u5982\u540cMANIA\u5b57\u9762\u4e0a\u7684\u610f\u601d\u76f8\u540c\uff0c\u6211\u5011\u4ee5\u72c2\u71b1\u7684\u614b\u5ea6\u9762\u5c0d\u4e00\u5207\u4e8b\u7269\uff0c\u7528\u4e0d\u754f\u61fc\u7684\u614b\u5ea6\u73a9\u6a02\u751f\u6d3b\uff0c\u4e26\u4ee5\u7f8e\u5f0f\u98a8\u683c\u4f5c\u70ba\u57fa\u790e,\u878d\u5408\u4e86\u7f8e\u570b\u82f1\u96c4.\u5361\u901a.\u97f3\u6a02..\u7b49\u5404\u5f0f\u8857\u982d\u5143\u7d20,\u63a8\u51fa\u4e86\u65b0\u5f62\u614b\u7684\u7f8e\u5f0fMIX\u98a8\u683c!!\u4eca\u5e74\u66f4\u63a8\u51fa\u773e\u591a\u8c50\u5bcc\u4e14\u5b8c\u6574\u5ea6\u9ad8\u7684\u591a\u6a23\u5316\u5546\u54c1\uff0c\u662f\u7d55\u5c0d\u4e0d\u5bb9\u932f\u904e\u7684\u65b0\u6982\u5ff5\u7522\u54c1,\u7279\u5225\u4e00\u63d0\u7684\u662f\u4e00\u76f4\u4ee5\u4f86MANIA\u96d6\u7136\u90fd\u4ee5\u7537\u6027\u670d\u98fe\u4f5c\u70ba\u51fa\u767c\u9ede,\u4f46\u5728\u5973\u6027\u7684\u90e8\u4efd\u4e5f\u662f\u4e00\u76f4\u5728\u52aa\u529b\u7684\u91cd\u9ede\u3002\u4e0d\u7ba1\u662f\u54ea\u4e00\u9805\u55ae\u54c1\u90fd\u662f\u6211\u5011\u7d93\u904e\u7814\u767c,\u7cbe\u9078\u51fa\u4f86\u7684\u5546\u54c1,\u611bMANIA\u7684\u670b\u53cb\u4e5f\u8acb\u4e0d\u8981\u932f\u904e\u65e5\u5f8c\u7684\u767c\u5c55\u53ca\u52d5\u614b!!<\/span><\/p>\r\n","brand_outline":"","brand_css":"","brand_style":"","brand_group_id":"0","hot_keyword":null,"brand_keyword":"","brand_template":"0","status":"1"}},"R":{"12":{"id":"12","brand_name_cn":"reputation","brand_name_en":"reputation","brand_sign":"","brand_domain":"reputation.yoho.cn","parent_id":"0","brand_alif":"R","brand_initials":"r","brand_ico":"\/2011\/01\/24\/13\/261bb351765fcd6d5d0353c967a8f69fe.gif","brand_type_id":"3","brand_certificate":"","brand_scale":"1","brand_level":"2","brand_url":null,"brand_intro":"<p>\r\n\t&nbsp;<\/p>\r\n<p>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(153, 153, 153); font-family: PMingLiu; line-height: 20px;\">REPUTATION\u4e8e2005\u5e74\u6210\u7acb\uff0c\u4ee5\u54c1\u724c\u539f\u59cb\u7cbe\u795e<\/span><br \/>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(153, 153, 153); font-family: PMingLiu; line-height: 20px;\">\u4e3a\u53f0\u6e7e\u8857\u5934\u6ce8\u5165\u4e86\u4e00\u80a1\u65b0\u8840\u3002\u5c06\u54c1\u724c\u8d70\u5411\u5b9a\u4f4d\u4e8e\u897f\u5cb8\u6210\u719f\u786c\u6d3e\u4e0e\u7f8e\u5f0f\u8857\u5934\u7684\u6df7\u5408\u4f53\u3002\u4e3b\u7406\u4eba\u4ee5\u300e\u60f3\u505a\u51fa\u6bcf\u4e2a\u4eba\u90fd\u80fd\u63a5\u53d7\uff0c\u53c8\u90fd\u80fd\u50cf\u4e70\u5230\u7cbe\u54c1\u90a3\u6837\u5f00\u5fc3\u7684\u54c1\u724c\u3002\u300f\u4e3a\u539f\u5219\u5728\u4e3b\u5bfc\u6574\u4e2aREPUTATION\u7684\u4f53\u7cfb\u3002<\/span><br \/>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(153, 153, 153); font-family: PMingLiu; line-height: 20px;\">2008\u5e74\u4e3a\u54c1\u724c\u7684\u7b2c\u4e09\u5468\u5e74\uff0c\u4e5f\u662fREPUTATION\u5927<\/span><br \/>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(153, 153, 153); font-family: PMingLiu; line-height: 20px;\">\u653e\u5f02\u5f69\u7684\u4e00\u5e74\u3002\u4e0d\u7ba1\u5728\u5355\u54c1\u6210\u719f\u5ea6\u3001\u8bbe\u8ba1\u5e08\u7684\u6df1\u5ea6\u3001\u5230\u54c1\u724c\u5f62\u8c61\u90fd\u5c55\u73b0\u9510\u4e0d\u53ef\u6863\u7684\u6c14\u52bf\uff0c\u4e5f\u5c55\u73b0\u51fa\u4e0e\u4e00\u822c\u724c\u5b50\u622a\u7136\u4e0d\u540c\u7684\u575a\u6301\u4e0e\u5b9e\u529b\u3002\u4e5f\u5c06\u54c1\u724c\u7cbe\u795e\u300e\u539f\u521b\u4e0e\u521b\u65b0\u300f\u8868\u73b0\u7684\u6dcb\u6f13\u5c3d\u81f4\u3002<\/span><\/p>\r\n","brand_outline":"","brand_css":"","brand_style":"\u590d\u53e4,\u563b\u76ae,\u56fa\u7740,\u4f11\u95f2,sxxx","brand_group_id":"0","hot_keyword":null,"brand_keyword":"","brand_template":"0","status":"1"}},"S":{"4":{"id":"4","brand_name_cn":"\u901f\u5199","brand_name_en":"croquis","brand_sign":"","brand_domain":"croquis.yoho.cn\/","parent_id":"0","brand_alif":"S","brand_initials":"","brand_ico":"\/2011\/01\/24\/11\/20b5029917972155aed428fd6fe2c3375.gif","brand_type_id":"1","brand_certificate":"","brand_scale":"1","brand_level":"1","brand_url":"www.croquis.com","brand_intro":"<p>\r\n\t&nbsp;<\/p>\r\n<meta content=\"text\/html; charset=utf-8\" http-equiv=\"content-type\" \/>\r\n<p>\r\n\t<span class=\"Apple-style-span\" style=\"color: rgb(51, 51, 51); font-family: PMingLiu; line-height: 20px; \">&nbsp;&nbsp; &nbsp;\u54c1\u724c\u540d\u79f0\u6765\u81ea\u4e8e\u6cd5\u6587,\u539f\u610f\u4e3a&quot;\u901f\u5199&quot;.\u901f\u5199\u662f\u6240\u6709\u7ed8\u753b\u624b\u6cd5\u4e2d\u6700\u4e3a\u5feb\u901f\u800c\u53c8\u6700\u663e\u529f\u5e95\u7684\u8868\u73b0\u624b\u6cd5,\u5728\u65e5\u5e38\u7684\u521b\u4f5c\u8fc7\u7a0b\u4e2d\u6211\u4eec\u501f\u6b64\u624b\u6bb5\u4e0d\u65ad\u7684\u6fc0\u53d1\u6f5c\u5728\u7684\u7075\u611f.\u5728\u8fd9\u91ccCROQUIS\u88ab\u6211\u4eec\u5b9a\u4e49\u4e3a\u4e00\u79cd\u751f\u6d3b\u6a21\u5f0f:\u968f\u610f\u7684\u8868\u8c61\u4e0b\u9690\u85cf\u7740\u5f88\u591a\u7406\u60f3\u548c\u53d1\u73b0,\u6b63\u662f\u56e0\u4e3a\u8fd9\u6837\u7684\u7406\u5ff5\u4f53\u73b0\u4e86\u6211\u4eec\u4e00\u76f4\u7684\u8ffd\u6c42:\u53d1\u73b0\u548c\u5c1d\u8bd5,\u8ffd\u6c42\u65b0\u7684\u89c6\u70b9,\u4f53\u73b0\u7ec6\u5fae\u7684\u53d8\u5316\u6240\u5e26\u6765\u7684\u6539\u53d8.<\/span><\/p>\r\n","brand_outline":"","brand_css":"","brand_style":"","brand_group_id":"0","hot_keyword":null,"brand_keyword":"","brand_template":"0","status":"1"}},"X":{"10":{"id":"10","brand_name_cn":"\u897f\u6e56\u521b\u610f","brand_name_en":"siw","brand_sign":"","brand_domain":"siw.yoho.cn","parent_id":"2","brand_alif":"X","brand_initials":"s","brand_ico":"\/2011\/01\/24\/11\/11af1ab13b10cbb09c1082db96bf7693a.gif","brand_type_id":"1","brand_certificate":"","brand_scale":"1","brand_level":"1","brand_url":null,"brand_intro":"<p>\r\n\t\u897f\u6e56\u521b\u610f\u5e02\u96c6\u662f\u7531\u676d\u5dde\u9177\u8fea\u521b\u610f\u7b56\u5212\u5de5\u573a\u7ec4\u7ec7\u7684\u4e00\u4e2a\u4ee5\u9752\u5e74\u8bbe\u8ba1\u5e08\u548c\u5927\u5b66\u751f\u521b\u610f\u521b\u4e1a\u3001\u4ea7\u54c1\u8bbe\u8ba1\u4ea4\u6d41\u3001\u521b\u610f\u4ea7\u54c1\u5c55\u793a\u3001\u521b\u610f\u4ea7\u54c1\u9500\u552e\u6d3b\u52a8\u4e3a\u4e00\u4f53\u7684\u516c\u76ca\u6027\u521b\u610f\u8bbe\u8ba1\u4e92\u52a8\u5e73\u53f0\u3002 \u897f\u6e56\u521b\u610f\u5e02\u96c6\u76ee\u524d\u5206\u4e3a\u4e09\u4e2a\u677f\u5757\uff1a\u4ee5\u521b\u610f\u8bbe\u8ba1\u5e08\u56e2\u961f\u4e92\u52a8\u4e3a\u4e3b\u8981\u5185\u5bb9\u7684\u897f\u6e56\u521b\u610f\u5e02\u96c6\u8bbe\u8ba1\u4ea4\u6d41\u8bba\u575b\uff0c\u4ee5\u521b\u610f\u4f5c\u54c1\u5c55\u793a\u548c\u5ba3\u4f20\u4e3a\u4e3b\u8981\u5185\u5bb9\u7684\u521b\u610f\u5e02\u96c6\u6d3b\u52a8\uff0c\u4ee5\u521b\u610f\u9b54\u76d2\u4e3a\u6838\u5fc3\u7684\u521b\u610f\u4ea7\u54c1\u9500\u552e\u6e20\u9053\u3002<\/p>\r\n","brand_outline":"","brand_css":"","brand_style":"\u4f11\u95f2","brand_group_id":"0","hot_keyword":null,"brand_keyword":"","brand_template":"0","status":"1"}},"Y":{"13":{"id":"13","brand_name_cn":"\u6709\u8d27","brand_name_en":"yoho","brand_sign":"","brand_domain":"yoho.yohobuy.com","parent_id":"0","brand_alif":"Y","brand_initials":"","brand_ico":"","brand_type_id":"1","brand_certificate":"","brand_scale":"1","brand_level":"1","brand_url":null,"brand_intro":"<p>\r\n\tasdfasdfsafsadfsadf<\/p>\r\n","brand_outline":"","brand_css":"","brand_style":"dddd","brand_group_id":"0","hot_keyword":null,"brand_keyword":"","brand_template":"0","status":"1"}}};
    
    for(var i in brands)
    {
        for(var k in brands[i])
        {
    		tree.insertNewItem(brands[i][k].brand_alif, brands[i][k].id, brands[i][k].brand_name_cn);
        }
        tree.closeAllItems(i);
    }
    sortTree = new dhtmlXTreeObject('sortTree', "100%", "100%", 0);
    sortTree.setImagePath('http://static.yohobuy.com/admin/js/dhtmlxtree/imgs/csh_bluebooks/');
    sortTree.enableCheckBoxes(1);
    sortTree.enableThreeStateCheckboxes(true);

    var goodSorts = {"1":{"id":"1","sort_name":"\u670d\u88c5","sort_units_id":"0","sort_ico":"\/2011\/01\/24\/10\/24b5ea9ed94557788e62afda333785646.gif","sort_template_id":"1","parent_id":"0","order_by":"3","status":"1","sub":{"2":{"id":"2","sort_name":"\u4e0a\u88c5","sort_units_id":null,"sort_ico":"\/2011\/01\/24\/10\/23f8f070a65f79a9c4da76521af84131e.gif","sort_template_id":"1","parent_id":"1","order_by":"10","status":"1","sub":{"8":{"id":"8","sort_name":"T\u6064","sort_units_id":"1","sort_ico":"\/2011\/01\/24\/10\/1cce1c7edd9f3cf96dbf272046a356673.gif","sort_template_id":"1","parent_id":"2","order_by":"7","status":"1"},"7":{"id":"7","sort_name":"\u886c\u886b","sort_units_id":"1","sort_ico":"\/2011\/01\/24\/10\/2cce1c7edd9f3cf96dbf272046a356673.gif","sort_template_id":"1","parent_id":"2","order_by":"6","status":"1"},"9":{"id":"9","sort_name":"POLO\u886b","sort_units_id":"1","sort_ico":"\/2011\/01\/24\/10\/1cce1c7edd9f3cf96dbf272046a356673.gif","sort_template_id":"1","parent_id":"2","order_by":"5","status":"1"},"6":{"id":"6","sort_name":"\u80cc\u5fc3","sort_units_id":"1","sort_ico":"","sort_template_id":"1","parent_id":"2","order_by":"4","status":"1"},"105":{"id":"105","sort_name":"\u9a6c\u7532","sort_units_id":"1","sort_ico":"","sort_template_id":"1","parent_id":"2","order_by":"3","status":"1"},"4":{"id":"4","sort_name":"\u536b\u8863","sort_units_id":"1","sort_ico":"\/2011\/01\/24\/10\/1cce1c7edd9f3cf96dbf272046a356673.gif","sort_template_id":"1","parent_id":"2","order_by":"2","status":"1"},"5":{"id":"5","sort_name":"\u9488\u7ec7\u886b","sort_units_id":"1","sort_ico":"\/2011\/01\/24\/10\/2cce1c7edd9f3cf96dbf272046a356673.gif","sort_template_id":"1","parent_id":"2","order_by":"1","status":"1"}}},"101":{"id":"101","sort_name":"\u5916\u5957","sort_units_id":null,"sort_ico":"","sort_template_id":"1","parent_id":"1","order_by":"9","status":"1","sub":{"106":{"id":"106","sort_name":"\u7fbd\u7ed2\u670d","sort_units_id":"1","sort_ico":"","sort_template_id":"1","parent_id":"101","order_by":"5","status":"1"},"107":{"id":"107","sort_name":"\u897f\u88c5","sort_units_id":"1","sort_ico":"","sort_template_id":"1","parent_id":"101","order_by":"4","status":"1"},"108":{"id":"108","sort_name":"\u68c9\u8863","sort_units_id":"1","sort_ico":"","sort_template_id":"1","parent_id":"101","order_by":"3","status":"1"},"109":{"id":"109","sort_name":"\u5939\u514b","sort_units_id":"1","sort_ico":"","sort_template_id":"1","parent_id":"101","order_by":"2","status":"1"},"110":{"id":"110","sort_name":"\u98ce\u8863","sort_units_id":"1","sort_ico":"","sort_template_id":"1","parent_id":"101","order_by":"1","status":"1"}}},"10":{"id":"10","sort_name":"\u88e4\u7c7b","sort_units_id":"0","sort_ico":"\/2011\/01\/24\/11\/26134eeea0ee51d1e4a4957bbbe473e87.gif","sort_template_id":"1","parent_id":"1","order_by":"8","status":"1","sub":{"11":{"id":"11","sort_name":"\u4f11\u95f2\u88e4","sort_units_id":"3","sort_ico":"\/2011\/01\/24\/11\/196d1c6074b5c3b0a53195dbbca48f185.gif","sort_template_id":"1","parent_id":"10","order_by":"0","status":"1"},"12":{"id":"12","sort_name":"\u725b\u4ed4\u88e4","sort_units_id":"3","sort_ico":"\/2011\/01\/24\/11\/296d1c6074b5c3b0a53195dbbca48f185.gif","sort_template_id":"1","parent_id":"10","order_by":"0","status":"1"},"15":{"id":"15","sort_name":"\u6253\u5e95\u88e4","sort_units_id":"3","sort_ico":"\/2011\/01\/24\/11\/296d1c6074b5c3b0a53195dbbca48f185.gif","sort_template_id":"1","parent_id":"10","order_by":"0","status":"1"}}},"102":{"id":"102","sort_name":"\u88d9\u7c7b","sort_units_id":null,"sort_ico":"","sort_template_id":"1","parent_id":"1","order_by":"7","status":"1","sub":{"111":{"id":"111","sort_name":"\u8fde\u8eab\u88d9","sort_units_id":"3","sort_ico":"","sort_template_id":"1","parent_id":"102","order_by":"2","status":"1"},"112":{"id":"112","sort_name":"\u534a\u8eab\u88d9","sort_units_id":"3","sort_ico":"","sort_template_id":"1","parent_id":"102","order_by":"1","status":"1"}}},"48":{"id":"48","sort_name":"\u5185\u8863","sort_units_id":"0","sort_ico":"","sort_template_id":"1","parent_id":"1","order_by":"6","status":"1","sub":{"113":{"id":"113","sort_name":"\u6587\u80f8","sort_units_id":"1","sort_ico":"","sort_template_id":"1","parent_id":"48","order_by":"3","status":"1"},"49":{"id":"49","sort_name":"\u5185\u88e4","sort_units_id":"3","sort_ico":"","sort_template_id":"1","parent_id":"48","order_by":"2","status":"1"},"54":{"id":"54","sort_name":"\u889c\u5b50","sort_units_id":"6","sort_ico":"","sort_template_id":"1","parent_id":"48","order_by":"1","status":"1"}}},"20":{"id":"20","sort_name":"\u978b\u7c7b","sort_units_id":"0","sort_ico":"\/2011\/01\/24\/11\/26134eeea0ee51d1e4a4957bbbe473e87.gif","sort_template_id":"1","parent_id":"1","order_by":"5","status":"1","sub":{"22":{"id":"22","sort_name":"\u4f11\u95f2\u978b","sort_units_id":"6","sort_ico":"","sort_template_id":"1","parent_id":"20","order_by":"5","status":"1"},"25":{"id":"25","sort_name":"\u9774\u5b50","sort_units_id":"6","sort_ico":"","sort_template_id":"1","parent_id":"20","order_by":"4","status":"1"},"21":{"id":"21","sort_name":"\u76ae\u978b","sort_units_id":"6","sort_ico":"","sort_template_id":"1","parent_id":"20","order_by":"3","status":"1"},"23":{"id":"23","sort_name":"\u51c9\u978b","sort_units_id":"6","sort_ico":"","sort_template_id":"1","parent_id":"20","order_by":"2","status":"1"},"114":{"id":"114","sort_name":"\u9ad8\u8ddf\u978b","sort_units_id":"6","sort_ico":"","sort_template_id":"1","parent_id":"20","order_by":"1","status":"1"}}},"103":{"id":"103","sort_name":"\u914d\u9970","sort_units_id":null,"sort_ico":"","sort_template_id":"1","parent_id":"1","order_by":"4","status":"1","sub":{"115":{"id":"115","sort_name":"\u624b\u8868","sort_units_id":"4","sort_ico":"","sort_template_id":"1","parent_id":"103","order_by":"12","status":"1"},"116":{"id":"116","sort_name":"\u773c\u955c\/\u592a\u9633\u955c","sort_units_id":"7","sort_ico":"","sort_template_id":"1","parent_id":"103","order_by":"11","status":"1"},"117":{"id":"117","sort_name":"\u624b\u5957","sort_units_id":"6","sort_ico":"","sort_template_id":"1","parent_id":"103","order_by":"10","status":"1"},"118":{"id":"118","sort_name":"\u56f4\u5dfe\/\u65b9\u5dfe\/\u62ab\u80a9","sort_units_id":"3","sort_ico":"","sort_template_id":"1","parent_id":"103","order_by":"9","status":"1"},"119":{"id":"119","sort_name":"\u9886\u7ed3\/\u9886\u5e26","sort_units_id":"3","sort_ico":"","sort_template_id":"1","parent_id":"103","order_by":"8","status":"1"},"120":{"id":"120","sort_name":"\u8170\u5e26\/\u88e4\u94fe","sort_units_id":"3","sort_ico":"","sort_template_id":"1","parent_id":"103","order_by":"7","status":"1"},"121":{"id":"121","sort_name":"\u9879\u94fe\/\u5760\u9970","sort_units_id":"3","sort_ico":"","sort_template_id":"1","parent_id":"103","order_by":"6","status":"1"},"122":{"id":"122","sort_name":"\u80f8\u9488\/\u80f8\u7ae0","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"103","order_by":"5","status":"1"},"123":{"id":"123","sort_name":"\u624b\u73af\/\u624b\u956f\/\u811a\u94fe","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"103","order_by":"4","status":"1"},"124":{"id":"124","sort_name":"\u8033\u9489\/\u8033\u73af","sort_units_id":"7","sort_ico":"","sort_template_id":"1","parent_id":"103","order_by":"3","status":"1"},"126":{"id":"126","sort_name":"\u6212\u6307","sort_units_id":"13","sort_ico":"","sort_template_id":"1","parent_id":"103","order_by":"2","status":"1"},"125":{"id":"125","sort_name":"\u624b\u673a\u94fe\/\u94a5\u5319\u6263\/\u6302\u7ef3","sort_units_id":"3","sort_ico":"","sort_template_id":"1","parent_id":"103","order_by":"1","status":"1"}}},"30":{"id":"30","sort_name":"\u5e3d\u5b50","sort_units_id":null,"sort_ico":"","sort_template_id":"1","parent_id":"1","order_by":"3","status":"1","sub":{"34":{"id":"34","sort_name":"\u68d2\u7403\u5e3d","sort_units_id":"8","sort_ico":"","sort_template_id":"1","parent_id":"30","order_by":"8","status":"1"},"33":{"id":"33","sort_name":"\u8d27\u8f66\u5e3d","sort_units_id":"8","sort_ico":"","sort_template_id":"1","parent_id":"30","order_by":"7","status":"1"},"31":{"id":"31","sort_name":"\u8d1d\u96f7\u5e3d","sort_units_id":"8","sort_ico":"","sort_template_id":"1","parent_id":"30","order_by":"6","status":"1"},"35":{"id":"35","sort_name":"\u516b\u89d2\u5e3d","sort_units_id":"8","sort_ico":"","sort_template_id":"1","parent_id":"30","order_by":"5","status":"1"},"36":{"id":"36","sort_name":"\u6e14\u592b\u5e3d","sort_units_id":"8","sort_ico":"","sort_template_id":"1","parent_id":"30","order_by":"4","status":"1"},"37":{"id":"37","sort_name":"\u9e2d\u820c\u5e3d","sort_units_id":"8","sort_ico":"","sort_template_id":"1","parent_id":"30","order_by":"3","status":"1"},"127":{"id":"127","sort_name":"\u793c\u5e3d","sort_units_id":"8","sort_ico":"","sort_template_id":"1","parent_id":"30","order_by":"2","status":"1"},"32":{"id":"32","sort_name":"\u7ebf\u5e3d","sort_units_id":"8","sort_ico":"","sort_template_id":"1","parent_id":"30","order_by":"1","status":"1"}}},"104":{"id":"104","sort_name":"\u5316\u5986\u54c1","sort_units_id":null,"sort_ico":"","sort_template_id":"1","parent_id":"1","order_by":"2","status":"1","sub":{"128":{"id":"128","sort_name":"\u62a4\u80a4\/\u62a4\u7406\u54c1","sort_units_id":"11","sort_ico":"","sort_template_id":"1","parent_id":"104","order_by":"3","status":"1"},"129":{"id":"129","sort_name":"\u5f69\u5986","sort_units_id":"9","sort_ico":"","sort_template_id":"1","parent_id":"104","order_by":"2","status":"1"},"130":{"id":"130","sort_name":"\u9999\u6c34","sort_units_id":"11","sort_ico":"","sort_template_id":"1","parent_id":"104","order_by":"1","status":"1"}}},"38":{"id":"38","sort_name":"\u5305\u7c7b","sort_units_id":"0","sort_ico":"","sort_template_id":"1","parent_id":"1","order_by":"1","status":"1","sub":{"40":{"id":"40","sort_name":"\u53cc\u80a9\u5305","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"38","order_by":"10","status":"1"},"39":{"id":"39","sort_name":"\u5355\u80a9\u5305","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"38","order_by":"9","status":"1"},"43":{"id":"43","sort_name":"\u624b\u62ce\u5355\u80a9\u5305","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"38","order_by":"8","status":"1"},"47":{"id":"47","sort_name":"\u624b\u62ce\u5305\/\u6ce2\u58eb\u987f\u5305","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"38","order_by":"7","status":"1"},"131":{"id":"131","sort_name":"\u516c\u6587\u5305\/\u7535\u8111\u5305","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"38","order_by":"6","status":"1"},"41":{"id":"41","sort_name":"\u8170\u5305","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"38","order_by":"5","status":"1"},"44":{"id":"44","sort_name":"\u94b1\u5305\/\u624b\u5305","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"38","order_by":"4","status":"1"},"46":{"id":"46","sort_name":"\u6d17\u6f31\u5305\/\u5316\u5986\u5305","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"38","order_by":"3","status":"1"},"45":{"id":"45","sort_name":"\u5361\u5305\/\u5c0f\u5305","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"38","order_by":"2","status":"1"},"42":{"id":"42","sort_name":"\u6536\u7eb3\u5305","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"38","order_by":"1","status":"1"}}}}},"132":{"id":"132","sort_name":"\u5973\u88c5","sort_units_id":null,"sort_ico":"","sort_template_id":"1","parent_id":"0","order_by":"2","status":"0","sub":[]},"79":{"id":"79","sort_name":"Lifestyle","sort_units_id":"0","sort_ico":"","sort_template_id":"1","parent_id":"0","order_by":"1","status":"1","sub":{"84":{"id":"84","sort_name":"\u65e5\u7528\u767e\u8d27","sort_units_id":"0","sort_ico":"","sort_template_id":"1","parent_id":"79","order_by":"0","status":"1","sub":{"88":{"id":"88","sort_name":"\u676f\u5b50\/\u6c34\u58f6","sort_units_id":"4","sort_ico":"","sort_template_id":"1","parent_id":"84","order_by":"0","status":"1"},"89":{"id":"89","sort_name":"\u5c45\u5bb6\u7528\u54c1","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"84","order_by":"0","status":"1"},"90":{"id":"90","sort_name":"\u9760\u57ab\/\u62b1\u6795","sort_units_id":"1","sort_ico":"","sort_template_id":"1","parent_id":"84","order_by":"0","status":"1"},"91":{"id":"91","sort_name":"\u978b\u5e26\/\u978b\u57ab","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"84","order_by":"0","status":"1"},"92":{"id":"92","sort_name":"\u9910\u996e\u7528\u5177","sort_units_id":"4","sort_ico":"","sort_template_id":"1","parent_id":"84","order_by":"0","status":"1"}}},"85":{"id":"85","sort_name":"\u6587\u4f53\u7528\u54c1","sort_units_id":null,"sort_ico":"","sort_template_id":"1","parent_id":"79","order_by":"0","status":"1","sub":{"93":{"id":"93","sort_name":"\u7b14\u8bb0\u672c\/\u4fbf\u7b7e\u672c","sort_units_id":"5","sort_ico":"","sort_template_id":"1","parent_id":"85","order_by":"0","status":"1"},"94":{"id":"94","sort_name":"\u6587\u5177","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"85","order_by":"0","status":"1"},"95":{"id":"95","sort_name":"\u56fe\u4e66\/\u97f3\u50cf","sort_units_id":"5","sort_ico":"","sort_template_id":"1","parent_id":"85","order_by":"0","status":"1"},"96":{"id":"96","sort_name":"\u4f53\u80b2\u7528\u54c1","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"85","order_by":"0","status":"1"},"97":{"id":"97","sort_name":"\u73a9\u5177","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"85","order_by":"0","status":"1"}}},"86":{"id":"86","sort_name":"\u7535\u5b50\u6570\u7801","sort_units_id":"0","sort_ico":"","sort_template_id":"1","parent_id":"79","order_by":"0","status":"1","sub":{"98":{"id":"98","sort_name":"\u7535\u8111\u5468\u8fb9","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"86","order_by":"0","status":"1"},"99":{"id":"99","sort_name":"\u76f8\u673a","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"86","order_by":"0","status":"1"},"100":{"id":"100","sort_name":"\u8033\u673a\/\u97f3\u54cd","sort_units_id":"2","sort_ico":"","sort_template_id":"1","parent_id":"86","order_by":"0","status":"1"}}}}}} ;
    for(var i in goodSorts)
    {
    	sortTree.insertNewItem(0, goodSorts[i].id, goodSorts[i].sort_name);
    	for(var j in goodSorts[i].sub)
    	{
    		sortTree.insertNewItem(goodSorts[i].id, goodSorts[i].id + '_' + goodSorts[i].sub[j].id, goodSorts[i].sub[j].sort_name);
    		for(var k in goodSorts[i].sub[j].sub)
    		{
    			sortTree.insertNewItem(goodSorts[i].id + '_' + goodSorts[i].sub[j].id, goodSorts[i].id + '_' + goodSorts[i].sub[j].id + '_' + goodSorts[i].sub[j].sub[k].id, goodSorts[i].sub[j].sub[k].sort_name);
    		}
    		sortTree.closeAllItems(goodSorts[i].id + '_' + goodSorts[i].sub[j].id);
    	}
    }	

    
    
    $('#btnSubmit').click(function(){
		var brandid = tree.getSelectedItemId();
		if(brandid == '')
		{
			alert('请选择一个品牌');
			return;
		}
		var sortIds = sortTree.getAllChecked();
		$.getJSON('/brand/updatesort?id=' + brandid + "&sortids=" + sortIds, function(data){
			if(data.code == 200)
			{
				alert('操作成功');
			}
		});
		
    });

    tree.attachEvent("onClick",function(id){
        $.getJSON('/brand/getsort?id=' + id, function(revData){
            if(revData.code == 200)
            {
            	sortTree.closeAllItems(0);   
            	sortTree.setSubChecked(0, false);             
				for(var sort in revData.data)
				{
					var sortTreeId = revData.data[sort].max_sort_id + '_' + revData.data[sort].middle_sort_id + '_' + revData.data[sort].small_sort_id;					
					sortTree.setCheck(sortTreeId, true);
					sortTree.openItem(revData.data[sort].max_sort_id + '_' + revData.data[sort].middle_sort_id);
				}
            }
            else
            {
            	sortTree.setSubChecked(0, false);
            }
        });
    });

});




</script></div>
</body>
</html>