您好 退出  
管理信息

红色选框为必填选框

母亲姓名:
母亲年龄:
孕  周:
体  重: kg
身份证号:
家庭住址:
联系电话:
胎      次:
                         






$("#distpicker5").distpicker({ autoSelect: false }); var editor; KindEditor.ready(function(K) { editor = K.create('textarea[name="teshujishu.xiangxi"]', { allowFileManager : true, filterMode: false, width : "800px", height : "400px", uploadJson : 'tw/jsp/upload_json.jsp', fileManagerJson : 'tw/jsp/file_manager_json.jsp' }); K('#selectImg').click(function() { editor.loadPlugin('image', function() { editor.plugin.imageDialog({ imageUrl : K('#image').val(), clickFn : function(url, title, width, height, border, align) { K('#image').val(url); $("#img_image").attr("src",url); $("#cctp").attr("href",url); $("#cctp").css("display","inline"); editor.hideDialog(); } }); }); }); K('#selectImg2').click(function() { editor.loadPlugin('image', function() { editor.plugin.imageDialog({ imageUrl : K('#image2').val(), clickFn : function(url, title, width, height, border, align) { K('#image2').val(url); $("#img_image2").attr("src",url); $("#cctp2").attr("href",url); $("#cctp2").css("display","inline"); editor.hideDialog(); } }); }); }); K('#selectImg3').click(function() { editor.loadPlugin('image', function() { editor.plugin.imageDialog({ imageUrl : K('#image3').val(), clickFn : function(url, title, width, height, border, align) { K('#image3').val(url); $("#img_image3").attr("src",url); $("#cctp3").attr("href",url); $("#cctp3").css("display","inline"); editor.hideDialog(); } }); }); }); }); function baocun(){ var flag = false; var xqxm = $('#muqinxingming').val(); var mqnl = $('#muqinnianling').val(); //var yunzhou = $('#yunzhou').val(); //var yuntian = $('#yuntian').val(); var dianhua = $('#dianhua').val(); var tizhong = $('#tizhong').val(); var shenfenzheng = $('#shenfenzheng').val(); var dizhi = $('#dizhi').val(); var dijitai = $('#dijitai').val(); var shuoming = $('#doc-ta-1').val(); var sheng = $('#province10').val(); var shi = $('#city10').val(); var qu = $('#district10').val(); if(xqxm==null||xqxm==''){ alert("请输入母亲姓名"); $('#muqinxingming').focus(); return false; } if(mqnl==null||mqnl==''){ alert("请输入母亲年龄"); $('#muqinnianling').focus(); return false; } /*if(sheng==null||sheng==''){ alert("请选择省份"); $('#province10').focus(); return false; } if(shi==null||shi==''){ alert("请选择城市"); $('#city10').focus(); return false; } if(qu==null||qu==''){ alert("请选择区县"); $('#district10').focus(); return false; }*/ if(dianhua==null||dianhua==''){ alert("请输入联系电话"); $('#dianhua').focus(); return false; } if(!(/^1[34578]\d{9}$/.test(dianhua))){ alert("电话格式错误"); $('#dianhua').focus(); return false; } if(shenfenzheng!=null&&shenfenzheng!=''){ if(!(/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(shenfenzheng))){ alert("身份证号不合法"); $('#shenfenzheng').focus(); return false; } } if(dizhi==null||dizhi==''){ alert("请输入家庭住址"); $('#dizhi').focus(); return false; } if(shuoming==null||shuoming==''){ alert("超声诊断说明不能为空"); $('#doc-ta-1').focus(); return false; } $("#lrfff").submit(); } function tijiao(){ var i = $("#lrlr").val(); location.href = "admin_taier_tijiao.action?taierxinxi.id="+i; } function check(){ var i=document.getElementById("muqinnianling").value; if ( isNaN(i) ) { alert("请输入 整数 "); document.getElementById("muqinnianling").value=""; } } function check2(){ var i=document.getElementById("tizhong").value; if ( isNaN(i) ) { alert("请输入 整数 或 小数 (保留小数点后两位)"); document.getElementById("tizhong").value=""; } }