制定订货目标.html 16.1 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" rel="stylesheet" type="text/css" media="all" />
	<script type="text/javascript" src="http://static.yohobuy.com/admin/js/jquery.min.js"></script>
	<link type="text/css" href="http://static.yohobuy.com/admin/js/jqueryui/themes/ui-lightness/jquery-ui-1.8.7.custom.css" rel="stylesheet" />
	<script type="text/javascript" src="http://static.yohobuy.com/admin/js/jqueryui/ui/jquery-ui-1.8.7.custom.js"></script>
	<script type="text/javascript" src="http://static.yohobuy.com/admin/js/jqueryui/ui/i18n/jquery.ui.datepicker-zh-CN.js"></script>
	<script type="text/javascript">
	$(function() {
		$( "#datepicker" ).datepicker();
		$( "#datepicker2" ).datepicker();
	});
	</script>
	<title>YOHO有货后台管理</title>
	</head>

	<body>
<div class="mainbox">
      <div class="daohang">当前位置:<a href="main.html">首页</a> > <span>制定订货目标</span></div>
      <div class="lan-tab">
    <ul>
          <li class="act" onclick="window.location.href='#'">2012年</li>
          <li onclick="window.location.href='#'">2011年</li>
          <li onclick="window.location.href='#'">2010年</li>
          <li onclick="window.location.href='#'">2009年</li>
        </ul>
  </div>
      <table class="table1" style="width: 100%; text-align:center;">
    <thead>
          <tr>
        <th width="10%" align="center"></th>
        <th width="10%" align="center"></th>
        <th width="15%" align="center">预期销售(元)</th>
        <th width="15%" align="center">预期进货(元)</th>
        <th width="20%" align="center">最后更新时间</th>
        <th width="10%" align="center">详细</th>
        <th width="20%" align="center" colspan="2">操作</th>
      </tr>
        </thead>
    <tbody>
          <tr >
        <td>2012</td>
        <td>12</td>
        <td><input type="text" size="8" id="txt_116_sg" name="txt_116" value="0" /></td>
        <td><input type="text" size="8" id="txt_116_pg" name="txt_116" value="0" /></td>
        <td><span id="span_116">2009-10-22 11:00:58</span></td>
        <td><button class="but2">进货详细</button></td>
        <td><button class="but2" onclick="opendialog();">分类目标</button></td>
        <td><button class="but2">修改</button></td>
      </tr>
          <tr class="F1">
        <td>2012</td>
        <td>11</td>
        <td><input type="text" size="8" id="txt_115_sg" name="txt_115" value="0" /></td>
        <td><input type="text" size="8" id="txt_115_pg" name="txt_115" value="0" /></td>
        <td><span id="span_115">2009-10-22 11:00:58</span></td>
        <td><button class="but2">进货详细</button></td>
        <td><button class="but2">分类目标</button></td>
        <td><button class="but2" onclick="Edit(115);">修改</button></td>
      </tr>
        </tbody>
    <tfoot>
          <tr>
        <td colspan="2" align="center"><span class="font_red"><strong>总计:</strong></span></td>
        <td align="center"><span class="font_red"><strong>0</strong></span></td>
        <td align="center"><span class="font_red"><strong>0</strong></span></td>
        <td colspan="3"></td>
      </tr>
        </tfoot>
  </table>
    </div>
<script type="text/javascript">
			$(function(){

				// Dialog			
				$('#dialog').dialog({
					autoOpen: false,
					width:450,
                    height:400,
					modal: true,
					resizable: false
				});
				
			
				
			});
			
				function opendialog(){
					$('#dialog').dialog('open');
					return false;
					
				}
				
				function ShowChild(pid) {
            $("tr[name='tr_" + pid + "']").each(function() {
                if ($(this)[0].style.display == "") {
                    $(this)[0].style.display = "none";
                }
                else {
                    $(this)[0].style.display = "";
                }
            });
        }
