正在显示
1 个修改的文件
包含
5 行增加
和
3 行删除
@@ -619,6 +619,8 @@ | @@ -619,6 +619,8 @@ | ||
619 | 'data': {'school': school, 'grade': grade, 'state': state, 'is_courier': is_courier}, | 619 | 'data': {'school': school, 'grade': grade, 'state': state, 'is_courier': is_courier}, |
620 | 'success': (function (data) { | 620 | 'success': (function (data) { |
621 | var index = $('.log_three_tab_top div').index($('.aaa')); | 621 | var index = $('.log_three_tab_top div').index($('.aaa')); |
622 | + console.log(3333); | ||
623 | + console.log(data); | ||
622 | if (data.code == 1) { | 624 | if (data.code == 1) { |
623 | var result = data.data; | 625 | var result = data.data; |
624 | if(result == 0){ | 626 | if(result == 0){ |
@@ -667,7 +669,7 @@ | @@ -667,7 +669,7 @@ | ||
667 | " " + indent_goods_data[i3].book_name + "\n" + | 669 | " " + indent_goods_data[i3].book_name + "\n" + |
668 | " </div>\n" + | 670 | " </div>\n" + |
669 | " <div class=\"log_three_center_two\">×" + indent_goods_data[i3].number + "</div>\n" + | 671 | " <div class=\"log_three_center_two\">×" + indent_goods_data[i3].number + "</div>\n" + |
670 | - " <div class=\"log_three_center_three\"><span>¥</span>" + indent_goods_data[i3].price * indent_goods_data[i3].number + "</div>\n" + | 672 | + " <div class=\"log_three_center_three\"><span>¥</span>" + indent_goods_data[i3].price + "</div>\n" + |
671 | " </div>\n" + | 673 | " </div>\n" + |
672 | " </div>"; | 674 | " </div>"; |
673 | } | 675 | } |
@@ -758,7 +760,7 @@ | @@ -758,7 +760,7 @@ | ||
758 | }) | 760 | }) |
759 | }) | 761 | }) |
760 | $('.search').click(function () { | 762 | $('.search').click(function () { |
761 | - search() | 763 | + search(); |
762 | }); | 764 | }); |
763 | //发货 | 765 | //发货 |
764 | $("body").on('click', '.send', function () { | 766 | $("body").on('click', '.send', function () { |
@@ -880,7 +882,7 @@ | @@ -880,7 +882,7 @@ | ||
880 | 882 | ||
881 | function update() { | 883 | function update() { |
882 | var is_courier = $('#is_courier').val(); | 884 | var is_courier = $('#is_courier').val(); |
883 | - var index = $('.log_three_tab_top div').index($('.aaa')); | 885 | + var index = $('.log_three_tab_top').children('.aaa').index(); |
884 | if (is_courier == 1 && index == 0) { | 886 | if (is_courier == 1 && index == 0) { |
885 | $('.log_three_list_fixed').show(); | 887 | $('.log_three_list_fixed').show(); |
886 | } else if (is_courier == 2 || index != 0) { | 888 | } else if (is_courier == 2 || index != 0) { |
-
请 注册 或 登录 后发表评论