| | |
| | | if(data.length>0){
|
| | | layer.msg('请选择下方的机房');
|
| | | }else{
|
| | | var json = window.JSON.stringify(input);
|
| | | setCookie("eleparm2newbatt",json);
|
| | | layer.confirm('您输入的机房不存在!是否要该新建机房?',{btn:['新建','取消']},function(){
|
| | | setV();
|
| | | var json = window.JSON.stringify(input);
|
| | | //setCookie("eleparm2newbatt",json);
|
| | | // $("#jifangname").val(input);
|
| | | //console.info(input);
|
| | | // var test=getCookie("eleparm2newbatt");
|
| | | //console.info(test);
|
| | | });
|
| | | input = window.JSON.stringify(input);
|
| | | setCookie("ele_parm2_newbatt",input);
|
| | | //var test=getCookie("eleparm2newbatt");
|
| | | //console.info(test);
|
| | | //console.info(input);
|
| | | //var json = window.JSON.stringify(input);
|
| | | //setCookie("ele_parm2_newbatt",json);
|
| | | }
|
| | | }
|
| | | });
|