| | |
| | | var index = String(i);
|
| | | console.info(battString);
|
| | | var obj = {
|
| | | //apply_date : new Date().format("yyyy-MM-dd hh:mm:ss"),
|
| | | 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()), // 拼接机房名称
|
| | |
| | | BattProductDate : $("#startTestrecord").val()+" 00:00:00", //电池生产日期
|
| | | BattInUseDate : $("#endTestrecord").val()+" 00:00:00", //电池使用日期
|
| | | install_user : $("#install_user").val(), //安装人员
|
| | | |
| | | }
|
| | | }
|
| | | arr.push(obj);
|
| | |
| | | window.location.href="batt-unapproved.html"
|
| | | }else{
|
| | | alert("修改失败!");
|
| | | window.location.href="batt-unapproved.html"
|
| | | //window.location.href="batt-unapproved.html"
|
| | | }
|
| | | },
|
| | | error:function(){
|
| | | alert("修改电池组失败!");
|
| | | window.location.href="batt-unapproved.html"
|
| | | //window.location.href="batt-unapproved.html"
|
| | | }
|
| | | });
|
| | | }
|