hdw
2018-10-23 9fc29bd426176d8aad6390214cc10bf86b64ac4d
gx_tieta/WebRoot/elegroup.jsp
@@ -636,7 +636,8 @@
      $('#right-menu .del-group').live('click',function(){
         var oLi=$('#lbottom .li-con li').eq(LiIndex);
         // 取人删除包机组
         layer.confirm("<s:text name='Confirm_del'/>'"+oLi.text()+"'?", {icon:3, title: '系统提示'}, function() {
         layer.confirm("<s:text name='Confirm_del'/>'"+oLi.text()+"'?", {icon:3, title: '系统提示'}, function(index) {
            layer.close(index);
            var baojigroupid=oLi.attr('value');
            loading.showLoading();
            $.post('User_battgroup_baojigroupAction!delete','us.baoji_group_id='+baojigroupid+"&us.baoji_group_name="+oLi.text(),function(data){
@@ -775,7 +776,8 @@
         layer.confirm(
            '<s:text name="Determine"/><s:text name="From"/>'+obaoLi.text()+'<s:text name="Delete"/>'+ouserLi.text()+"?", 
            {icon:3,title:'系统提示'}, 
            function() {
            function(index) {
               layer.close(index);
               var num=ouserLi.attr('num');
               var temp = {num:num,uname:ouserLi.text(),baoji_group_name:obaoLi.text()};
               loading.showLoading();
@@ -1542,7 +1544,8 @@
      $('#tb-right-menu .del').click(function(){
         var baojiLi=$('#lbottom .li-con li.b8cfe5');
         // 是否确认删除电池组
         layer.confirm('<s:text name="Confirm_that_the_selected_battery_pack_is_removed_from_the_package"/>?',{icon:3, title: '系统提示'},function() {
         layer.confirm('<s:text name="Confirm_that_the_selected_battery_pack_is_removed_from_the_package"/>?',{icon:3, title: '系统提示'},function(index) {
            layer.close(index);
            var removeArray=new Array();
            var redTr=$('#tbroom table .red');
            //需要判断是否含有新添加的电池组