ProductVip.html 3.51 KB
<div class="contentpanel">
    <div class="panel panel-default" style="margin-bottom:10px;">
        <div class="panel-body">
            <div class="row">
                <div class="panel-col2">
                    <input name="productSkn" id="productSkn" type="text" value="" class="form-control" placeholder="SKN" />
                </div>
                
                <script>
                   var param=window.location.href;
                   var productSkn = getQueryString(param);
                   var reg=new RegExp(/^[0-9]*$/);
                   if(reg.test(productSkn)){
             	      document.getElementById("productSkn").value = productSkn;
                   }
                   
                   function getQueryString(url) {
	                  var i=url.lastIndexOf('/');
	                  if(i==-1)return;
	                  var querystr=url.substr(i+1);
	                  var paramValue=querystr;
	                  if(querystr.indexOf('#') != -1){
	    	             var arr1=querystr.split('#');
	    	             paramValue = arr1[0];
	                   }
	                  return paramValue;
                   }
                </script>

                <div class="panel-col2">
                    <select id="shopId" class="form-control" style="width: 280px;" tabindex="-1">
                        <option value="-1">请选择店铺</option>
                    </select>
                </div>

                <div class="panel-col2">
                    <select id="brandId" class="form-control" style="width: 280px;" tabindex="-1">
                        <option value="-1">请选择品牌</option>
                    </select>
                </div>

                <div class="panel-col2" style="width: 100px;">
                    <select id="vipDiscountType" class="form-control">
                        <option value="-1">VIP设置</option>
                        <option value="1">开启</option>
                        <option value="3">关闭</option>
                    </select>
                </div>

                <div class="panel-col2" style="width: 100px;">
                    <select id="vipReturnCoinStatus" class="form-control">
                        <option value="-1">返币状态</option>
                        <option value="1">开启</option>
                        <option value="0">关闭</option>
                    </select>
                </div>

                <div class="panel-col">
                    <a id="searchFilter" href="javascript:;" class="btn btn-info">筛选</a>
                </div>
                <div class="panel-col">
                    <a href="/vip/batch/import" class="btn btn-primary"><span class="glyphicon glyphicon-circle-arrow-up"></span>&nbsp;导入</a>
                </div>
            </div>
        </div>
    </div>
    <div style="margin-left:10px;margin-bottom: 10px">
        <label><input name="all" id="all" type="checkbox" onclick="DoCheck()" value=""/>选中当前页</label>
        <a onclick="batchChangeStatus(1)" href="javascript:;" class="btn btn-info">开启VIP价</a>
        <a onclick="batchChangeStatus(2)" href="javascript:;" class="btn btn-danger">关闭VIP价</a>
        <a onclick="batchChangeReturnCoinStatus(1)" href="javascript:;" class="btn btn-info">开启VIP返币</a>
        <a onclick="batchChangeReturnCoinStatus(0)" href="javascript:;" class="btn btn-danger">关闭VIP返币</a>
    </div>
    <div class="panel panel-primary-head">
        <div class="dataTab_wrapper" id="productVipTable" ></div>
    </div>
</div>