grcz_baseInfo.ss.jsp 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <div class="content-div" ssFith="true">
  2. <table class='form'>
  3. <%-- 去掉,改为 _baseInfo 了。Lin
  4. <@input name="czryid" type="hidden" value='${sessionScope.ssUser.ryid}'/>
  5. --%>
  6. <%-- 去掉,改为 _baseInfo 了。Lin
  7. <tr>
  8. <th>班级</th>
  9. <td><@input name="bjid" ssCcp="xyByBj"/></td>
  10. </tr>
  11. --%>
  12. <tr>
  13. <th>人员</th>
  14. <%-- 改,去掉 ssInp="true" ssChg="selBaseInfoByRyid" -- 改为 _baseInfo 了。Lin
  15. <td width="30%"><@input name="ryid" ssInp="true" ssChg="selBaseInfoByRyid"/></td>
  16. --%> <td><input name="ryid"/></td>
  17. </tr>
  18. <%-- 去掉,改为 _baseInfo 了。Lin
  19. <tr>
  20. <th>部门/班级</th>
  21. <td id='bmbj'></td>
  22. </tr>
  23. <tr>
  24. <th width="20%">姓名</th>
  25. <td id='xm'></td>
  26. </tr>
  27. <tr>
  28. <th width="20%">人员号</th>
  29. <td id='ryh'></td>
  30. </tr>
  31. --%>
  32. <tr>
  33. <th>类别</th>
  34. <td><input name="grczlbm"/></td>
  35. </tr>
  36. <tr>
  37. <th>金额</th>
  38. <td><input name="je"/></td>
  39. </tr>
  40. </table>
  41. </div>
  42. <%-- 去掉,改为 _baseInfo 了。Lin
  43. <script>
  44. function selBaseInfoByRyid(value){
  45. $.ajax({
  46. url:"<serv.ss name='ry_selBaseInfoByRyid'/>",
  47. type:"post",
  48. data:{
  49. ryid:value
  50. },
  51. dataType:"json",
  52. success:function(data){
  53. if (data.ssCode != 0) {
  54. alert(data.ssMsg);
  55. return;
  56. }
  57. var d = data.ssData;
  58. document.getElementById('xm').innerHTML = data.ssData.xm;
  59. document.getElementById('ryh').innerHTML = data.ssData.ryh;
  60. if (d.rylbm != 1100) // 不是学员。Lin
  61. document.getElementById('bmbj').innerHTML = data.ssData.bmmc;
  62. else
  63. document.getElementById('bmbj').innerHTML = data.ssData.bjmc;
  64. }
  65. });
  66. }
  67. </script>
  68. --%>