...
|
...
|
@@ -6,6 +6,29 @@ |
|
|
<div class="panel-col2">
|
|
|
<input name="productSkn" id="productSkn" type="text" value="" class="form-control" placeholder="SKN" />
|
|
|
</div>
|
|
|
|
|
|
<script>
|
|
|
var param=window.location.search;
|
|
|
alert("param=" + param);
|
|
|
var productSkn = getQueryString(param);
|
|
|
alert("productSkn=" + productSkn);
|
|
|
var reg=/^(\d{8})?$/;
|
|
|
if(productSkn.test(reg)){
|
|
|
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">
|
...
|
...
|
@@ -48,3 +71,5 @@ |
|
|
<div class="dataTab_wrapper" id="productVipTable" ></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
|
...
|
...
|
|