Showing
1 changed file
with
3 additions
and
1 deletions
@@ -8,7 +8,9 @@ var RESPONSEDATA={}; | @@ -8,7 +8,9 @@ var RESPONSEDATA={}; | ||
8 | /*获取基础商品数据*/ | 8 | /*获取基础商品数据*/ |
9 | var param = location.href.slice(location.href.indexOf("update")).match(/\/\d+/g); | 9 | var param = location.href.slice(location.href.indexOf("update")).match(/\/\d+/g); |
10 | // console.log(param); | 10 | // console.log(param); |
11 | +var ACTION=0; | ||
11 | if(param&¶m.length==2){ | 12 | if(param&¶m.length==2){ |
13 | + ACTION=1; | ||
12 | param[0]=param[0].replace(/\//,''); | 14 | param[0]=param[0].replace(/\//,''); |
13 | param[1]=param[1].replace(/\//,''); | 15 | param[1]=param[1].replace(/\//,''); |
14 | common.util.__ajax({ | 16 | common.util.__ajax({ |
@@ -69,7 +71,7 @@ var Bll={ | @@ -69,7 +71,7 @@ var Bll={ | ||
69 | IsEnter:false, | 71 | IsEnter:false, |
70 | productNameArr:['','男',''], | 72 | productNameArr:['','男',''], |
71 | setProductName:function(){ | 73 | setProductName:function(){ |
72 | - if(!Bll.IsEnter){ | 74 | + if(!Bll.IsEnter&&!ACTION){ |
73 | $("#productName").val(Bll.productNameArr.join("")); | 75 | $("#productName").val(Bll.productNameArr.join("")); |
74 | } | 76 | } |
75 | } | 77 | } |
-
Please register or login to post a comment