From 608c530c2b22e21026be8e6b978384ca0ab99838 Mon Sep 17 00:00:00 2001
From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139>
Date: 星期六, 29 十二月 2018 14:30:20 +0800
Subject: [PATCH] 修改
---
gx_tieta/WebRoot/mobil/batt-approved1.html | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/gx_tieta/WebRoot/mobil/batt-approved1.html b/gx_tieta/WebRoot/mobil/batt-approved1.html
index 294304e..5512701 100644
--- a/gx_tieta/WebRoot/mobil/batt-approved1.html
+++ b/gx_tieta/WebRoot/mobil/batt-approved1.html
@@ -267,7 +267,7 @@
console.info(temp);
if(temp.length>0){
for(var i=0;i<temp.length;i++){
- selected+= '<option '+'value='+temp[i].binf.BattGroupName+'>'+temp[i].binf.BattGroupName+'</option>';
+ selected+= '<option '+'value='+i+'>'+temp[i].binf.BattGroupName+'</option>';
}
return $('#newbattnum').html(selected);
}
@@ -318,8 +318,10 @@
var arr = temp;
function setcookieCreat(i){
- var index=Math.ceil(i-1);
- arrdata = temp[index].binf;
+ console.info(temp);
+ console.info(i)
+ //var index=Math.ceil(i-1);
+ arrdata = temp[i].binf;
//console.info(index);
//console.info(temp);
console.info(arrdata);
--
Gitblit v1.9.1