materialApplications.html 23 KB

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