CJJ
2018-12-13 dc1347a887b9edbb6931aafa3ff27f78a2e9a589
gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit.html
@@ -52,14 +52,11 @@
  }   
     var temp = getCookie("eleparm");
     var tempindex = getCookie("eleparmindex");
   var tempnum = getCookie("eleparmnum");
   //console.info(temp);
   temp=JSON.parse(temp);
   tempindex = JSON.parse(tempindex);
   console.info(temp);
   console.info(temp[30]);
   console.info(temp[33]);
   console.info(tempindex);
   tempnum =JSON.parse(tempnum);
   var suoyin = temp[33];
   
   $(function(){creatAllView(tempindex.length)});
@@ -386,6 +383,7 @@
            console.info(battString);
            var obj = {
               //apply_date : new Date().format("yyyy-MM-dd hh:mm:ss"),
               num : tempnum[i],
               binf:{
                  StationId : $("#StationId").val(),   // 机房编号
                  StationName : ($("#station_name1").val()+"-"+$("#city").val()+"-"+$("#StationName3").val()+"-"+$("#StationName4").val()),   // 拼接机房名称
@@ -460,12 +458,15 @@
               console.info(model);
               if(model.code ==1){
                  alert("修改成功");
                  window.location.href="batt-unapproved.html"
               }else{
                  alert("修改失败!");
                  window.location.href="batt-unapproved.html"
               }      
              },
              error:function(){
                 alert("修改电池组失败!");
                 window.location.href="batt-unapproved.html"
              }
       });
   }