<! DOCTYPE  html > < htmllang = " zh" xmlns: th= " http://www.thymeleaf.org" xmlns: shiro= " http://www.pollix.at/thymeleaf/shiro" > < head> < th: blockth: include= " include :: header('日库存更新提示')" /> </ head> < style> .danxuankuang { margin-left :  20px; } 
</ style> < bodyclass = " gray-bg" > < divclass = " container-div" > < divclass = " danxuankuang" > < inputstyle = " margin-top :  0.8em; " type = " radio" id = " option1" name = " group1" value = " allOilTank" > < labelfor = " option1" > </ label> </ div> < divclass = " danxuankuang" > < inputstyle = " margin-top :  0.8em; " class = " tubiao" type = " radio" id = " option2" name = " group1" value = " oneOilTank" > < labelfor = " option2" > </ label> </ div> < divclass = " danxuankuang" > < inputstyle = " margin-top :  0.8em; " class = " tubiao" type = " radio" id = " option3" name = " group1" value = " twoOilTank" > < labelfor = " option3" > </ label> </ div> < divclass = " danxuankuang" > < inputstyle = " margin-top :  0.8em; " class = " tubiao" type = " radio" id = " option4" name = " group1" value = " threeOilTank" > < labelfor = " option3" > </ label> </ div> </ div> < th: blockth: include= " include :: footer" /> < scriptth: inline= " javascript" > function  submitHandler ( )  { update ( ) } function  update ( )  { var  val= $ ( 'input:radio[name="group1"]:checked' ) . val ( ) ; $. ajax ( { cache  :  true , type  :  "POST" , url  :  ctx+ '/ab/timePointInventory/' + val, data  :  val, async  :  false , error  :  function ( request )  { $. modal. alertError ( "系统错误" ) ; } , success  :  function ( data )  { $. operate. successCallback ( data) ; } } ) ; } 
</ script> </ body> </ html>