From f0bb5c3c5b95ec825e4e444b7688c595d5ebebc7 Mon Sep 17 00:00:00 2001 From: D:/workspace/chenjingjing/git/gx_tieta/gx_tieta/.gitignore <chenjingjing@LAPTOP-E51P2139> Date: 星期六, 29 十二月 2018 14:24:54 +0800 Subject: [PATCH] 修改。 --- gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html b/gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html index bbf408b..e3af823 100644 --- a/gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html +++ b/gx_tieta/WebRoot/mobil/batt-infor-unapproved-edit2.html @@ -26,17 +26,17 @@ white-space: nowrap; } .uncheck{ - background-color: #dddddde0!important; + background-color: #ddd!important; color: #000!important; } .ui-btn-icon-right { padding-right: 8.5em; } .hbg{ - background-color:#ddd9; + background-color:#ddd; } #battdata { - background-color:#dddddd54 + background-color:#eee; } .ui-select .ui-btn select{ width:77%; @@ -241,8 +241,9 @@ }); } function creatBattView(index){ + if(temp.length>0){ var count=index+1 - ,battTitle='<div>'+'<h1 class="hbg">'+'鐢垫睜缁�'+count+'</h1>'+ + ,battTitle='<div>'+'<h1 class="hbg">'+temp[index].binf.BattGroupNamet+'</h1>'+ '<table class="layout-set">'+'<tbody>'/*+'<tr>'+'<td>'+'鐢垫睜鍝佺墝'+'</td>'+'<td>'+'<fieldset data-role="controlgroup" data-type="horizontal" >'+'<select '+'id='+'battproducer'+index+' class="unable" '+'>' ,battBrand=selectedIndex(index)+'</select>'+'</fieldset>'+'</td>'+'</tr>'*/ ,battBrand='<tr>'+'<td>'+'鐢垫睜鍝佺墝'+'</td>'+'<td>'+'<input type="text" '+' class="unable" '+'id='+'battproducer'+index+' data-mini="true"'+'value='+'鐢垫睜鍝佺墝'+count+' />'+'</td>'+'</tr>' @@ -257,6 +258,7 @@ ,battIndex='<tr>'+'<input type="hidden" '+'id='+'battindex'+index+' data-mini="true"'+'value='+count+' class="unable" '+' />'+'</tr>' ,battName='<tr>'+'<input type="hidden" '+'id='+'battname'+index+' data-mini="true"'+'value='+'鐢垫睜缁�'+count+' class="unable" '+' />'+'</tr>'+'</tbody>'+'</table>'+'</div>'; return battTitle+battBrand+battType+battNum+MonVolStd+nomCap+battIndex+battName; + } } function selectedNum(index){ var selected=''; -- Gitblit v1.9.1