安图前端代码

AddWorkOrder1.html 9.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  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. .ke-container{
  114. width: 100%!important;
  115. }
  116. </style>
  117. </head>
  118. <body class="gray-bg">
  119. <div class="daoHang clearfix" style="margin-bottom: 20px;">
  120. <div class="dhLeft">
  121. <sapn><i class="syIcon"></i>位置:
  122. <a href="javaScript:;" id="ReIndex">首页</a>&gt;
  123. <a href="javaScript:;">工单管理</a>&gt;
  124. <a href="" class="nowPosition">手工制单</a>
  125. </sapn>
  126. </div>
  127. <div class="dhRight">
  128. <a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
  129. </div>
  130. </div>
  131. <div class="clearfix wrapper wrapper-content animated fadeInRight">
  132. <div class="common">
  133. <!--客服部-->
  134. <table class="customerService">
  135. <tbody>
  136. <tr>
  137. <th>姓名:</th>
  138. <td>
  139. <div class="form-group">
  140. <input type="text" class="form-control" id="name" />
  141. </div>
  142. </td>
  143. <th>电话:</th>
  144. <td>
  145. <div class="form-group">
  146. <input type="text" class="form-control" id="tel" />
  147. </div>
  148. </td>
  149. <th>来电单位:</th>
  150. <td style="position: relative;">
  151. <div class="time-box">
  152. <select class="form-control" id="LDunit">
  153. </select>
  154. </div>
  155. </td>
  156. </tr>
  157. <tr>
  158. <th>反馈单位:</th>
  159. <td style="position: relative;">
  160. <div class="time-box">
  161. <select class="form-control" id="FKunit">
  162. </select>
  163. </div>
  164. </td>
  165. <th>工单来源:</th>
  166. <td>
  167. <div class="form-group">
  168. <select name="" class="form-control" id="DicValueList"> </select>
  169. </div>
  170. </td>
  171. <th>工单状态:</th>
  172. <td>
  173. <div class="form-group">
  174. <select name="" class="form-control" id="State"> </select>
  175. </div>
  176. </td>
  177. </tr>
  178. <tr>
  179. <th>工单类型:</th>
  180. <td>
  181. <div class="time-box">
  182. <i class="tub fa fa-caret-down down" style="color: #676b6d;"></i>
  183. <input class="form-control" type="text" id="typeclass" readonly="readonly">
  184. <input type="hidden" id="typeclassId" />
  185. <div class="addTree treeList">
  186. <ul id="TreeDemo" class="ztree">
  187. </ul>
  188. </div>
  189. </div>
  190. </td>
  191. <th>省份:</th>
  192. <td>
  193. <div class="time-box">
  194. <select class="form-control" id="Province">
  195. </select>
  196. </div>
  197. </td>
  198. </tr>
  199. <tr>
  200. <th>反馈内容及处理结果:</th>
  201. <td colspan="5" id="CS">
  202. <textarea name="" rows="5" cols="" placeholder="" id="feedBackCon"></textarea>
  203. </td>
  204. </tr>
  205. <tr>
  206. <th>快递信息:</th>
  207. <td colspan="5">
  208. <textarea name="" rows="" cols="" id="express"></textarea>
  209. </td>
  210. </tr>
  211. <tr>
  212. <th>备注一:</th>
  213. <td colspan="5">
  214. <textarea name="" rows="" cols="" id="remark1"></textarea>
  215. </td>
  216. </tr>
  217. <tr>
  218. <th>备注二:</th>
  219. <td colspan="5">
  220. <textarea name="" rows="" cols="" id="remark2"></textarea>
  221. </td>
  222. </tr>
  223. <tr>
  224. <th>备注三:</th>
  225. <td colspan="5">
  226. <textarea name="" rows="" cols="" id="remark3"></textarea>
  227. </td>
  228. </tr>
  229. <tr>
  230. <td colspan="6" style="text-align: center;">
  231. <button class="btns customerSubmit">保&nbsp;存</button>
  232. </td>
  233. </tr>
  234. </tbody>
  235. </table>
  236. <!--市场部-->
  237. <table class="market">
  238. <tbody>
  239. <tr>
  240. <th>姓名:</th>
  241. <td>
  242. <div class="form-group">
  243. <input type="text" class="form-control" id="name_market" />
  244. </div>
  245. </td>
  246. <th>电话:</th>
  247. <td>
  248. <div class="form-group">
  249. <input type="text" class="form-control" id="tel_market" />
  250. </div>
  251. </td>
  252. <th>来电单位:</th>
  253. <td style="position: relative;">
  254. <select class="form-control" id="LDunit_">
  255. </select>
  256. </td>
  257. </tr>
  258. <tr>
  259. <th>反馈单位:</th>
  260. <td style="position: relative;">
  261. <select class="form-control" id="FKunit_">
  262. </select>
  263. </div>
  264. </td>
  265. </tr>
  266. <tr>
  267. <th>备注内容:</th>
  268. <td colspan="5">
  269. <textarea name="" rows="" cols="" id="remark_market"></textarea>
  270. </td>
  271. </tr>
  272. <tr>
  273. <td colspan="6" style="text-align: center;">
  274. <button class="btns marketSubmit">保&nbsp;存</button>
  275. </td>
  276. </tr>
  277. </tbody>
  278. </table>
  279. </div>
  280. <input type="hidden" id="CallID"/>
  281. </div>
  282. <script src="../js/zTree/jquery.ztree.core.js"></script>
  283. <script src="../My97DatePicker/WdatePicker.js"></script>
  284. <script src="../js/bootstrap-select/js/bootstrap-select.js"></script>
  285. <script src="../js/select.js"></script>
  286. <script src="../js/WorkOrder/AddWorkOrder.js"></script>
  287. <script src="../js/WorkOrder/jquery.editable-select.js"></script>
  288. <script src="../js/kindeditor/kindeditor.js"></script>
  289. <script src="../js/kindeditor/lang/zh_CN.js"></script>
  290. <script>
  291. var City_ = ["北京市", "天津市", "河北省", "山西省", "内蒙古", "辽宁省", "吉林省", "黑龙江省", "上海市", "江苏省", "浙江省", "安徽省", "福建省", "江西省", "山东省", "河南省", "湖北省", "湖南省", "广东省", "广西自治区", "海南省", "重庆市", "四川省", "贵州省", "云南省", "西藏自治区", "陕西省", "甘肃省", "青海省", "宁夏回族自治区", "新疆维吾尔自治区", "香港特别行政区", "澳门特别行政区", "台湾省", "钓鱼岛", "其他附属岛屿"];
  292. CitySelect();
  293. function CitySelect(){
  294. var len = City_.length;
  295. var html = '';
  296. $(City_).each(function(i, n) {
  297. html = '<option value="' + n + '">' + n + '</option>';
  298. $(html).appendTo($('#Province'))
  299. });
  300. }
  301. function LDunit(){
  302. $.ajax({
  303. type: "get",
  304. url: huayi.config.callcenter_url + "Customer/BindLDdep",
  305. dataType: 'json',
  306. async: true,
  307. data: {
  308. keypara:'',
  309. token: $.cookie("token")
  310. },
  311. success: function(data) {
  312. var Count = data.data.dep;
  313. console.log(Count);
  314. var html = '<option value="" >全部</option>';
  315. $(Count).each(function(i, n) {
  316. html += '<option value="' + n + '" >' + n + '</option>';
  317. });
  318. $(html).appendTo($('#LDunit'));
  319. $(html).appendTo($('#FKunit'));
  320. $(html).appendTo($('#LDunit_'));
  321. $(html).appendTo($('#FKunit_'));
  322. $("#LDunit").comboSelect();
  323. $("#FKunit").comboSelect();
  324. $("#LDunit_").comboSelect();
  325. $("#FKunit_").comboSelect();
  326. }
  327. });
  328. }
  329. LDunit()
  330. $('#Province').comboSelect();
  331. </script>
  332. </body>
  333. </html>