Commit 48257c6b by 朱继来

调整js

parent ccb75cb3
Showing with 3 additions and 4 deletions
...@@ -1748,7 +1748,7 @@ ...@@ -1748,7 +1748,7 @@
}) })
// 根据供应商调整附加费 // 根据供应商调整附加费
$('.extend-fee-table input').on('blur', function(){ $('.extend-fee-table input').on('keyup', function(){
var table = $('.extend-fee-table'); var table = $('.extend-fee-table');
var goods_total = parseFloat($('.goods_total').text()); var goods_total = parseFloat($('.goods_total').text());
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; // 运费
...@@ -1769,7 +1769,7 @@ ...@@ -1769,7 +1769,7 @@
}) })
// 调整运费 // 调整运费
$('.freight_fee').on('blur', function() { $('.freight_fee').on('keyup', function() {
var freight_fee = parseFloat($(this).val()); var freight_fee = parseFloat($(this).val());
if (!freight_fee) freight_fee = 0; if (!freight_fee) freight_fee = 0;
...@@ -1881,7 +1881,7 @@ ...@@ -1881,7 +1881,7 @@
// }) // })
// 设置折扣 // 设置折扣
$('.set_goods_price').off().on('blur', function(){ $('.set_goods_price').off().on('keyup', function(){
var val = $(this).val(); var val = $(this).val();
if (!val) { if (!val) {
...@@ -1985,7 +1985,6 @@ ...@@ -1985,7 +1985,6 @@
layer.alert(change_str) layer.alert(change_str)
return false; return false;
} }
// 预付款 // 预付款
if (pay_type == 2) { if (pay_type == 2) {
......
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