model_info1.jsp 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
  2. <%
  3. String path = request.getContextPath();
  4. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  5. %>
  6. <!DOCTYPE html>
  7. <html>
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  10. <!-- 避免IE使用兼容模式 -->
  11. <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
  12. <meta name="renderer" content="webkit">
  13. <!-- 导入公共样式 -->
  14. <%@ include file="ap.jsp" %>
  15. <link rel="stylesheet" href="../demo/jquery-labelauty.css">
  16. <script src="../demo/jquery-labelauty.js"></script>
  17. </head>
  18. <style>
  19. #printTable td,th{
  20. font-size:16px;
  21. }
  22. ul { list-style-type: none;}
  23. li { display: inline-block;}
  24. li { margin: 10px 0;}
  25. input.labelauty + label { font: 12px "Microsoft Yahei";}
  26. </style>
  27. <body>
  28. <table id="configEdatagrid" data-toggle="topjui-edatagrid"
  29. data-options="id:'configEdatagrid',
  30. idField:'uuid',
  31. reloadAfterSave:true,
  32. url:'placefindByT.action?place=${param.plan_num}',
  33. saveUrl:_ctx + '/json/response/save.json',
  34. updateUrl:_ctx + '/json/response/update.json',
  35. destroyUrl:_ctx + '/json/response/delete.json'">
  36. <thead>
  37. <tr>
  38. <th data-options="field: 'id', title: 'UID', checkbox: true"></th>
  39. <th data-options="field: 'place_number', title: '订单编号', sortable: true"></th>
  40. <th data-options="field: 'technology_name', title: '工序名称', sortable: true"></th>
  41. <th data-options="field: 'price', title: '工序单价', sortable: true,editor:{type:'textbox',options:{required:true,height:30}}"></th>
  42. </tr>
  43. </thead>
  44. </table>
  45. <!-- 表格工具栏 -->
  46. <div id="configEdatagrid-toolbar" data-options="grid:{
  47. type:'edatagrid',
  48. id:'configEdatagrid'
  49. }" class="topjui-toolbar">
  50. <a href="javascript:void(0)"
  51. data-toggle="topjui-menubutton"
  52. data-options="method:'openDialog',
  53. extend: '#userDg-toolbar',
  54. iconCls: 'fa fa-plus',
  55. dialog:{
  56. width: 500,
  57. height: 450,
  58. id:'userAddDialog',
  59. href:'add_place_xu.jsp?place=${param.plan_num}',
  60. buttonsGroup:[
  61. {text:'保存',url:'placeadd_gong.action',iconCls:'fa fa-plus',handler:'ajaxForm',btnCls:'topjui-btn-brown'}
  62. ]
  63. }">添加工序</a>
  64. <a href="javascript:void(0)"
  65. data-toggle="topjui-menubutton"
  66. data-options="method:'edatagrid',
  67. extend: '#configEdatagrid-toolbar',
  68. iconCls:'fa fa-save',
  69. btnCls:'topjui-btn-brown',
  70. type:'saveRow'">保存</a>
  71. <a href="javascript:void(0)"
  72. data-toggle="topjui-menubutton"
  73. data-options="method:'edatagrid',
  74. extend: '#configEdatagrid-toolbar',
  75. iconCls:'fa fa-remove',
  76. btnCls:'topjui-btn-black',
  77. type:'cancelRow'">取消</a>
  78. <a href="javascript:void(0)"
  79. data-toggle="topjui-menubutton"
  80. data-options="method:'edatagrid',
  81. extend: '#configEdatagrid-toolbar',
  82. iconCls:'fa fa-remove',
  83. btnCls:'topjui-btn-blue',
  84. type:'destroyRow'">删除</a>
  85. <a href="javascript:void(0)"
  86. data-toggle="topjui-menubutton"
  87. data-options="method:'filter',
  88. extend: '#configEdatagrid-toolbar',
  89. btnCls:'topjui-btn-black'">过滤</a>
  90. <a href="javascript:void(0)"
  91. data-toggle="topjui-menubutton"
  92. data-options="method:'search',
  93. extend: '#configEdatagrid-toolbar',
  94. btnCls:'topjui-btn-blue'">查询</a>
  95. </div>
  96. <!-- 表格工具栏结束 -->
  97. </body>
  98. </html>