applyView.jsp 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <!doctype html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <%@ include file="../../common/head.jsp"%>
  8. <link rel="stylesheet" type="text/css" href="../res/js//plugins/webuploader/webuploader.css">
  9. <link rel="stylesheet" type="text/css" href="../res/css/demo/webuploader-demo.css">
  10. <link href="../res/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
  11. <script src="../res/js/plugins/bootstrap-table/bootstrap-table.js"></script>
  12. <script src="../res/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
  13. <script src="../res/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
  14. <script type="text/javascript" src="../res/js/plugins/webuploader/webuploader.js"></script>
  15. <script type="text/javascript" src="../res/js/plugins/webuploader/uploader.js"></script>
  16. <cs:initFile/>
  17. </head>
  18. <body>
  19. <cs:form_validate formId="editUserForm"/>
  20. <form class="form-horizontal" action="edit.cs" id="editUserForm" method="POST">
  21. <div class="wrapper wrapper-content">
  22. <div class="row">
  23. <div class="col-sm-12">
  24. <div class="ibox float-e-margins">
  25. <div class="ibox-content">
  26. <div class="form-group">
  27. <label class="col-sm-2 control-label">订单编号:</label>
  28. <div class="col-sm-4">
  29. <input id="mgmOrder" name="mgmOrder" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.orderNo }" validateMessage="{required:'请输入订单编号'}" >
  30. </div>
  31. <label class="col-sm-2 control-label">订单类别:</label>
  32. <div class="col-sm-4">
  33. <input id="mgmOrder" name="mgmOrder" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.orderType }" validateMessage="{required:'请输入订单编号'}" >
  34. </div>
  35. </div>
  36. <div class="form-group">
  37. <label class="col-sm-2 control-label">合同金额:</label>
  38. <div class="col-sm-4">
  39. <input id="amount" name="amount" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.amount }" validateMessage="{required:'请输入客户姓名'}" >
  40. </div>
  41. <label class="col-sm-2 control-label">佣金:</label>
  42. <div class="col-sm-4">
  43. <input id="commission" name="commission" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.commission }" validateMessage="{required:'请输入佣金'}" >
  44. </div>
  45. </div>
  46. </div>
  47. <div class="ibox-content">
  48. <h5>客户信息:</h5>
  49. <div class="form-group">
  50. <label class="col-sm-2 control-label">客户姓名:</label>
  51. <div class="col-sm-4">
  52. <input id="customerName" name="customerName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.name }" validateMessage="{required:'请输入客户姓名'}" >
  53. </div>
  54. <label class="col-sm-2 control-label">客户电话:</label>
  55. <div class="col-sm-4">
  56. <input id="customerPhone" name="customerPhone" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.phone }" validateMessage="{required:'请输入客户电话'}" >
  57. </div>
  58. </div>
  59. <div class="form-group">
  60. <label class="col-sm-2 control-label">省:</label>
  61. <div class="col-sm-4">
  62. <input id="province" name="province" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.province }" validateMessage="{required:'请输入客户姓名'}" >
  63. </div>
  64. <label class="col-sm-2 control-label">市:</label>
  65. <div class="col-sm-4">
  66. <input id="city" name="city" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.city }" validateMessage="{required:'请输入客户电话'}" >
  67. </div>
  68. </div>
  69. <div class="form-group">
  70. <label class="col-sm-2 control-label">区:</label>
  71. <div class="col-sm-4">
  72. <input id="area" name="area" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.area }" validateMessage="{required:'请输入客户姓名'}" >
  73. </div>
  74. <label class="col-sm-2 control-label">地址:</label>
  75. <div class="col-sm-4">
  76. <input id="address" name="address" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.address }" validateMessage="{required:'请输入客户电话'}" >
  77. </div>
  78. </div>
  79. <div class="form-group">
  80. <label class="col-sm-2 control-label">订单备注:</label>
  81. <div class="col-sm-10">
  82. <input id="remark" name="remark" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.remark }" validateMessage="{required:'请输入客户姓名'}" >
  83. </div>
  84. </div>
  85. </div>
  86. <div class="ibox-content">
  87. <h5>推荐人信息:</h5>
  88. <div class="form-group">
  89. <label class="col-sm-2 control-label">推荐人姓名:</label>
  90. <div class="col-sm-4">
  91. <input id="tjName" name="tjName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserTj.name }" validateMessage="{required:'请输入推荐人姓名'}" >
  92. </div>
  93. <label class="col-sm-2 control-label">推荐人电话:</label>
  94. <div class="col-sm-4">
  95. <input id="tjPhone" name="tjPhone" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserTj.phone }" validateMessage="{required:'请输入推荐人电话'}" >
  96. </div>
  97. </div>
  98. <div class="form-group">
  99. <label class="col-sm-2 control-label">推荐人部门:</label>
  100. <div class="col-sm-4">
  101. <input id="tjDeptName" name="tjDeptName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserTj.deptName }" validateMessage="{required:'请输入推荐人部门'}" >
  102. </div>
  103. <label class="col-sm-2 control-label">推荐人职务:</label>
  104. <div class="col-sm-4">
  105. <input id="tjPost" name="tjPost" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserTj.post }" validateMessage="{required:'请输入推荐人职务'}" >
  106. </div>
  107. </div>
  108. </div>
  109. <div class="ibox-content">
  110. <h5>销售人员信息:</h5>
  111. <div class="form-group">
  112. <label class="col-sm-2 control-label">销售人员姓名:</label>
  113. <div class="col-sm-4">
  114. <input id="SalerName" name="SalerName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.name }" validateMessage="{required:'请输入销售人员姓名'}" >
  115. </div>
  116. <label class="col-sm-2 control-label">销售人员电话:</label>
  117. <div class="col-sm-4">
  118. <input id="SalerPhone" name="SalerPhone" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.phone }" validateMessage="{required:'请输入销售人员电话'}" >
  119. </div>
  120. </div>
  121. <div class="form-group">
  122. <label class="col-sm-2 control-label">销售人员部门:</label>
  123. <div class="col-sm-4">
  124. <input id="SalerDeptName" name="SalerDeptName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.deptName }" validateMessage="{required:'请输入销售人员部门'}" >
  125. </div>
  126. <label class="col-sm-2 control-label">销售人员职务:</label>
  127. <div class="col-sm-4">
  128. <input id="SalerPost" name="SalerPost" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.post }" validateMessage="{required:'请输入销售人员职务'}" >
  129. </div>
  130. </div>
  131. </div>
  132. <div class="ibox-content">
  133. <h5>产品信息:</h5>
  134. <div class="example">
  135. <table
  136. id="tab_user"
  137. data-toggle="table"
  138. data-url="pruductList.cs?orderid=${mgmOrder.id}"
  139. data-method="get"
  140. data-click-to-select="true"
  141. data-pagination="false"
  142. data-data-type="json"
  143. data-show-refresh="false"
  144. data-show-columns="false"
  145. data-show-toggle="false"
  146. data-search-on-enter-key="true"
  147. data-toolbar="#def_toolbar"
  148. data-side-pagination="server"
  149. data-query-params="queryParams"
  150. data-mobile-responsive="true">
  151. <thead>
  152. <tr>
  153. <th data-field=productName data-align="center" data-sortable="true">产品名称</th>
  154. <th data-field="unit" data-align="left" data-sortable="true">单位</th>
  155. <th data-field="price" data-sortable="true" data-sorter="scoreSorter">单价</th>
  156. <th data-field="commissionRate" data-sortable="true" data-sorter="scoreSorter">佣金比例</th>
  157. <th data-field="commissionRateSj" data-sortable="true" data-sorter="commissionRateSj">实际佣金比例</th>
  158. <th data-field="commissionRateYc" data-sortable="true" data-sorter="scoreSorter">溢出佣金比例</th>
  159. <th data-field="willCnt" data-sortable="true" data-sorter="scoreSorter">意向数量</th>
  160. <th data-field="actualCnt" data-sortable="true" data-sorter="scoreSorter">实际数量</th>
  161. <th data-field="standardAmount" data-sortable="true" data-sorter="scoreSorter">标准价</th>
  162. <th data-field="dealAmount" data-sortable="true" data-sorter="scoreSorter">成交价</th>
  163. </tr>
  164. </thead>
  165. </table>
  166. </div>
  167. </div>
  168. <div class="ibox-content">
  169. <h5>终止申请:</h5>
  170. <div class="ibox-content">
  171. <h5>销售人员信息:</h5>
  172. <div class="form-group">
  173. <label class="col-sm-2 control-label">申请员姓名:</label>
  174. <div class="col-sm-4">
  175. <input id="SalerName" name="SalerName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.name }" validateMessage="{required:'请输入销售人员姓名'}" >
  176. </div>
  177. <label class="col-sm-2 control-label">申请电话:</label>
  178. <div class="col-sm-4">
  179. <input id="SalerPhone" name="SalerPhone" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.phone }" validateMessage="{required:'请输入销售人员电话'}" >
  180. </div>
  181. </div>
  182. <div class="form-group">
  183. <label class="col-sm-2 control-label">申请时间:</label>
  184. <div class="col-sm-4">
  185. <input id="applyTime" name="applyTime" class="form-control" validate="{required:true}" readonly="readonly" value=" <fmt:formatDate value="${mgmOrderBreak.applyTime}" pattern="yyyy-MM-dd HH:mm:ss"/>" validateMessage="{required:'请输入推荐人姓名'}" >
  186. </div>
  187. <label class="col-sm-2 control-label">原因</label>
  188. <div class="col-sm-4">
  189. <input id="applyReason" name="applyReason" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrderBreak.applyReason }" validateMessage="{required:'请输入推荐人电话'}" >
  190. </div>
  191. </div>
  192. <div class="form-group">
  193. <label class="col-sm-2 control-label">审批人:</label>
  194. <div class="col-sm-4">
  195. <input id="approver" name="approver" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrderBreak.approver }" validateMessage="{required:'请输入推荐人部门'}" >
  196. </div>
  197. <label class="col-sm-2 control-label">审批意见:</label>
  198. <div class="col-sm-4">
  199. <input id="approveReamrk" name="approveReamrk" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrderBreak.approveReamrk }" validateMessage="{required:'请输入推荐人职务'}" >
  200. </div>
  201. </div>
  202. </div>
  203. </div>
  204. </div>
  205. </div>
  206. </div>
  207. </form>
  208. </body>
  209. </html>