安图前端代码

AddWorkOrder.html 9.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <link href="../css/init.css" rel="stylesheet" />
  7. <script src="../Script/Common/huayi.load.js"></script>
  8. <script src="../Script/Common/huayi.config.js"></script>
  9. <script src="../Script/Common/huayi.http.js"></script>
  10. <link href="../css/WorkOrder/Search.css" rel="stylesheet">
  11. <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
  12. <link href="../js/bootstrap-select/css/bootstrap-select.css" rel="stylesheet" />
  13. <link rel="stylesheet" href="../css/WorkOrder/jquery.editable-select.css" />
  14. <link href="../css/init.css" rel="stylesheet" />
  15. <link href="../css/select.css" rel="stylesheet" />
  16. <title>手工制单</title>
  17. <style>
  18. ul li {
  19. float: initial;
  20. list-style: none;
  21. }
  22. .common {
  23. width: 100%;
  24. text-align: center;
  25. padding: 10px 15px;
  26. }
  27. .common table {
  28. width: 100%;
  29. display: none;
  30. }
  31. .common table th {
  32. padding: 5px 8px 5px 0;
  33. text-align: right;
  34. /* width: 20%;*/
  35. }
  36. .common table td {
  37. padding: 6px 0 5px 10px;
  38. text-align: left;
  39. color: #717171;
  40. line-height: 200%;
  41. }
  42. .common table td textarea {
  43. width: 100%;
  44. vertical-align: middle;
  45. resize: none;
  46. outline: none;
  47. }
  48. .time-box {
  49. display: inline-block;
  50. position: relative;
  51. }
  52. i.tub {
  53. position: absolute;
  54. right: 8px;
  55. top: 8px;
  56. font-size: 18px;
  57. color: #00a0ca;
  58. }
  59. .treeList {
  60. top: 34px!important;
  61. border: 1px solid #e5e6e7!important;
  62. border-top: 0;
  63. height: auto!important;
  64. }
  65. #TreeDemo li {
  66. float: initial;
  67. }
  68. #typeclass {
  69. background: #fff;
  70. }
  71. .form-group {
  72. margin-bottom: 0;
  73. }
  74. .bootstrap-select>.dropdown-toggle.bs-placeholder {
  75. background-color: #ffffff!important;
  76. border-color: #e5e6e7!important;
  77. }
  78. .filter-option {
  79. color: #676b6d;
  80. }
  81. .bootstrap-select>.dropdown-toggle.btn-default {
  82. background-color: #ffffff!important;
  83. border-color: #e5e6e7!important;
  84. color: #555;
  85. }
  86. .testInput-list {
  87. position: absolute;
  88. z-index: 999;
  89. border: 1px solid rgb(204, 204, 204);
  90. background-color: rgb(255, 255, 255);
  91. z-index: 99999;
  92. padding-left: 0;
  93. width: 97.6%;
  94. display: none;
  95. }
  96. .testInput-list li {
  97. padding: 5px;
  98. }
  99. .testInput-list li:hover {
  100. background-color: #E43926;
  101. color: #fff;
  102. }
  103. #testInput1,#testInput2,#testInput3,#testInput4{
  104. outline:none;
  105. border: 1px solid #ccc;
  106. padding-left: 10px;
  107. outline-color :#fff;
  108. }
  109. .fa-caret-down:before{
  110. color: #555;
  111. font-size: 12px;
  112. }
  113. </style>
  114. </head>
  115. <body class="gray-bg">
  116. <div class="daoHang clearfix" style="margin-bottom: 20px;">
  117. <div class="dhLeft">
  118. <sapn><i class="syIcon"></i>位置:
  119. <a href="javaScript:;" id="ReIndex">首页</a>&gt;
  120. <a href="javaScript:;">工单管理</a>&gt;
  121. <a href="" class="nowPosition">手工制单</a>
  122. </sapn>
  123. </div>
  124. <div class="dhRight">
  125. <a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
  126. </div>
  127. </div>
  128. <div class="clearfix wrapper wrapper-content animated fadeInRight">
  129. <div class="common">
  130. <!--客服部-->
  131. <table class="customerService">
  132. <tbody>
  133. <tr>
  134. <th>姓名:</th>
  135. <td>
  136. <div class="form-group">
  137. <input type="text" class="form-control" id="name" />
  138. </div>
  139. </td>
  140. <th>电话:</th>
  141. <td>
  142. <div class="form-group">
  143. <input type="text" class="form-control" id="tel" />
  144. </div>
  145. </td>
  146. <th>来电单位:</th>
  147. <td style="position: relative;">
  148. <div class="time-box">
  149. <select class="form-control" id="LDunit">
  150. </select>
  151. </div>
  152. </td>
  153. </tr>
  154. <tr>
  155. <th>反馈单位:</th>
  156. <td style="position: relative;">
  157. <div class="time-box">
  158. <select class="form-control" id="FKunit">
  159. </select>
  160. </div>
  161. </td>
  162. <th>工单来源:</th>
  163. <td>
  164. <div class="form-group">
  165. <select name="" class="form-control" id="DicValueList"> </select>
  166. </div>
  167. </td>
  168. <th>工单状态:</th>
  169. <td>
  170. <div class="form-group">
  171. <select name="" class="form-control" id="State"> </select>
  172. </div>
  173. </td>
  174. </tr>
  175. <tr>
  176. <th>工单类型:</th>
  177. <td>
  178. <div class="time-box">
  179. <i class="tub fa fa-caret-down down" style="color: #676b6d;"></i>
  180. <input class="form-control" type="text" id="typeclass" readonly="readonly">
  181. <input type="hidden" id="typeclassId" />
  182. <div class="addTree treeList">
  183. <ul id="TreeDemo" class="ztree">
  184. </ul>
  185. </div>
  186. </div>
  187. </td>
  188. <th>省份:</th>
  189. <td>
  190. <div class="time-box">
  191. <select class="form-control" id="Province">
  192. </select>
  193. </div>
  194. </td>
  195. </tr>
  196. <tr>
  197. <th>反馈内容及处理结果:</th>
  198. <td colspan="5" id="CS">
  199. <textarea name="" rows="5" cols="" placeholder="" id="feedBackCon"></textarea>
  200. </td>
  201. </tr>
  202. <tr>
  203. <th>快递信息:</th>
  204. <td colspan="5">
  205. <textarea name="" rows="" cols="" id="express"></textarea>
  206. </td>
  207. </tr>
  208. <tr>
  209. <th>备注一:</th>
  210. <td colspan="5">
  211. <textarea name="" rows="" cols="" id="remark1"></textarea>
  212. </td>
  213. </tr>
  214. <tr>
  215. <th>备注二:</th>
  216. <td colspan="5">
  217. <textarea name="" rows="" cols="" id="remark2"></textarea>
  218. </td>
  219. </tr>
  220. <tr>
  221. <th>备注三:</th>
  222. <td colspan="5">
  223. <textarea name="" rows="" cols="" id="remark3"></textarea>
  224. </td>
  225. </tr>
  226. <tr>
  227. <td colspan="6" style="text-align: center;">
  228. <button class="btns customerSubmit">保&nbsp;存</button>
  229. </td>
  230. </tr>
  231. </tbody>
  232. </table>
  233. <!--市场部-->
  234. <table class="market">
  235. <tbody>
  236. <tr>
  237. <th>姓名:</th>
  238. <td>
  239. <div class="form-group">
  240. <input type="text" class="form-control" id="name_market" />
  241. </div>
  242. </td>
  243. <th>电话:</th>
  244. <td>
  245. <div class="form-group">
  246. <input type="text" class="form-control" id="tel_market" />
  247. </div>
  248. </td>
  249. <th>来电单位:</th>
  250. <td style="position: relative;">
  251. <select class="form-control" id="LDunit_">
  252. </select>
  253. </td>
  254. </tr>
  255. <tr>
  256. <th>反馈单位:</th>
  257. <td style="position: relative;">
  258. <select class="form-control" id="FKunit_">
  259. </select>
  260. </div>
  261. </td>
  262. </tr>
  263. <tr>
  264. <th>备注内容:</th>
  265. <td colspan="5">
  266. <textarea name="" rows="" cols="" id="remark_market"></textarea>
  267. </td>
  268. </tr>
  269. <tr>
  270. <td colspan="6" style="text-align: center;">
  271. <button class="btns marketSubmit">保&nbsp;存</button>
  272. </td>
  273. </tr>
  274. </tbody>
  275. </table>
  276. </div>
  277. <input type="hidden" id="CallID"/>
  278. </div>
  279. <script src="../js/zTree/jquery.ztree.core.js"></script>
  280. <script src="../My97DatePicker/WdatePicker.js"></script>
  281. <script src="../js/bootstrap-select/js/bootstrap-select.js"></script>
  282. <script src="../js/select.js"></script>
  283. <script src="../js/WorkOrder/AddWorkOrder.js"></script>
  284. <script src="../js/WorkOrder/jquery.editable-select.js"></script>
  285. <script>
  286. var City_ = ["北京市", "天津市", "河北省", "山西省", "内蒙古", "辽宁省", "吉林省", "黑龙江省", "上海市", "江苏省", "浙江省", "安徽省", "福建省", "江西省", "山东省", "河南省", "湖北省", "湖南省", "广东省", "广西自治区", "海南省", "重庆市", "四川省", "贵州省", "云南省", "西藏自治区", "陕西省", "甘肃省", "青海省", "宁夏回族自治区", "新疆维吾尔自治区", "香港特别行政区", "澳门特别行政区", "台湾省", "钓鱼岛", "其他附属岛屿"];
  287. CitySelect();
  288. function CitySelect(){
  289. var len = City_.length;
  290. var html = '';
  291. $(City_).each(function(i, n) {
  292. html = '<option value="' + n + '">' + n + '</option>';
  293. $(html).appendTo($('#Province'))
  294. });
  295. }
  296. function LDunit(){
  297. $.ajax({
  298. type: "get",
  299. url: huayi.config.callcenter_url + "Customer/BindLDdep",
  300. dataType: 'json',
  301. async: true,
  302. data: {
  303. keypara:'',
  304. token: $.cookie("token")
  305. },
  306. success: function(data) {
  307. var Count = data.data.dep;
  308. console.log(Count);
  309. var html = '';
  310. $(Count).each(function(i, n) {
  311. html = '<option value="' + n + '" >' + n + '</option>';
  312. $(html).appendTo($('#LDunit'));
  313. $(html).appendTo($('#FKunit'));
  314. $(html).appendTo($('#LDunit_'));
  315. $(html).appendTo($('#FKunit_'));
  316. });
  317. $("#LDunit").comboSelect();
  318. $("#FKunit").comboSelect();
  319. $("#LDunit_").comboSelect();
  320. $("#FKunit_").comboSelect();
  321. }
  322. });
  323. }
  324. LDunit()
  325. $('#Province').comboSelect();
  326. </script>
  327. </body>
  328. </html>