</script>
<div id="dialog" title="分类目标" style="display:none;">
    <table class="table1" style="text-align:center;">
    <thead>
      <tr>
        <th width="80px" align="center">一级分类</th>
        <th width="80px" align="center">二级分类</th>
        <th width="80px" align="center">三级分类</th>
        <th width="80px" align="center">目标值(%)</th>
        <th width="80px" align="center">操作</th>
      </tr>
    </thead>
    <tbody>
      <tr class="F1" onclick="ShowChild(1);" style="cursor:pointer;" title="点击展开/关闭子分类">
        <td align="left" colspan="3"><span class="font_green"><strong>上衣</strong></span></td>
        <td class="F1"><strong><span class="font_green">0</span></strong></td>
        <td class="F1"></td>
      </tr>
      <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">夹克</td>
        <td><input type="text" size="2" id="txt_2" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">卫衣</td>
        <td><input type="text" size="2" id="txt_3" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">拉链衫</td>
        <td><input type="text" size="2" id="txt_4" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">其他</td>
        <td><input type="text" size="2" id="txt_5" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">外套</td>
        <td><input type="text" size="2" id="txt_6" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">背心与马甲</td>
        <td><input type="text" size="2" id="txt_7" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_1" onclick="ShowChild(8);" style="display:none; cursor:pointer;" title="点击展开/关闭子分类">
        <td></td>
        <td align="left" colspan="2" class="F1"><span class="font_green"><strong>衬衫</strong></span></td>
        <td class="F1"><strong><span class="font_green">0</span></strong></td>
        <td class="F1"></td>
      </tr>
          <tr name="tr_8" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">长袖衬衫</td>
        <td><input type="text" size="2" id="txt_9" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_8" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">短袖衬衫</td>
        <td><input type="text" size="2" id="txt_10" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_8" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">无袖衬衫</td>
        <td><input type="text" size="2" id="txt_95" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_1" onclick="ShowChild(11);" style="display:none; cursor:pointer;" title="点击展开/关闭子分类">
        <td></td>
        <td align="left" colspan="2" class="F1"><span class="font_green"><strong>T恤</strong></span></td>
        <td class="F1"><strong><span class="font_green">0</span></strong></td>
        <td class="F1"></td>
      </tr>
      <tr name="tr_11" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">长袖T恤</td>
        <td><input type="text" size="2" id="txt_12" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_11" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">短袖T恤</td>
        <td><input type="text" size="2" id="txt_13" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_11" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">中袖T恤</td>
        <td><input type="text" size="2" id="txt_86" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_11" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">无袖T恤</td>
        <td><input type="text" size="2" id="txt_96" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_1" onclick="ShowChild(14);" style="display:none; cursor:pointer;" title="点击展开/关闭子分类">
        <td></td>
        <td align="left" colspan="2" class="F1"><span class="font_green"><strong>POLO衫</strong></span></td>
        <td class="F1"><strong><span class="font_green">0</span></strong></td>
        <td class="F1"></td>
      </tr>
      <tr name="tr_14" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">长袖POLO衫</td>
        <td><input type="text" size="2" id="txt_15" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
      <tr name="tr_14" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">短袖POLO衫</td>
        <td><input type="text" size="2" id="txt_16" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_14" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">无袖POLO衫</td>
        <td><input type="text" size="2" id="txt_97" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">毛衣</td>
        <td><input type="text" size="2" id="txt_17" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">西装</td>
        <td><input type="text" size="2" id="txt_18" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">棉衣</td>
        <td><input type="text" size="2" id="txt_80" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">皮衣</td>
        <td><input type="text" size="2" id="txt_81" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">大衣</td>
        <td><input type="text" size="2" id="txt_82" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">线衣</td>
        <td><input type="text" size="2" id="txt_83" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">针织衫</td>
        <td><input type="text" size="2" id="txt_84" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">风衣</td>
        <td><input type="text" size="2" id="txt_85" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">羽绒服</td>
        <td><input type="text" size="2" id="txt_98" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_1" style="display:none;">
        <td></td>
        <td align="left" colspan="2">运动服</td>
        <td><input type="text" size="2" id="txt_99" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr >
        <td align="left" colspan="3">玩偶</td>
        <td><input type="text" size="2" id="txt_66" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr class="F1" onclick="ShowChild(67);" style="cursor:pointer;" title="点击展开/关闭子分类">
        <td align="left" colspan="3"><span class="font_green"><strong>文体用品</strong></span></td>
        <td class="F1"><strong><span class="font_green">0</span></strong></td>
        <td class="F1"></td>
      </tr>
          <tr name="tr_67" onclick="ShowChild(68);" style="display:none; cursor:pointer;" title="点击展开/关闭子分类">
        <td></td>
        <td align="left" colspan="2" class="F1"><span class="font_green"><strong></strong></span></td>
        <td class="F1"><strong><span class="font_green">0</span></strong></td>
        <td class="F1"></td>
      </tr>
          <tr name="tr_68" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">杂志</td>
        <td><input type="text" size="2" id="txt_155" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_68" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">书籍</td>
        <td><input type="text" size="2" id="txt_156" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_67" onclick="ShowChild(69);" style="display:none; cursor:pointer;" title="点击展开/关闭子分类">
        <td></td>
        <td align="left" colspan="2" class="F1"><span class="font_green"><strong>本子</strong></span></td>
        <td class="F1"><strong><span class="font_green">0</span></strong></td>
        <td class="F1"></td>
      </tr>
          <tr name="tr_69" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">笔记本</td>
        <td><input type="text" size="2" id="txt_117" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_69" style="display:none;">
        <td></td>
        <td></td>
        <td align="right">便签本</td>
        <td><input type="text" size="2" id="txt_118" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
      </tr>
          <tr name="tr_67" style="display:none;">
        <td></td>
        <td align="left" colspan="2">文件袋</td>
        <td><input type="text" size="2" id="txt_70" name="txt_sort" value="0" /></td>
        <td><button type="button" class="but2">修改</button></td>
        </tr>
     
          <tr class="F1">
        <td colspan="3" align="left"><span class="font_red"><strong>总计:</strong></span></td>
        <td><span class="font_red"><strong>0</strong></span></td>
        <td></td>
      </tr>
        </tbody>
  </table>
    </div>
</body>
</html>