From 4cd7f917d45130fae2af3b07171efb311e8c3738 Mon Sep 17 00:00:00 2001
From: Administrator <Administrator@USER-20180117QL>
Date: 星期三, 26 十二月 2018 16:45:19 +0800
Subject: [PATCH] aaa

---
 gx_tieta/WebRoot/mobil/batt-infor-conf-temp1.html |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/gx_tieta/WebRoot/mobil/batt-infor-conf-temp1.html b/gx_tieta/WebRoot/mobil/batt-infor-conf-temp1.html
index 333411e..9e86028 100644
--- a/gx_tieta/WebRoot/mobil/batt-infor-conf-temp1.html
+++ b/gx_tieta/WebRoot/mobil/batt-infor-conf-temp1.html
@@ -271,7 +271,7 @@
   function creatBattView(index){
          var count=index+1
             ,battTitle='<div>'+'<h1 class="hbg">'+'鐢垫睜缁�'+count+'</h1>'+
-             '<table class="layout-set">'+'<tbody>'+'<tr>'+'<td>'+'鐢垫睜鍝佺墝'+'</td>'+'<td>'+'<fieldset data-role="controlgroup" id="battproducer" data-type="horizontal">'+'<select>'
+             '<table class="layout-set">'+'<tbody>'+'<tr>'+'<td>'+'鐢垫睜鍝佺墝'+'</td>'+'<td>'+'<fieldset data-role="controlgroup"  data-type="horizontal">'+'<select id="battproducer'+index+'>'
             ,battBrand=selectedIndex(index)+'</select>'+'</fieldset>'+'</td>'+'</tr>' 
             ,battType='<tr>'+'<td>'+'鐢垫睜鍨嬪彿'+'</td>'+'<td>'+'<input type="text" '+'id='+'batttype'+index+' data-mini="true"'+'value='+'鐢垫睜鍨嬪彿'+count+' />'+'</td>'+'</tr>' 
             ,battNum='<tr>'+'<td>'+'鐢垫睜鏁伴噺'+'</td>'+'<td>'+'<input type="text" '+'id='+'battnum'+index+' data-mini="true"'+'value='+'鐢垫睜鏁伴噺'+count+' />'+'</td>'+'</tr>' 
@@ -282,7 +282,7 @@
                
   }	
  
-  function selectedIndex(index){
+ function selectedIndex(index){
        var selected='',
            i=0;
        selected+= '<option '+'value='+'鐞嗗+'+'>'+'鐞嗗+'+'</option>';
@@ -392,7 +392,7 @@
 		    //console.info(data);
 		    //console.info(data.code);	   
 		    if(data.code==1&&data.data.length>0){
-		   		var $Ostation_name1=$("#country");
+		   		var $Ostation_name1=$("#county");
 		    	$Ostation_name1.text("");
 		    	var arr = new Array();
 		    	for(var i=0;i<data.data.length;i++)
@@ -425,7 +425,7 @@
 			binf:{
 				StationName1:$('#mainteArea').val(),
 				StationName2:$('#city').val(),
-				StationName5: $('#country').val(),
+				StationName5: $('#county').val(),
 				StationName:$('#homeName').val(),
 			},
 		};
@@ -439,7 +439,7 @@
 		//setTimes($("#startTestrecord"),'2000-01-01');
 		//setTimes($("#endTestrecord"),new Date().format('yyyy-MM-dd'));
 		
-		creatgroupid();//濡傛灉妫�娴嬩负NEW ,鍒欐墽琛屾坊鍔營D锛屽鏋滀负淇敼锛屽垯鎵ц涓烘嬁鍒癐D;
+		//creatgroupid();//濡傛灉妫�娴嬩负NEW ,鍒欐墽琛屾坊鍔營D锛屽鏋滀负淇敼锛屽垯鎵ц涓烘嬁鍒癐D;
 		installstartdata(temp);
 	});
 	
@@ -616,7 +616,7 @@
 						StationName1 : $("#mainteArea").val(),		// 鐪�
 						StationName2 : $("#city").val(),		// 甯�
 						StationName5 : $("#county").val(),		// 鍖�/鍘�
-						homeName : $("#homeName").val(),		// 鏈烘埧鍚嶇О
+						StationName3 : $("#homeName").val(),		// 鏈烘埧鍚嶇О
 						StationName4 : $("#StationName4").val(),		// 璁惧鍚嶇О
 						StationIp : $("#StationIp").val(),				//鏈烘埧ip
 						FBSDeviceId : $("#FBSDeviceId").val(),				//璁惧id
@@ -642,7 +642,7 @@
 						DisCurrMax : $("#DisCurrMax").val(),				//鏈�澶ф牳瀹圭數娴�
 						station_phone : $("#station_phone").val(),			//鍩虹珯鍙风爜
 										
-						BattProducer : $(battproducer).val(),			//鐢垫睜鍝佺墝
+						BattProducer : $(battproducer).find("option:selected").val(),			//鐢垫睜鍝佺墝
 						BattModel : $(battModel).val(),				//鐢垫睜鍨嬪彿
 						BattProductDate :  $("#startTestrecord").val()+" 00:00:00",		//鐢垫睜鐢熶骇鏃ユ湡
 						BattInUseDate :  $("#endTestrecord").val()+" 00:00:00",			//鐢垫睜浣跨敤鏃ユ湡

--
Gitblit v1.9.1