materialApplications2.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  1. <div title="" style="padding-bottom:30px;overflow:auto;overflow-x:hidden;" class="div-wrap-table">
  2. <div class="materialApprove-tool" style="margin-top: 0;">
  3. <div class="dt-nav">
  4. 申请时间:
  5. <select class="easyui-combobox yearTime3" name="yearTime" editable="false" data-options="width:120">
  6. <option value="">年</option>
  7. <option value="2016">2016</option>
  8. <option value="2017">2017</option>
  9. <option value="2018">2018</option>
  10. <option value="2019">2019</option>
  11. <option value="2020">2020</option>
  12. <option value="2021">2021</option>
  13. <option value="2022">2022</option>
  14. <option value="2023">2023</option>
  15. <option value="2024">2024</option>
  16. <option value="2025">2025</option>
  17. <option value="2026">2026</option>
  18. <option value="2027">2027</option>
  19. <option value="2028">2028</option>
  20. <option value="2029">2029</option>
  21. <option value="2030">2030</option>
  22. </select>
  23. <select class="easyui-combobox monthTime3" name="monthTime" editable="false" data-options="width:120">
  24. <option value="">月</option>
  25. <option value="1">1</option>
  26. <option value="2">2</option>
  27. <option value="3">3</option>
  28. <option value="4">4</option>
  29. <option value="5">5</option>
  30. <option value="6">6</option>
  31. <option value="7">7</option>
  32. <option value="8">8</option>
  33. <option value="9">9</option>
  34. <option value="10">10</option>
  35. <option value="11">11</option>
  36. <option value="12">12</option>
  37. </select> 仓库:
  38. <input class="easyui-combobox grain" style="width:140px" name="receiveInfo-grain" editable=true>&emsp; 审批状态:
  39. <select class="easyui-combobox status" name="status" editable="true" data-options="width:140">
  40. <option value=""></option>
  41. <option value="0">已保存</option>
  42. <option value="1">已提交</option>
  43. <option value="2">分公司审批通过</option>
  44. <option value="3">分公司审批未通过</option>
  45. <option value="4">本库一审通过</option>
  46. <option value="5">本库一审未通过</option>
  47. <option value="6">流程结束</option>
  48. <option value="7">本库二审未通过</option>
  49. </select>
  50. <!-- 物资类型:
  51. <input class="easyui-combobox device_kind" style="width:120px" name="receiveInfo-device_kind" editable=true>&emsp;
  52. 物资名称:
  53. <input class="easyui-combobox threedeviceName" style="width:120px" name="receiveInfo-newdeviceName" editable=true>-->
  54. <input type="hidden" id="role">
  55. <a href="#" class="easyui-linkbutton bd-add-s" style="height: 25px;" id="materialApprove-search">查询</a>
  56. <a href="#" class="easyui-linkbutton bd-add-s clear-btn3" plain="true">清空</a>
  57. <a href="#" class="easyui-linkbutton bd-add-s goodsApprove-add" style="height: 28px;display: none" id="deviceApprove-add">新增申请</a>
  58. </div>
  59. </div>
  60. <table id="materialApprove-info">
  61. </table>
  62. </div>
  63. <div class="main">
  64. <div id="purchasePlan-edit-info" style="padding: 20px">
  65. <form class="purchasePlan-detail-form-view">
  66. <input type="hidden" name="id">
  67. <div class="infr-pitem">
  68. <span class="basic-device-w-t">
  69. <span class="infr-pitem-lit infr-left-span">建议采购数量:</span>
  70. <span class="infr-pitem-lic"><input class="easyui-textbox easyui-validatebox planNumber" data-options="validType:'decimal[5]',required:true" name="planNumber"></span>
  71. </span><br/>
  72. <a href="#" class="easyui-linkbutton bd-add-s basic-device-edit-purchasePlan" plain="true" style=" margin-left: 160px;margin-top: 20px;">保存</a>
  73. </div>
  74. </form>
  75. </div>
  76. <!--待审批物资申请明细-->
  77. <div id="application-detail-info-view" style="padding: 20px">
  78. <form class="application-detail-form-view">
  79. <input id="id" type="hidden" name="id">
  80. <div class="infr-pitem">
  81. <span class="basic-device-w-t">
  82. <span class="infr-pitem-lit infr-left-span">仓号:</span>
  83. <span class="infr-pitem-lic"><input class="easyui-combobox houseName" data-options="required:true" name="houseName" editable="false" disabled="true"></span>
  84. </span>
  85. <span class="basic-device-w-t">
  86. <span class="infr-pitem-lit infr-left-span">申请时间:</span>
  87. <span class="infr-pitem-lic"><input class="easyui-datebox checkDate" data-options="required:true" name="checkDate" editable="false" disabled="true"></span>
  88. </span><br/>
  89. <span class="basic-device-w-t">
  90. <span class="infr-pitem-lit infr-left-span">申请物资:</span>
  91. <span class="infr-pitem-lic"><input class="easyui-combobox deviceNameView" data-options="required:true" name="deviceName" disabled="true"></span>
  92. </span>
  93. <span class="basic-device-w-t">
  94. <span class="infr-pitem-lit infr-left-span">申请数量:</span>
  95. <span class="infr-pitem-lic"><input class="easyui-textbox easyui-validatebox applicationNumber" data-options="validType:'decimal[5]',required:true" name="applicationNumber" disabled="true"></span>
  96. </span><br/>
  97. <a href="#" class="easyui-linkbutton bd-add-s application-pass" plain="true" style=" margin-left: 80px;margin-top: 20px;">通过</a>
  98. <a href="#" class="easyui-linkbutton bd-add-s application-turn" plain="true" style=" margin-left: 130px;margin-top: 20px;">驳回</a>
  99. </div>
  100. </form>
  101. </div>
  102. <!--通过和反驳物资申请明细-->
  103. <div id="application-detail-passdeny-view" style="padding: 20px">
  104. <form class="application-detail-passdeny-form">
  105. <input id="idd" type="hidden" name="id">
  106. <div class="infr-pitem">
  107. <span class="basic-device-w-t">
  108. <span class="infr-pitem-lit infr-left-span">仓号:</span>
  109. <span class="infr-pitem-lic"><input class="easyui-combobox houseName" data-options="required:true" name="houseName" editable="false" disabled="true"></span>
  110. </span>
  111. <span class="basic-device-w-t">
  112. <span class="infr-pitem-lit infr-left-span">申请时间:</span>
  113. <span class="infr-pitem-lic"><input class="easyui-datebox checkDate" data-options="required:true" name="checkDate" editable="false" disabled="true"></span>
  114. </span><br/>
  115. <span class="basic-device-w-t">
  116. <span class="infr-pitem-lit infr-left-span">申请物资:</span>
  117. <span class="infr-pitem-lic"><input class="easyui-combobox deviceNameView" data-options="required:true" name="deviceName" disabled="true"></span>
  118. </span>
  119. <span class="basic-device-w-t">
  120. <span class="infr-pitem-lit infr-left-span">申请数量:</span>
  121. <span class="infr-pitem-lic"><input class="easyui-textbox easyui-validatebox applicationNumber" data-options="validType:'decimal[5]',required:true" name="applicationNumber" disabled="true"></span>
  122. </span><br/>
  123. </div>
  124. </form>
  125. </div>
  126. <!--申请被驳回-->
  127. <div id="application-turn-info" style="padding: 20px">
  128. <form class="application-turn-form">
  129. <div class="infr-pitem">
  130. <span class="basic-device-w-t">
  131. <span class="infr-pitem-lit infr-left-span">驳回时间:</span>
  132. <span class="infr-pitem-lic"><input class="easyui-datebox denyDate" data-options="required:true" name="denyDate" editable="false"></span>
  133. </span><br/>
  134. <span class="basic-device-w-t">
  135. <span class="infr-pitem-lit infr-left-span">驳回原因:</span>
  136. <span class="infr-pitem-lic"><input class="easyui-textbox denyReason" style="width:300px;height:90px;" data-options="required:true,multiline:true" name="denyReason"></span>
  137. </span><br/>
  138. <a href="#" class="easyui-linkbutton bd-add-s basic-deviceturn-add-new" plain="true" style=" margin-left: 80px;margin-top: 20px;">确定</a>
  139. <a href="#" class="easyui-linkbutton bd-add-s basic-deviceturn-cancel" plain="true" style=" margin-left: 130px;margin-top: 20px;">取消</a>
  140. </div>
  141. </form>
  142. </div>
  143. <!--物资采购汇总表-->
  144. <div id="device-application-collection-view" style="padding: 20px">
  145. <div class="pf-pitem-li application-view-year" style="width: 100%;">
  146. <span class="pf-pitem-lit">年份:</span>
  147. <span class="pf-pitem-lic">
  148. <select class="easyui-combobox application-view-year-v" name="year" style="width: 80px;">
  149. <option value="2012">2012</option>
  150. <option value="2013">2013</option>
  151. <option value="2014">2014</option>
  152. <option value="2015">2015</option>
  153. <option value="2016">2016</option>
  154. <option value="2017">2017</option>
  155. <option value="2018">2018</option>
  156. <option value="2019">2019</option>
  157. <option value="2020">2020</option>
  158. <option value="2021">2021</option>
  159. <option value="2022">2022</option>
  160. <option value="2023">2023</option>
  161. <option value="2024">2024</option>
  162. <option value="2025">2025</option>
  163. <option value="2026">2026</option>
  164. <option value="2027">2027</option>
  165. <option value="2028">2028</option>
  166. <option value="2029">2029</option>
  167. <option value="2030">2030</option>
  168. </select>
  169. </span>
  170. </div>
  171. <table id="device-application-collection">
  172. </table>
  173. </div>
  174. <!--物资审批申请增加-->
  175. <div id="deviceApprove-device-add" class="deviceApprove-device-add " style="padding: 20px;overflow:auto;overflow-y: auto;overflow-x:hidden;">
  176. <form class="deviceApprove-form-add">
  177. <div class="keeper-info">
  178. <div class="keeper-info-left">
  179. <span class="pf-ptitle">物资信息</span><span class="add-row-li degree-add-span"></span>
  180. <ul class="pf-degree">
  181. <li class="pf-degree-li" id="add0">
  182. <input type="hidden" class="textbox-text Id">
  183. <span class="pf-degree-item">
  184. <span class="keeper-info-subtitle" >物资类型:</span>
  185. <input class="easyui-combobox degree-kind val" style="width: 120px" data-options="required:true" name="goodsKind" editable=true>
  186. </span>
  187. <span class="pf-degree-item">
  188. <span class="keeper-info-subtitle">物资名称:</span>
  189. <input class="easyui-combobox degree-name val" style="width: 120px" data-options="required:true" name="goodsName" editable=true>
  190. </span>
  191. <br>
  192. <span class="pf-degree-item">
  193. <span class="keeper-info-subtitle" >物资型号:</span>
  194. <input class="easyui-combobox degree-model" style="width: 120px" name="goodsModel" editable=true>
  195. </span>
  196. <span class="pf-degree-item">
  197. <span class="keeper-info-subtitle" >物资数量:</span>
  198. <input class="easyui-textbox degree-count val" style="width: 120px" data-options="required:true" name="goodsCount" editable=true>
  199. </select>
  200. </span>
  201. <input type="hidden" class="textbox-text dataId">
  202. </li>
  203. </ul>
  204. <span class="pf-pitem-lit">备注:</span>
  205. <span class="pf-pitem-lic">
  206. &nbsp;&nbsp;&nbsp;&nbsp;<input class="easyui-textbox easyui-validatebox remark" data-options="validType:'length[0,200]',width:'300px',height:'80px',multiline:true" name="remark">
  207. </span>
  208. </div>
  209. </div>
  210. <div style="text-align: center">
  211. <a href="javascript:;" class="easyui-linkbutton bd-add-s deviceApprove-add-btn" plain="true" style="margin-top: 20px;">保存</a>&nbsp;&nbsp;&nbsp;&nbsp;
  212. <a href="javascript:;" class="easyui-linkbutton bd-add-s deviceApprove-submit-btn" plain="true" style="margin-top: 20px;">提交</a><br/>
  213. </div>
  214. </form>
  215. </div>
  216. <!--物资审批物资修改-->
  217. <div id="goodsApprove-device-update" class="goodsApprove-device-update" style="padding: 20px;overflow:auto;overflow-y: auto;">
  218. <form class="goodsApprove-form-update">
  219. <input type="hidden" name="id">
  220. <span class="deviceIn-device-w-t deviceApprove-device-first">
  221. <span class="deviceIn-pitem-lit">物资类型:</span>
  222. <span class="deviceIn-pitem-lic"><input class="easyui-combobox ugoodsKind" data-options="required:true" name="goodsKind" editable=true></span>
  223. </span>
  224. <span class="deviceIn-device-w-t deviceApprove-device-first">
  225. <span class="deviceIn-pitem-lit">物资名称:</span>
  226. <span class="deviceIn-pitem-lic"><input class="easyui-combobox ugoodsName" data-options="required:true" name="goodsName" editable=true></span>
  227. </span>
  228. <span class="deviceIn-device-w-t deviceApprove-device-first">
  229. <span class="deviceIn-pitem-lit">物资型号:</span>
  230. <span class="deviceIn-pitem-lic"><input class="easyui-combobox ugoodsModel" name="goodsModel" editable=true></span>
  231. </span>
  232. <span class="deviceIn-device-w-t deviceApprove-device-first">
  233. <span class="deviceIn-pitem-lit">物资数量:</span>
  234. <span class="deviceIn-pitem-lic"><input class="easyui-textbox ugoodsCount" data-options="required:true" name="goodsCount" editable=true></span>
  235. </span>
  236. <div style="text-align: center">
  237. <a href="javascript:;" class="easyui-linkbutton bd-add-s goodsApprove-update-btn" plain="true" style="margin-top: 20px;">保存</a>&nbsp;&nbsp;&nbsp;&nbsp;
  238. <a href="javascript:;" class="easyui-linkbutton bd-add-s goodsApprove-chance-btn" plain="true" style="margin-top: 20px;">取消</a><br/>
  239. </div>
  240. </form>
  241. </div>
  242. <!--物资申请被驳回-->
  243. <div id="deviceApprove-device-back" class="deviceApprove-device-back " style="padding: 20px">
  244. <form class="application-back-form">
  245. <div class="infr-pitem">
  246. <span class="basic-device-w-t">
  247. <span class="infr-pitem-lit infr-left-span">驳回原因:</span>
  248. <span class="infr-pitem-lic"><input class="easyui-textbox backContent" style="width:300px;height:90px;" data-options="required:true,multiline:true" name="backContent"></span>
  249. </span><br/>
  250. <a href="#" class="easyui-linkbutton bd-add-s deviceApprove-device-back-new" plain="true" style=" margin-left: 80px;margin-top: 20px;">确定</a>
  251. <a href="#" class="easyui-linkbutton bd-add-s deviceApprove-device-back-cancel" plain="true" style=" margin-left: 130px;margin-top: 20px;">取消</a>
  252. </div>
  253. </form>
  254. </div>
  255. <!--查看驳回信息-->
  256. <div id="deviceApprove-device-backShow" class="deviceApprove-device-backShow " style="padding: 20px">
  257. <div class="infr-pitem">
  258. <span class="basic-device-w-t-first">
  259. <span class="infr-pitem-lit infr-left-span">审批人:</span>
  260. <span class="infr-pitem-lic"><input class="easyui-textbox backShowName" style="width: 120px" name="backName" editable=false></span>
  261. </span>
  262. <span class="basic-device-w-t">
  263. <span class="infr-pitem-lit infr-left-span">审批时间:</span>
  264. <span class="infr-pitem-lic"><input class="easyui-textbox backShowTime" style="width: 120px" name="backTime" editable=false></span>
  265. </span>
  266. <br/>
  267. <span class="basic-device-w-t">
  268. <span class="infr-pitem-lit infr-left-span">驳回原因:</span>
  269. <span class="infr-pitem-lic"><input class="easyui-textbox backShowContent" style="width:300px;height:90px;" data-options="multiline:true" name="backContent" editable=false></span>
  270. </span><br/>
  271. <!--
  272. <a href="#" class="easyui-linkbutton bd-add-s deviceApprove-device-back-new" plain="true" style=" margin-left: 80px;margin-top: 20px;">确定</a>
  273. -->
  274. <a href="#" class="easyui-linkbutton bd-add-s deviceApprove-device-backShow-cancel" plain="true" style=" margin-left: 130px;margin-top: 20px;">关闭</a>
  275. </div>
  276. </div>
  277. <!--申请物资的明细->
  278. <!--器材详细-->
  279. <div id="deviceApprove-device-view" class="deviceApprove-device-view" style="padding: 20px">
  280. <table id="deviceApprove-view" class="device-view-info">
  281. </table>
  282. </div>
  283. </div>
  284. <style type="text/css">
  285. /* .collection{
  286. margin-bottom: 100px;
  287. }*/
  288. .imgBox {
  289. width: 100%;
  290. height: 100%;
  291. overflow: hidden;
  292. position: relative;
  293. }
  294. .imgBox-a {
  295. position: absolute;
  296. content: "";
  297. top: 50%;
  298. width: 30px;
  299. height: 30px;
  300. background-color: transparent;
  301. -webkit-transform: translateY(-50%) rotate(-45deg);
  302. -moz-transform: translateY(-50%) rotate(-45deg);
  303. -ms-transform: translateY(-50%) rotate(-45deg);
  304. -o-transform: translateY(-50%) rotate(-45deg);
  305. transform: translateY(-50%) rotate(-45deg);
  306. cursor: pointer;
  307. }
  308. .first-a {
  309. left: 15px;
  310. border-top: 5px solid green;
  311. border-left: 5px solid green;
  312. }
  313. .last-a {
  314. right: 15px;
  315. border-right: 5px solid green;
  316. border-bottom: 5px solid green;
  317. }
  318. .imgBox-list {
  319. width: 1000%;
  320. height: 100%;
  321. transition: all 0.3s;
  322. }
  323. .imgBox img {
  324. width: 10%;
  325. height: 100%
  326. }
  327. .info-no {
  328. background: #f53939;
  329. color: #FFF
  330. }
  331. .info-yes {
  332. background: green;
  333. color: #FFf
  334. }
  335. #Supervise-massage {
  336. text-align: center;
  337. line-height: 110px;
  338. font-size: 16px;
  339. font-weight: bold;
  340. }
  341. .chkdate {
  342. margin-left: 130px;
  343. }
  344. /*动态添加样式*/
  345. .pf-degree,
  346. .pf-no {
  347. margin-left: 80px;
  348. }
  349. .pf-degree {
  350. max-height: 300px;
  351. overflow: auto;
  352. }
  353. .add-row-li {
  354. transform: translateY(25%);
  355. display: inline-block;
  356. position: relative;
  357. width: 18px;
  358. height: 18px;
  359. margin-left: 10px;
  360. background-color: #1A9856;
  361. border-radius: 50%;
  362. border: 1px solid #999;
  363. cursor: pointer;
  364. }
  365. .add-row-li:before {
  366. content: "";
  367. position: absolute;
  368. width: 14px;
  369. height: 2px;
  370. top: 50%;
  371. left: 50%;
  372. transform: translate(-50%, -50%);
  373. background-color: #999;
  374. cursor: pointer;
  375. }
  376. .add-row-li:after {
  377. content: "";
  378. position: absolute;
  379. width: 2px;
  380. height: 14px;
  381. top: 50%;
  382. left: 50%;
  383. -webkit-transform: translate(-50%, -50%);
  384. -moz-transform: translate(-50%, -50%);
  385. -ms-transform: translate(-50%, -50%);
  386. -o-transform: translate(-50%, -50%);
  387. transform: translate(-50%, -50%);
  388. background-color: #999;
  389. cursor: pointer;
  390. }
  391. .delete-data {
  392. display: inline-block;
  393. position: relative;
  394. width: 20px;
  395. height: 20px;
  396. background-color: #e82525;
  397. border-radius: 50%;
  398. vertical-align: middle;
  399. cursor: pointer;
  400. }
  401. .delete-data-icon {
  402. position: absolute;
  403. top: 50%;
  404. left: 50%;
  405. -webkit-transform: translate(-50%, -50%);
  406. -moz-transform: translate(-50%, -50%);
  407. -ms-transform: translate(-50%, -50%);
  408. -o-transform: translate(-50%, -50%);
  409. transform: translate(-50%, -50%);
  410. width: 16px;
  411. height: 4px;
  412. background-color: #fff;
  413. cursor: pointer;
  414. }
  415. .pf-ptitle {
  416. font-size: 14px;
  417. font-weight: 600;
  418. line-height: 25px;
  419. }
  420. .pf-pitem,
  421. .pf-degree,
  422. .pf-major,
  423. .pf-ab,
  424. .pf-no {
  425. margin-bottom: 10px;
  426. }
  427. .keeper-info {
  428. width: 100%;
  429. float: left;
  430. }
  431. .keeper-info-left {
  432. width: 76%;
  433. float: left;
  434. }
  435. .keeper-info-left input,
  436. .keeper-info-left select {
  437. width: 80px;
  438. }
  439. #my-tabs .tabs-header {
  440. display: none !important;
  441. }
  442. .hide {
  443. display: none !important;
  444. }
  445. .show {
  446. display: block !important;
  447. }
  448. </style>
  449. <script>
  450. // $(function() {
  451. // var num = localStorage.getItem('num') || 5
  452. // if (num == 4) {
  453. // $('#my-tabs').find('.panel').eq(0).addClass('show').siblings().removeClass('show')
  454. // } else if (num == 5) {
  455. // setTimeout(function() {
  456. // $('#my-tabs .tabs-panels').children().eq(1).css('display', 'block').siblings().css('display', 'none')
  457. // }, 1000)
  458. // } else if (num == 6) {
  459. // setTimeout(function() {
  460. // $('#my-tabs .tabs-panels').children().eq(2).css('display', 'block').siblings().css('display', 'none')
  461. // }, 1000)
  462. // }
  463. // })
  464. </script>