Commit 66957556 by 朱继来

调整js

parent cc5d1425
Showing with 2 additions and 2 deletions
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
var extra_fee = $('input[name="extra_fee"]').val() ? parseFloat($('input[name="extra_fee"]').val()) : 0; var extra_fee = $('input[name="extra_fee"]').val() ? parseFloat($('input[name="extra_fee"]').val()) : 0;
var freight_fee = $('input[name="freight_fee"]').val() ? parseFloat($('input[name="freight_fee"]').val()) : 0; // 运费 var freight_fee = $('input[name="freight_fee"]').val() ? parseFloat($('input[name="freight_fee"]').val()) : 0; // 运费
var discount_amount = $('input[name="discount_amount"]').val() ? parseFloat($('input[name="discount_amount"]').val()) : 0; // 优惠券 var discount_amount = $('input[name="discount_amount"]').val() ? parseFloat($('input[name="discount_amount"]').val()) : 0; // 优惠券
var total = parseFloat(goods_tota + extra_feel + freight_feel + discount_amount).toFixed(2); var total = parseFloat(goods_total + extra_fee + freight_fee + discount_amount).toFixed(2);
goods_total = goods_total.toFixed(2); goods_total = goods_total.toFixed(2);
...@@ -604,7 +604,7 @@ ...@@ -604,7 +604,7 @@
} }
}) })
// layer.msg('审核提交中...', {icon: 16, time: 0, shade: 0.3}); // 阻止重复提交 layer.msg('审核提交中...', {icon: 16, time: 0, shade: 0.3}); // 阻止重复提交
}, },
btn2: function(index, layero){ btn2: function(index, layero){
layer.close(index); layer.close(index);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment