| | |
| | | //setTimes($("#startTestrecord"),'2000-01-01');
|
| | | //setTimes($("#endTestrecord"),new Date().format('yyyy-MM-dd'));
|
| | |
|
| | | creatgroupid();//如果检测为NEW ,则执行添加ID,如果为修改,则执行为拿到ID;
|
| | | //creatgroupid();//如果检测为NEW ,则执行添加ID,如果为修改,则执行为拿到ID;
|
| | | installstartdata(temp);
|
| | | });
|
| | |
|
| | |
| | | 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", //电池使用日期
|
| | |
| | | ,battIndex='<tr>'+'<input type="hidden" '+'id='+'battindex'+index+' data-mini="true"'+'value='+count+' />'+'</tr>'
|
| | | ,battName='<tr>'+'<input type="hidden" '+'id='+'battname'+index+' data-mini="true"'+'value='+'电池组'+count+' />'+'</tr>'+'</tbody>'+'</table>'+'</div>';
|
| | | return battTitle+battBrand+battType+battNum+nomCap+battIndex+battName;
|
| | | |
| | | }
|
| | | function creatBa(a){
|
| | | var battnum=4-a,
|
| | |
| | | function selectedIndex(index){
|
| | | var selected='',
|
| | | i=0;
|
| | | var pruducer = temp[index].binf.BattProducer;
|
| | |
|
| | | selected+= '<option '+'value='+pruducer+'>'+pruducer+'</option>';
|
| | | selected+= '<option '+'value='+'理士'+'>'+'理士'+'</option>';
|
| | | selected+= '<option '+'value='+'圣阳'+'>'+'圣阳'+'</option>';
|
| | | selected+= '<option '+'value='+'双登'+'>'+'双登'+'</option>';
|
| | |
| | | document.getElementById("DisCurrMax").value = data.DisCurrMax;
|
| | | document.getElementById("station_phone").value = data.station_phone;
|
| | | //document.getElementById(battproducer).value = data.BattProducer;
|
| | | $(battproducer).val(data.BattProducer);
|
| | | //$(battproducer).val(data.BattProducer);
|
| | | //document.getElementById("BattModel").value = data.BattModel;
|
| | | document.getElementById("startTestrecord").value = data.BattProductDate;
|
| | | document.getElementById("endTestrecord").value = data.BattInUseDate;
|
| | |
| | |
|
| | | $(document).ready(function(){
|
| | | //setPage();
|
| | | $("#submit").off('click').on('click.cjj',function(){
|
| | | $("#submit").off('click').on('click.cjj123',function(){
|
| | | //newbattnum;
|
| | |
|
| | | //Page.pageCurr=1;
|
| | |
| | | }
|
| | |
|
| | |
|
| | | |
| | | |
| | | //
|
| | | $('#homeLocation').off('click').on('click.cjj', function() {
|
| | | var homeInfo = $(this).data('homeInfo');
|
| | |
| | | };
|
| | |
|
| | |
|
| | | $("#sure").click(function(){
|
| | | $("#sure").off('click').on('click.cjj123',function(){
|
| | | var currentlength = Math.floor(arrTd.length/34);
|
| | | if(currentlength<Page.pageSize){
|
| | | setcookieCreat(currentlength-1);
|