editApply.jsp 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  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. <div class="wrapper wrapper-content">
  20. <div class="row">
  21. <div class="col-sm-12">
  22. <div class="ibox float-e-margins">
  23. <div class="ibox-content">
  24. <div class="form-group">
  25. <label class="col-sm-2 control-label">订单编号:</label>
  26. <div class="col-sm-4">
  27. <input id="mgmOrder" name="mgmOrder" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.orderNo }" validateMessage="{required:'请输入订单编号'}" >
  28. </div>
  29. <label class="col-sm-2 control-label">订单类别:</label>
  30. <div class="col-sm-4">
  31. <input id="mgmOrder" name="mgmOrder" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.orderType }" validateMessage="{required:'请输入订单编号'}" >
  32. </div>
  33. </div>
  34. <div class="form-group">
  35. <label class="col-sm-2 control-label">合同金额:</label>
  36. <div class="col-sm-4">
  37. <input id="amount" name="amount" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.amount }" validateMessage="{required:'请输入客户姓名'}" >
  38. </div>
  39. <label class="col-sm-2 control-label">佣金:</label>
  40. <div class="col-sm-4">
  41. <input id="commission" name="commission" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.commission }" validateMessage="{required:'请输入佣金'}" >
  42. </div>
  43. </div>
  44. </div>
  45. <div class="ibox-content">
  46. <h5>客户信息:</h5>
  47. <div class="form-group">
  48. <label class="col-sm-2 control-label">客户姓名:</label>
  49. <div class="col-sm-4">
  50. <input id="customerName" name="customerName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.name }" validateMessage="{required:'请输入客户姓名'}" >
  51. </div>
  52. <label class="col-sm-2 control-label">客户电话:</label>
  53. <div class="col-sm-4">
  54. <input id="customerPhone" name="customerPhone" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.phone }" validateMessage="{required:'请输入客户电话'}" >
  55. </div>
  56. </div>
  57. <div class="form-group">
  58. <label class="col-sm-2 control-label">省:</label>
  59. <div class="col-sm-4">
  60. <input id="province" name="province" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.province }" validateMessage="{required:'请输入客户姓名'}" >
  61. </div>
  62. <label class="col-sm-2 control-label">市:</label>
  63. <div class="col-sm-4">
  64. <input id="city" name="city" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.city }" validateMessage="{required:'请输入客户电话'}" >
  65. </div>
  66. </div>
  67. <div class="form-group">
  68. <label class="col-sm-2 control-label">区:</label>
  69. <div class="col-sm-4">
  70. <input id="area" name="area" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.area }" validateMessage="{required:'请输入客户姓名'}" >
  71. </div>
  72. <label class="col-sm-2 control-label">地址:</label>
  73. <div class="col-sm-4">
  74. <input id="address" name="address" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmCustomer.address }" validateMessage="{required:'请输入客户电话'}" >
  75. </div>
  76. </div>
  77. <div class="form-group">
  78. <label class="col-sm-2 control-label">订单备注:</label>
  79. <div class="col-sm-10">
  80. <input id="remark" name="remark" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmOrder.remark }" validateMessage="{required:'请输入客户姓名'}" >
  81. </div>
  82. </div>
  83. </div>
  84. <div class="ibox-content">
  85. <h5>推荐人信息:</h5>
  86. <div class="form-group">
  87. <label class="col-sm-2 control-label">推荐人姓名:</label>
  88. <div class="col-sm-4">
  89. <input id="tjName" name="tjName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserTj.name }" validateMessage="{required:'请输入推荐人姓名'}" >
  90. </div>
  91. <label class="col-sm-2 control-label">推荐人电话:</label>
  92. <div class="col-sm-4">
  93. <input id="tjPhone" name="tjPhone" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserTj.phone }" validateMessage="{required:'请输入推荐人电话'}" >
  94. </div>
  95. </div>
  96. <div class="form-group">
  97. <label class="col-sm-2 control-label">推荐人部门:</label>
  98. <div class="col-sm-4">
  99. <input id="tjDeptName" name="tjDeptName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserTj.deptName }" validateMessage="{required:'请输入推荐人部门'}" >
  100. </div>
  101. <label class="col-sm-2 control-label">推荐人职务:</label>
  102. <div class="col-sm-4">
  103. <input id="tjPost" name="tjPost" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserTj.post }" validateMessage="{required:'请输入推荐人职务'}" >
  104. </div>
  105. </div>
  106. </div>
  107. <div class="ibox-content">
  108. <h5>销售人员信息:</h5>
  109. <div class="form-group">
  110. <label class="col-sm-2 control-label">销售人员姓名:</label>
  111. <div class="col-sm-4">
  112. <input id="SalerName" name="SalerName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.name }" validateMessage="{required:'请输入销售人员姓名'}" >
  113. </div>
  114. <label class="col-sm-2 control-label">销售人员电话:</label>
  115. <div class="col-sm-4">
  116. <input id="SalerPhone" name="SalerPhone" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.phone }" validateMessage="{required:'请输入销售人员电话'}" >
  117. </div>
  118. </div>
  119. <div class="form-group">
  120. <label class="col-sm-2 control-label">销售人员部门:</label>
  121. <div class="col-sm-4">
  122. <input id="SalerDeptName" name="SalerDeptName" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.deptName }" validateMessage="{required:'请输入销售人员部门'}" >
  123. </div>
  124. <label class="col-sm-2 control-label">销售人员职务:</label>
  125. <div class="col-sm-4">
  126. <input id="SalerPost" name="SalerPost" class="form-control" validate="{required:true}" readonly="readonly" value="${mgmUserSaler.post }" validateMessage="{required:'请输入销售人员职务'}" >
  127. </div>
  128. </div>
  129. </div>
  130. <div class="ibox-content">
  131. <h5>产品信息:</h5>
  132. <div class="example">
  133. <table
  134. id="tab_user"
  135. data-toggle="table"
  136. data-url="pruductList.cs?orderid=${mgmOrder.id}"
  137. data-method="get"
  138. data-click-to-select="true"
  139. data-pagination="false"
  140. data-data-type="json"
  141. data-show-refresh="false"
  142. data-show-columns="false"
  143. data-show-toggle="false"
  144. data-search-on-enter-key="true"
  145. data-toolbar="#def_toolbar"
  146. data-side-pagination="server"
  147. data-query-params="queryParams"
  148. data-mobile-responsive="true">
  149. <thead>
  150. <tr>
  151. <th data-field=productName data-align="center" data-sortable="true">产品名称</th>
  152. <th data-field="unit" data-align="left" data-sortable="true">单位</th>
  153. <th data-field="price" data-sortable="true" data-sorter="scoreSorter">单价</th>
  154. <th data-field="commissionRate" data-sortable="true" data-sorter="scoreSorter">佣金比例</th>
  155. <th data-field="commissionRateSj" data-sortable="true" data-sorter="commissionRateSj">实际佣金比例</th>
  156. <th data-field="commissionRateYc" data-sortable="true" data-sorter="scoreSorter">溢出佣金比例</th>
  157. <th data-field="willCnt" data-sortable="true" data-sorter="scoreSorter">意向数量</th>
  158. <th data-field="actualCnt" data-sortable="true" data-sorter="scoreSorter">实际数量</th>
  159. <th data-field="standardAmount" data-sortable="true" data-sorter="scoreSorter">标准价</th>
  160. <th data-field="dealAmount" data-sortable="true" data-sorter="scoreSorter">成交价</th>
  161. </tr>
  162. </thead>
  163. </table>
  164. </div>
  165. </div>
  166. <div class="ibox-content">
  167. <h5>终止申请:</h5>
  168. <div class="ibox-content">
  169. <h5>销售人员信息:</h5>
  170. <cs:form_validate formId="editUserForm"/>
  171. <form class="form-horizontal" action="blApply.cs" id="editUserForm" method="POST">
  172. <input type="hidden" name="id" value="${mgmOrderBreak.id }">
  173. <input type="hidden" name="orderId" value="${mgmOrderBreak.orderId }">
  174. <input type="hidden" name="userId" value="${mgmOrderBreak.userId }">
  175. <div class="form-group">
  176. <label class="col-sm-2 control-label">申请员姓名:</label>
  177. <div class="col-sm-4">
  178. <input id="SalerName" name="SalerName" class="form-control" validate="{required:false}" readonly="readonly" value="${mgmUserSaler.name }" validateMessage="{required:'请输入销售人员姓名'}" >
  179. </div>
  180. <label class="col-sm-2 control-label">申请时间:</label>
  181. <div class="col-sm-4">
  182. <input id="applyTime" name="applyTime" class="form-control" validate="{required:false}" readonly="readonly" value="<fmt:formatDate value="${mgmOrderBreak.applyTime}" pattern="yyyy-MM-dd HH:mm:ss"/>" validateMessage="{required:'请输入推荐人姓名'}" >
  183. </div>
  184. </div>
  185. <div class="form-group">
  186. <label class="col-sm-2 control-label">原因</label>
  187. <div class="col-sm-9">
  188. <textarea id="applyReason" readonly name="applyReason" class="form-control" style="height: 110px;" validate="{required:false}" validateMessage="{required:'请输入审批意见'}" >${mgmOrderBreak.applyReason }</textarea>
  189. </div>
  190. </div>
  191. <div class="form-group">
  192. <label class="col-sm-2 control-label">审批意见:</label>
  193. <div class="col-sm-9">
  194. <select class="form-control" name="applyState" id="applyState" validate="{required:true}" validateMessage="{required:'请选择审批意见'}">
  195. <option value="">请选择</option>
  196. <option value="1">审批通过</option>
  197. <option value="2">订单继续</option>
  198. </select>
  199. </div>
  200. </div>
  201. <div class="form-group">
  202. <label class="col-sm-2 control-label">审批说明:</label>
  203. <div class="col-sm-9">
  204. <textarea id="approveReamrk" name="approveReamrk" class="form-control" style="height: 110px;" validate="{required:true}" validateMessage="{required:'请输入审批意见'}" >${mgmOrderBreak.approveReamrk }</textarea>
  205. </div>
  206. </div>
  207. <div class="form-group">
  208. <div class="col-sm-6 col-sm-offset-3">
  209. <button class="btn btn-default btn-dlg-close">取消</button>
  210. <button class="btn btn-primary" type="submit">提交</button>
  211. </div>
  212. </div>
  213. </form>
  214. </div>
  215. </div>
  216. </div>
  217. </div>
  218. </div>
  219. </body>
  220. </html>