修改商品信息.html 19.9 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();
	});
	
        var modifiedpro = {
			selprotype: function(value) {
                switch (value) {
                    case "2":
                        $("#datepicker").show();
                        break;
                    default:
                        $("#datepicker").hide();
                        break;
                }
            },
            seltag: function(value, id) {
                $("#" + id).append(value + ",");
            }
        };
    
</script>

<title>YOHO有货后台管理</title>
</head>

<body>
<div class="mainbox">
  <div class="daohang">当前位置:<a href="main.html">首页</a> > <span>修改商品信息</span></div>
  <table class="table1" style="width:100%;">
    <thead>
      <tr>
        <th colspan="3">修改商品信息</th>
      </tr>
    </thead>
    <tr>
      <td style="width:10%;" align="right">商品编号</td>
      <td style="width:40%;"><input type="text" id="promajor" readonly="readonly" style="color:MenuText;background-color:Menu;" value="JADJ0116" /></td>
      <td rowspan="20" valign="top"><div>
          <fieldset>
            <legend>关键字(以英文逗号","分隔)</legend>
            <div>
              <fieldset>
                <legend>风格</legend>
                <textarea id="protag1" name="protag1" cols="" rows="" style="width: 98%;height: 50px;"></textarea>
                关键字:<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">裤子</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">牛仔裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">长裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">丹宁裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">红丹宁</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">原色</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">原浆</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">九分裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">七分裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">中裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">五分裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">短裤/热裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">靴裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">打底裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">裙裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">背带</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">直筒</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">小脚</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">铅笔裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">微喇</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">喇叭</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">工装</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">阔腿</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">垮裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">滑板裤</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">韩版</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">休闲</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">魅力</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">时尚</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">女人味</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">淑女</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">波西米亚</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">百搭</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">瑞丽</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">简约</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">可爱</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">优雅</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">学院派</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">民族</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">职业</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">街头</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">嘻哈</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">OL风格</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">正装</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">欧美</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">洛丽塔</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">中性</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">嬉皮</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">朋克</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">田园</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">日式</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">压皱</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">磨白</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">水洗</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">做旧</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">磨破</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">大兜</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">褶皱</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">翻边</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">刺绣</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">口袋</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">图案</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag1')" style="cursor:pointer;">修身</span>
              </fieldset>
            </div>
            <div>
              <fieldset>
                <legend>材质</legend>
                <textarea id="protag2" name="protag2" cols="" rows="" style="width: 98%;height: 50px;"></textarea>
                关键字:<span onclick="modifiedpro.seltag(this.innerHTML, 'protag2')" style="cursor:pointer;"></span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag2')" style="cursor:pointer;">牛仔布</span>
              </fieldset>
            </div>
            <div>
              <fieldset>
                <legend>图案</legend>
                <textarea id="protag3" name="protag3" cols="" rows="" style="width: 98%;height: 50px;"></textarea>
                关键字:<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">纯色</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">印花</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">多色</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">格子</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">钉珠</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">绣花</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">条纹</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">亮片</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">花草</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">圆点</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">拼色</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">几何</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">波普</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">动物</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">手绘</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">人物</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">风景</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">数字</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">彩绘</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">字母</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">文字</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">logo</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">迷彩</span>,<span onclick="modifiedpro.seltag(this.innerHTML, 'protag3')" style="cursor:pointer;">拼贴画</span>
              </fieldset>
            </div>
          </fieldset>
        </div>
        <div>
          <fieldset>
            <legend>商品描述</legend>
            <textarea id="prodes" name="prodes" cols="" rows="" style="width: 98%;height: 100px;"></textarea>
          </fieldset>
        </div></td>
    </tr>
    <tr>
      <td style="width:10%;" align="right">厂家编号</td>
      <td style="width:40%;"><input type="text" id="proorig" name="proorig" value="2111643557" /></td>
    </tr>
    <tr>
      <td align="right">商品名称</td>
      <td><input type="text" id="proname" name="proname" value="合体直筒牛仔裤" /></td>
    </tr>
    <tr>
      <td align="right">商品性别</td>
      <td><select id="selsex" name="selsex" style="width:155px;">
          <option value="通用" >通用</option>
          <option value="男" ></option>
          <option value="女" selected="selected"></option>
        </select></td>
    </tr>
    <tr>
      <td align="right">商品颜色</td>
      <td><input type="text" id="selpcol" readonly="readonly" style="color:MenuText;background-color:Menu;" value="粉色系-P" /></td>
    </tr>
    <tr>
      <td align="right">商品品牌</td>
      <td><input type="text" id="probiz" readonly="readonly" style="color:MenuText;background-color:Menu;" value="JASONWOOD" /></td>
    </tr>
    <tr>
      <td align="right">品牌分类</td>
      <td><select id="selbizsorts" name="selbizsorts" style="width:155px;">
          <optgroup label="裤类-Pants "></optgroup>
          <option value="2349" selected="selected">&nbsp;&nbsp;&nbsp;&nbsp;牛仔裤-Jeans pants</option>
          <option value="2464" >&nbsp;&nbsp;&nbsp;&nbsp;休闲裤-Relaxed pants</option>
          <option value="3459" >&nbsp;&nbsp;&nbsp;&nbsp;短裤-Short pants </option>
          <optgroup label="上衣-Coat"></optgroup>
          <option value="2351" >&nbsp;&nbsp;&nbsp;&nbsp;T恤-T-shirt</option>
          <option value="2353" >&nbsp;&nbsp;&nbsp;&nbsp;背心与马甲-Vest</option>
          <option value="2458" >&nbsp;&nbsp;&nbsp;&nbsp;衬衫-Shirt</option>
          <option value="2459" >&nbsp;&nbsp;&nbsp;&nbsp;夹克-Jacket</option>
          <option value="2460" >&nbsp;&nbsp;&nbsp;&nbsp;卫衣-HOODY</option>
          <option value="2461" >&nbsp;&nbsp;&nbsp;&nbsp;毛衣-Sweater</option>
          <option value="2462" >&nbsp;&nbsp;&nbsp;&nbsp;开衫-Cardigan</option>
          <option value="2463" >&nbsp;&nbsp;&nbsp;&nbsp;外套-Overcoats</option>
          <option value="2896" >&nbsp;&nbsp;&nbsp;&nbsp;棉衣-Cotton padded clothes</option>
          <option value="3331" >&nbsp;&nbsp;&nbsp;&nbsp;POLO衫-POLO-shirt</option>
          <option value="4111" >&nbsp;&nbsp;&nbsp;&nbsp;风衣</option>
          <option value="4137" >&nbsp;&nbsp;&nbsp;&nbsp;羽绒服-Down jacket </option>
          <option value="4151" >&nbsp;&nbsp;&nbsp;&nbsp;西装-Suit </option>
          <optgroup label="内衣/家居服-Pyjamas"></optgroup>
          <option value="2466" >&nbsp;&nbsp;&nbsp;&nbsp;袜子-Socks</option>
          <optgroup label="鞋类-Shoes"></optgroup>
          <option value="2468" >&nbsp;&nbsp;&nbsp;&nbsp;休闲鞋-Sneakers</option>
          <option value="3666" >&nbsp;&nbsp;&nbsp;&nbsp;皮鞋-Leather shoes </option>
          <optgroup label="裙类-Skirts"></optgroup>
          <option value="3209" >&nbsp;&nbsp;&nbsp;&nbsp;短裙-Philabeg</option>
          <option value="4020" >&nbsp;&nbsp;&nbsp;&nbsp;连衣裙-Dresses</option>
          <optgroup label="帽类-Hats"></optgroup>
          <option value="4153" >&nbsp;&nbsp;&nbsp;&nbsp;线帽-Knitted hat</option>
          <optgroup label="配件-Accessories"></optgroup>
          <option value="4155" >&nbsp;&nbsp;&nbsp;&nbsp;围巾/方巾-Scarf</option>
        </select></td>
    </tr>
    <tr>
      <td align="right">系统分类</td>
      <td><input type="text" id="prosyssort" readonly="readonly" style="color:MenuText;background-color:Menu;" value="牛仔裤" /></td>
    </tr>
    <tr>
      <td align="right">商品单位</td>
      <td><select id="prounits" name="prounits" style="width:155px;">
          <option value="1" ></option>
          <option value="2" ></option>
          <option value="3" selected="selected"></option>
          <option value="4" ></option>
          <option value="5" ></option>
          <option value="6" ></option>
          <option value="7" ></option>
          <option value="8" ></option>
          <option value="9" ></option>
          <option value="10" ></option>
          <option value="11" ></option>
        </select></td>
    </tr>
    <tr>
      <td align="right">销售类型</td>
      <td><select id="salestype" name="salestype" style="width:155px;">
          <option value="经销" selected="selected">经销</option>
          <option value="代销">代销</option>
        </select></td>
    </tr>
    <tr>
      <td align="right">销售价格</td>
      <td><input id="proprice" name="proprice" type="text" onkeypress="return event.keyCode>=4&&event.keyCode<=57&&event.keyCode!=42&&event.keyCode!=43&&event.keyCode!=45&&event.keyCode!=47;" onchange="modifiedpro.changeprice(modifiedpro.pricetype);" value="329.00" /></td>
    </tr>
    <tr>
      <td align="right">销售折扣</td>
      <td><input id="prodiscount" name="prodiscount" type="text" onkeypress="return event.keyCode>=4&&event.keyCode<=57&&event.keyCode!=42&&event.keyCode!=43&&event.keyCode!=45&&event.keyCode!=47;" onchange="modifiedpro.changeprice(0);" value="10.0" /></td>
    </tr>
    <tr>
      <td align="right">折扣价</td>
      <td><input id="procost" name="procost" type="text" onkeypress="return event.keyCode>=4&&event.keyCode<=57&&event.keyCode!=42&&event.keyCode!=43&&event.keyCode!=45&&event.keyCode!=47;" onchange="modifiedpro.changeprice(1);" value="329.00" /></td>
    </tr>
    <tr>
      <td align="right">商品材质</td>
      <td><input id="promaterial" name="promaterial" type="text" value="" /></td>
    </tr>
    <tr>
      <td align="right">基本属性</td>
      <td><select id="selprotype" name="selprotype" style="width:100px;" onchange="modifiedpro.selprotype(this.value);">
          <option value="1">普通</option>
          <option value="2" >最新到货,截止到</option>
          <option value="3" >重新到货</option>
          <option value="5" selected="selected">暂不销售</option>
        </select>
        &nbsp;&nbsp;
        <input id="datepicker" name="ptdate" style="width:70px;display:none;" type="text" value="2011-02-19"  />
        <br />
        <select id="selprotype2" name="selprotype2" style="width:100px;">
          <option selected="selected" value="普通商品">普通商品</option>
          <option value="虚拟商品">虚拟商品</option>
          <option value="预售商品">预售商品</option>
          <option value="赠品">赠品</option>
        </select></td>
    </tr>
    <tr>
      <td align="right">是否限量商品</td>
      <td><input id="chkprolimit" name="chkprolimit" type="checkbox" value="1"  /></td>
    </tr>
    <tr>
      <td align="right">上架时间</td>
      <td><input id="datepicker2" name="sdate" type="text" value="2011-01-19" /></td>
    </tr>
    <tr>
      <td align="right">商品封面图片</td>
      <td><img id="procoverimg" src="http://buy.yoho.cn" /><br />
        <input id="procover" name="procover" type="text" value="" />
        &nbsp;&nbsp;
        <button type="button" class="but2" >浏览图片</button></td>
    </tr>
    <tr>
      <td align="right">商品其他图片</td>
      <td><div id="div_pics"></div>
        <button type="button" class="but2">新增</button>
        <input id="hdpicsdel" name="hdpicsdel" type="hidden" /></td>
    </tr>
    <tr>
      <td align="right">商品视频</td>
      <td><input id="provideo" name="provideo" type="text" value="" />
        &nbsp;&nbsp;
        <button type="button" class="but2">浏览视频</button>
        <br />
        <br />
        <div>
          <fieldset id="flt_videoother">
            <legend>关联商品</legend>
          </fieldset>
          <button type="button" class="but2">新增</button>
        </div></td>
    </tr>
    <tr>
      <td colspan="3" align="center"><button type="button" class="butok"></button>
        &nbsp;
        <button type="button" class="but1" >商品型号管理</button>
        &nbsp;
        <button type="button" class="but1" >移除商品信息</button></td>
    </tr>
  </table>
</div>
</body>
</html>