storemanInfo.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. <!-- <table id="bd-dg" class="storeman-manage-table"> -->
  2. <div>
  3. <div id="storeman-trans-toolbar" style="padding:10px 5px">
  4. 库名:
  5. <input class="easyui-combobox library-Name" editable="true">
  6. 姓名:
  7. <input class="easyui-textbox easyui-validatebox storeman-name" name="bd-s-name" data-options="validType:'length[0,20]'">&emsp;
  8. <a href="#" class="easyui-linkbutton bd-add-s bd-search">查找</a>
  9. <a href="#" class="easyui-linkbutton bd-add-s clear-btn2" plain="true">清空</a>
  10. <a href="#" class="easyui-linkbutton bd-add-s bd-add-bt" id="bgy-add-btn" plain="true" style="float:right">新增</a>
  11. </div>
  12. <table id="storeman-trans-dg" style="height:500px;" class="keeper-manage-table">
  13. </table>
  14. </div>
  15. <!-- <div id="storeman-trans-toolbar" style="padding: 10px 5px;">
  16. 名称:<input class="easyui-textbox" name="bd-s-name">&emsp;
  17. <a href="#" class="easyui-linkbutton bd-add-s bd-search">搜索</a>
  18. <a href="#" class="easyui-linkbutton bd-add-s bd-add-bt" plain="true" style="float: right;">新增用户</a>
  19. --><!-- </div> -->
  20. <div id="pf-w" class="keeper-manage-addedit" style="padding:20px;">
  21. <form class="storeman-form storeman-manage-form" style="height:700px;">
  22. <input type="hidden" name="provinceId" value="1">
  23. <!--<input class="easyui-textbox" type="hidden" id="userUuId" name="userUuId" />-->
  24. <span class="pf-ptitle">人员基本信息</span>
  25. <div class="pf-pitem">
  26. <span class="pf-pitem-li">
  27. <span class="pf-pitem-lit">人员姓名:</span>
  28. <span class="pf-pitem-lic">
  29. <!--<input class="easyui-textbox" required="true" data-options="width:'140px',height:'20px'" name="name"></span>-->
  30. <!-- <input class="easyui-combobox name" id="name" data-options="width:'140px',height:'20px'" name="name" required="true" editable="true"></span>-->
  31. <input id="conmessage-con1" class="easyui-combotree" data-options="required:true" style="width:140px;height:20px">
  32. </span>
  33. <span class="pf-pitem-li">
  34. <span class="pf-pitem-lit">性别:</span>
  35. <span class="pf-pitem-lic">
  36. <select class="easyui-combobox sex" name="sex" style="width:140px;height: 20px;" required="true" panelHeight=60 editable="false">
  37. <option value="男">男</option>
  38. <option value="女">女</option>
  39. </select>
  40. </span>
  41. </span>
  42. <span class="pf-pitem-li">
  43. <span class="pf-pitem-lit">联系方式:</span>
  44. <span class="pf-pitem-lic">
  45. <input class="easyui-numberbox easyui-validatebox" required="true" data-options="validType:'length[11,11]',disabled:true,width:'140px',height:'20px'" name="phone"></span>
  46. </span>
  47. <span class="pf-pitem-li">
  48. <span class="pf-pitem-lit">出生年月:</span>
  49. <span class="pf-pitem-lic">
  50. <input class="easyui-datebox birthday" data-options="width:'140px',height:'20px',disabled:true,required:true" name="birthday" missingMessage="日期必须填写" editable="false"></span>
  51. </span>
  52. <br />
  53. <span class="pf-pitem-li">
  54. <span class="pf-pitem-lit">民族:</span>
  55. <span class="pf-pitem-lic">
  56. <input class="easyui-textbox nation" data-options="width:'140px',height:'20px'," name="nation"></span>
  57. </span>
  58. <span class="pf-pitem-li">
  59. <span class="pf-pitem-lit">邮箱:</span>
  60. <span class="pf-pitem-lic">
  61. <input class="easyui-textbox email" data-options="width:'140px',height:'20px',disabled:true" name="email"></span>
  62. </span>
  63. <span class="pf-pitem-li">
  64. <span class="pf-pitem-lit">工作年限:</span>
  65. <span class="pf-pitem-lic">
  66. <input class="easyui-textbox workYear" data-options="width:'140px',height:'20px',required:true" name="workYear"></span>
  67. </span>
  68. <span class="pf-pitem-li" >
  69. <span class="pf-pitem-lit">政治面貌:</span>
  70. <span class="pf-pitem-lic">
  71. <select class="easyui-combobox combobox-political" data-options="width:'140px',height:'20px'" name="political" panelHeight=90 editable="false">
  72. <option value="群众">群众</option>
  73. <option value="团员">团员</option>
  74. <option value="党员">党员</option>
  75. </select>
  76. </span>
  77. </span>
  78. <span class="pf-pitem-li hide-time-span">
  79. <span class="pf-pitem-lit">入党时间:</span>
  80. <span class="pf-pitem-lic">
  81. <input class="easyui-datebox" name="isDepartmentTime" style="width:140px;height: 20px;" editable="false"></span>
  82. </span><br/>
  83. <span class="pf-pitem-li">
  84. <span class="pf-pitem-lit">岗位(职务):</span>
  85. <span class="pf-pitem-lic">
  86. <select id="positionSel" class="easyui-combobox position11" name="position" style="width:140px;height: 20px;" required="true" panelHeight=90 editable="false">
  87. <option value="保管员" selected = "selected">保管员</option>
  88. <option value="租仓库保管员权限">租仓库保管员权限</option>
  89. <option value="质检员">质检员</option>
  90. <option value="安全员">安全员</option>
  91. </select>
  92. </span>
  93. </span>
  94. <span class="pf-pitem-li group">
  95. <span class="pf-pitem-lit ">仓库:</span>
  96. <span class="pf-pitem-lic">
  97. <input class="easyui-combobox grainId" id="grainId" data-options="disabled:true,width:'140px',height:'20px'" name="grainId" required="true" editable="false"></span>
  98. </span>
  99. <span class="pf-pitem-li group">
  100. <span class="pf-pitem-lit">仓房:</span>
  101. <span class="pf-pitem-lic">
  102. <input class="easyui-combobox houseId" id="keeper-houseId" data-options="width:'140px',height:'20px'" name="houseId" required="true" editable="false"></span>
  103. </span>
  104. </div>
  105. <div class="keeper-info">
  106. <div class="keeper-info-left">
  107. <span class="pf-ptitle">学历学位情况</span><span class="add-row-li degree-add-span"></span>
  108. <ul class="pf-degree">
  109. <li class="pf-degree-li">
  110. <span class="pf-degree-item">
  111. <span class="keeper-info-subtitle" >教育形式:</span>
  112. <select class="easyui-combobox degree-type" class="temp-class" required="true" editable="false" panelHeight=60 data-options="width:'85px'">
  113. <option value="0">全日制教育</option>
  114. <option value="1">在职教育</option>
  115. </select>
  116. </span>
  117. <span class="pf-degree-item">
  118. <span class="keeper-info-subtitle">毕业院校:</span>
  119. <input class="easyui-textbox degree-college">
  120. </span>
  121. <span class="pf-degree-item">
  122. <span class="keeper-info-subtitle">专业:</span>
  123. <input class="easyui-textbox degree-department">
  124. </span>
  125. <span class="pf-degree-item">
  126. <span class="keeper-info-subtitle">学位:</span>
  127. <input class="easyui-textbox degree-degree">
  128. </span>
  129. <span class="pf-degree-item">
  130. <span class="keeper-info-subtitle">学历:</span>
  131. <select class="easyui-combobox degree-education" required="true" editable="false" data-options="width:'85px'">
  132. <option value="0">初中</option>
  133. <option value="1">高中</option>
  134. <option value="2">中专</option>
  135. <option value="3">高职</option>
  136. <option value="4">专科</option>
  137. <option value="5">本科</option>
  138. <option value="6">硕士</option>
  139. <option value="7">博士</option>
  140. </select>
  141. </span>
  142. <input type="hidden" class="textbox-text dataId">
  143. <!-- <span class="pf-degree-item">
  144. 入党时间:
  145. <input class="easyui-datebox degree-partTime" editable="false">
  146. </span> -->
  147. </li>
  148. </ul>
  149. <span class="pf-ptitle">专业技术职称</span><span class="add-row-li major-add-span"></span>
  150. <ul class="pf-major" style="margin-left: 60px;">
  151. <li>
  152. <span class="pf-major-item">
  153. <span class="keeper-info-subtitle">专业:</span>
  154. <input class="easyui-textbox major-department">
  155. </span>
  156. <span class="pf-major-item">
  157. <span class="keeper-info-subtitle">级别:</span>
  158. <input class="easyui-textbox major-rank">
  159. </span>
  160. <span class="pf-major-item">
  161. <span class="keeper-info-subtitle">颁证机构:</span>
  162. <input class="easyui-textbox major-issueFacility">
  163. </span>
  164. <span class="pf-major-item">
  165. <span class="keeper-info-subtitle">颁证年月:</span>
  166. <input class="easyui-datebox major-issueTime" editable="false">
  167. </span>
  168. <input type="hidden" class="textbox-text dataId">
  169. </li>
  170. </ul>
  171. <span class="pf-ptitle">职业资格及等级</span><span class="add-row-li ab-add-span"></span>
  172. <ul class="pf-ab" style="margin-left: 60px;" >
  173. <li>
  174. <span class="pf-ab-item">
  175. <span class="keeper-info-subtitle">职业:</span>
  176. <select class="easyui-combobox ab-department" editable="false" required="true" data-options="width:'85px'" panelHeight=60>
  177. <option value="粮油保管员">粮油保管员</option>
  178. <option value="粮油质检员">粮油质检员</option>
  179. </select>
  180. </span>
  181. <span class="pf-ab-item">
  182. <span class="keeper-info-subtitle">等级:</span>
  183. <select class="easyui-combobox ab-rank" editable="false" required="true" panelHeight=150 data-options="width:'85px'">
  184. <option value="1">一级,高级技师</option>
  185. <option value="2">二级,技师</option>
  186. <option value="3">三级,高级</option>
  187. <option value="4">四级,中级</option>
  188. <option value="5">五级,初级</option>
  189. </select>
  190. </span>
  191. <span class="pf-ab-item">
  192. <span class="keeper-info-subtitle">颁证机构:</span>
  193. <input class="easyui-textbox ab-issueFacility">
  194. </span>
  195. <span class="pf-ab-item">
  196. <span class="keeper-info-subtitle">颁证年月:</span>
  197. <input class="easyui-datebox ab-issueTime" editable="false" data-options="width:'85px'">
  198. </span>
  199. <input type="hidden" class="textbox-text dataId">
  200. </li>
  201. </ul>
  202. <span class="pf-ptitle">上岗证</span>
  203. <div class="pf-no">
  204. <span class="pf-no-item">
  205. <span class="keeper-info-subtitle">专业:</span>
  206. <input class="easyui-textbox" name="workMajor">
  207. </span>
  208. <span class="pf-no-item">
  209. <span class="keeper-info-subtitle">颁证机构:</span>
  210. <input class="easyui-textbox storemanInfo-workIssueFacility" style="width: 112px;" name="workIssueFacility" editable="false">
  211. </span>
  212. <span class="pf-no-item">
  213. <span class="keeper-info-subtitle">颁证年月:</span>
  214. <input class="easyui-datebox" name="workIssueTime" editable="false">
  215. </span>
  216. </div>
  217. </div>
  218. <!--upload start-->
  219. <div class="keeper-info-right">
  220. <div class="pic" id="userpic"></div>
  221. <div class="upload-btn">
  222. <input class="upload" id="keeper-upload-file" name="file" type="file" >
  223. <input type="hidden" name="avator" id="avator" />
  224. <span class="uploading-bar" id="uploading-bar"></span>
  225. </div>
  226. <div class="upload-userinfo" id="upload-userinfo"></div>
  227. </div>
  228. <!--upload end-->
  229. </div>
  230. <a href="javascript:;" class="easyui-linkbutton bd-add-s bgy-do-add" plain="true" style="margin-top: 20px;">确定</a>
  231. <a href="javascript:;" class="easyui-linkbutton bd-add-s bgy-do-update" plain="true" style="margin-top: 20px;">确定</a>
  232. </form>
  233. </div>
  234. <style type="text/css">
  235. .pf-degree, .pf-no {
  236. margin-left: 60px;
  237. }
  238. .add-row-li {
  239. transform: translateY(25%);
  240. display: inline-block;
  241. position: relative;
  242. width: 18px;
  243. height: 18px;
  244. margin-left: 10px;
  245. /*background-color: #ccc;*/
  246. border-radius: 50%;
  247. border: 1px solid #999;
  248. cursor: pointer;
  249. }
  250. .add-row-li:before {
  251. content: "";
  252. position: absolute;
  253. width: 14px;
  254. height: 2px;
  255. top: 50%;
  256. left: 50%;
  257. transform: translate(-50%,-50%);
  258. background-color: #999;
  259. cursor: pointer;
  260. }
  261. .add-row-li:after {
  262. content: "";
  263. position: absolute;
  264. width: 2px;
  265. height: 14px;
  266. top: 50%;
  267. left: 50%;
  268. -webkit-transform: translate(-50%,-50%);
  269. -moz-transform: translate(-50%,-50%);
  270. -ms-transform: translate(-50%,-50%);
  271. -o-transform: translate(-50%,-50%);
  272. transform: translate(-50%,-50%);
  273. background-color: #999;
  274. cursor: pointer;
  275. }
  276. .delete-data {
  277. display: inline-block;
  278. position: relative;
  279. width: 20px;
  280. height: 20px;
  281. background-color: #e82525;
  282. border-radius: 50%;
  283. vertical-align: middle;
  284. cursor: pointer;
  285. }
  286. .delete-data-icon {
  287. position: absolute;
  288. top: 50%;
  289. left: 50%;
  290. -webkit-transform: translate(-50%,-50%);
  291. -moz-transform: translate(-50%,-50%);
  292. -ms-transform: translate(-50%,-50%);
  293. -o-transform: translate(-50%,-50%);
  294. transform: translate(-50%,-50%);
  295. width: 16px;
  296. height: 4px;
  297. background-color: #fff;
  298. cursor: pointer;
  299. }
  300. .pf-ptitle {
  301. font-size: 14px;
  302. font-weight: 600;
  303. line-height: 25px;
  304. }
  305. .pf-pitem, .pf-degree, .pf-major, .pf-ab, .pf-no {
  306. margin-bottom: 10px;
  307. }
  308. .keeper-info {
  309. width: 100%;
  310. float: left;
  311. }
  312. .keeper-info-left {
  313. width: 76%;
  314. float: left;
  315. }
  316. .keeper-info-left input,.keeper-info-left select {
  317. width: 80px;
  318. }
  319. .keeper-info-right {
  320. width: 24%;
  321. float: left;
  322. margin-top: 31px;
  323. }
  324. .keeper-info-right .pic {
  325. border: 1px solid #CCC;
  326. float: left;
  327. height: 200px;
  328. width: 95%;
  329. background: #ccc;
  330. text-align: center;
  331. }
  332. .keeper-info-right img {
  333. width: auto;
  334. max-height: 198px;
  335. }
  336. #file {
  337. border-color: #ffa8a8;
  338. background-color: #F30000;
  339. color: #000;
  340. width: 100%;
  341. height: 20px;
  342. margin-top: 10px;
  343. }
  344. div.upload-btn {
  345. width: 100px;
  346. height: 40px;
  347. background: url("/img/upload2.png");
  348. overflow: hidden;
  349. }
  350. div.upload-btn input {
  351. display: block !important;
  352. width: 100px !important;
  353. height: 40px !important;
  354. opacity: 0 !important;
  355. overflow: hidden !important;
  356. }
  357. .keeper-info-subtitle {
  358. display: inline-block;
  359. width: 55px;
  360. text-align: right;
  361. }
  362. </style>
  363. <script>
  364. $.fn.datebox.defaults.formatter = function (date) {
  365. var y = date.getFullYear();
  366. var m = date.getMonth() + 1;
  367. var d = date.getDate();
  368. return y + '-' + (m < 10 ? '0' + m : m) + '-' + (d < 10 ? '0' + d : d);
  369. };
  370. $.fn.datebox.defaults.parser = function (s) {
  371. if (s) {
  372. var a = s.split('-');
  373. var d = new Date(parseInt(a[0]), parseInt(a[1]) - 1, parseInt(a[2]));
  374. return d;
  375. } else {
  376. return new Date();
  377. }
  378. };
  379. </script>