Showing
2 changed files
with
3 additions
and
4 deletions
@@ -110,7 +110,7 @@ function getUserInfo(id) { | @@ -110,7 +110,7 @@ function getUserInfo(id) { | ||
110 | 110 | ||
111 | if (data.hasOwnProperty[key]) { | 111 | if (data.hasOwnProperty[key]) { |
112 | if (!!data[key]) { | 112 | if (!!data[key]) { |
113 | - window('$' + key).val(data[key]); | 113 | + eval('$' + key).val(data[key]); |
114 | } | 114 | } |
115 | } | 115 | } |
116 | } | 116 | } |
@@ -237,9 +237,8 @@ var Order = { | @@ -237,9 +237,8 @@ var Order = { | ||
237 | u = Order.UI; | 237 | u = Order.UI; |
238 | var options; | 238 | var options; |
239 | 239 | ||
240 | - e.$carriageGroup.change(function(){ | ||
241 | - //d.carriage=parseFloat(/\d+(\.\d+)?/i.exec($(this).next("label").html())); | ||
242 | - d.carriage=parseFloat($(this).val()); | 240 | + e.$carriageGroup.change(function() { |
241 | + d.carriage = parseFloat($(this).val()); | ||
243 | u.render(); | 242 | u.render(); |
244 | }); | 243 | }); |
245 | /*点击 优惠卷支付 确认按钮*/ | 244 | /*点击 优惠卷支付 确认按钮*/ |
-
Please register or login to post a comment