summaryDetail.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. <style type="text/css">
  2. .totalPrice{
  3. height: 50px;
  4. line-height: 50px;
  5. border-bottom: 1px solid #eeeeee;
  6. text-align: center;
  7. }
  8. .btnWrap{
  9. display: flex;
  10. justify-content: center;
  11. align-items: center;
  12. }
  13. .incidentsearch {
  14. width: 30% !important;
  15. margin-right: 16px
  16. }
  17. .iptSize {
  18. width: 60% !important;
  19. height: 28px !important;
  20. }
  21. .tree-control .tree-input {
  22. min-height: 28px !important
  23. }
  24. .searchBtnBox>.btn{
  25. margin: 0 8px 10px 0;
  26. }
  27. .header_item{
  28. font-size: 16px;
  29. color: #606367;
  30. padding: 8px 15px;
  31. }
  32. .header_item span{
  33. margin-right: 24px;
  34. }
  35. #importTplIpt {
  36. position: absolute;
  37. top: 0;
  38. right: 0;
  39. left: 0;
  40. bottom: 0;
  41. opacity: 0;
  42. }
  43. .mainDiv {
  44. /* background: red; */
  45. /* padding: 14px; */
  46. /* height: 50px; */
  47. overflow: hidden;
  48. /* zoom: 1; */
  49. }
  50. .mainDivLeft {
  51. /* display: inline-block; */
  52. border-radius: 8px;
  53. margin-right: 52%;
  54. border: 1px solid #eeeeee;
  55. }
  56. .mainDivRight {
  57. /* display: inline-block; */
  58. width: 48%;
  59. border-radius: 8px;
  60. float: right;
  61. border: 1px solid #eeeeee;
  62. }
  63. .mainDiv-head {
  64. height: 47px;
  65. line-height: 47px;
  66. background: #f5f5f5;
  67. font-size: 16px;
  68. color: #606367;
  69. border-radius: 8px 8px 0 0;
  70. padding-left: 10px;
  71. padding-right: 4px;
  72. }
  73. .mainDivLeft-span {
  74. border: 1px solid;
  75. /* padding: 15px 0px 15px 0px; */
  76. padding-left: 15px;
  77. padding-right: 15px;
  78. padding-top: 4px;
  79. padding-bottom: 4px;
  80. height: 28px;
  81. line-height: 28px;
  82. border-radius: 4px;
  83. margin-right: 10px;
  84. font-size: 14px;
  85. position: relative;
  86. }
  87. .mainDiv-head-right {
  88. float: right;
  89. height: 28px;
  90. }
  91. .mainDiv-head-right.hc {
  92. display: flex;
  93. justify-content: space-between;
  94. align-items: center;
  95. }
  96. .mainDiv-head-right .hc_left {
  97. flex: 1;
  98. }
  99. .mainDiv-head-right .hc_right {
  100. text-align: right;
  101. flex-shrink: 0;
  102. width: 100px;
  103. }
  104. .edit-left {
  105. display: inline-block;
  106. /* float: left; */
  107. margin-left: 10px;
  108. }
  109. .span-1 {
  110. border-color: #006bc0;
  111. color: #006bc0;
  112. }
  113. .span-2 {
  114. border: none;
  115. color: white;
  116. background-color: #2edbb8;
  117. }
  118. .span-3 {
  119. border: none;
  120. color: white;
  121. background-color: #006bc0;
  122. }
  123. .mainDiv-body {
  124. /* height: 500px; */
  125. border-radius: 8px;
  126. border: 1px solid #eeeeee;
  127. margin: 14px;
  128. overflow-y: auto;
  129. }
  130. .mainDiv-body-1 {
  131. height: 50px;
  132. line-height: 50px;
  133. font-size: 16px;
  134. color: #606367;
  135. padding: 0px 14px;
  136. border-bottom: 1px solid #eeeeee;
  137. }
  138. .mainDiv-body-2 {
  139. /* height: 70px; */
  140. line-height: 2;
  141. font-size: 14px;
  142. color: #606367;
  143. padding: 10px 30px;
  144. border-bottom: 1px solid #eeeeee;
  145. }
  146. /* .mainDiv-body-2:last-child {
  147. border-bottom: none;
  148. } */
  149. .fixHeight {
  150. /* height: 500px; */
  151. overflow: auto;
  152. }
  153. .mainDiv-body-3 {
  154. height: 50px;
  155. line-height: 50px;
  156. font-size: 14px;
  157. color: #606367;
  158. padding: 0px 30px;
  159. border-bottom: 1px solid #eeeeee;
  160. }
  161. .mainDiv-body-3:last-child {
  162. border-bottom: none;
  163. }
  164. .mainDiv-body-img {
  165. height: 90px;
  166. border-radius: 4px;
  167. margin: 14px;
  168. margin-bottom: 0px;
  169. overflow: hidden;
  170. }
  171. .mainDiv-body-noList {
  172. height: 110px;
  173. margin: 50px 0;
  174. text-align: center;
  175. }
  176. .form-control {
  177. display: inline-block;
  178. }
  179. .mainDivLeft-span-1 {
  180. border: 1px solid;
  181. padding-left: 15px;
  182. padding-right: 15px;
  183. /* padding-top: 4px; */
  184. /* padding-bottom: 4px; */
  185. height: 28px;
  186. line-height: 28px;
  187. border-radius: 4px;
  188. margin-right: 10px;
  189. font-size: 14px;
  190. display: inline-block;
  191. }
  192. .mainDivLeft-span-2 {
  193. border: 1px solid;
  194. padding-left: 15px;
  195. padding-right: 15px;
  196. /* padding-top: 4px; */
  197. /* padding-bottom: 4px; */
  198. height: 28px;
  199. line-height: 28px;
  200. border-radius: 4px;
  201. margin-right: 10px;
  202. font-size: 14px;
  203. display: inline-block;
  204. }
  205. .mainDivLeft-span-edit-1 {
  206. border: 1px solid;
  207. padding-left: 8px;
  208. padding-right: 8px;
  209. /* padding-top: 4px; */
  210. /* padding-bottom: 4px; */
  211. height: 22px;
  212. line-height: 22px;
  213. border-radius: 2px;
  214. margin-right: 10px;
  215. font-size: 12px;
  216. display: inline-block;
  217. }
  218. .mainDivLeft-span-edit-2 {
  219. border: 1px solid;
  220. padding-left: 8px;
  221. padding-right: 8px;
  222. /* padding-top: 4px; */
  223. /* padding-bottom: 4px; */
  224. height: 22px;
  225. line-height: 22px;
  226. border-radius: 2px;
  227. margin-right: 10px;
  228. font-size: 12px;
  229. display: inline-block;
  230. }
  231. </style>
  232. <div ng-controller="summaryDetailCtrl">
  233. <section id="page-title">
  234. <div class="row">
  235. <div class="col-sm-8">
  236. <h1 class="mainTitle">维修汇总单详情<i tooltip='维修汇总单详情' tooltip-placement="right"
  237. class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i></h1>
  238. </div>
  239. </div>
  240. </section>
  241. <div class="schuback" id="searchid">
  242. <div class="row " style="padding-right: 0px !important;">
  243. <div class="col-xs-12">
  244. <div class="header_item">
  245. <span>事件单号:{{ incidentDTO.incidentsign }}</span>
  246. <span>报修科室:{{ incidentDTO.department ? incidentDTO.department.dept : '' }}</span>
  247. <span>登记时间:{{ transferTime(incidentDTO.acceptDate) }}</span>
  248. <span>处理人/组:{{ incidentDTO.groupORHandlerUser }}</span>
  249. </div>
  250. <div class="header_item">
  251. <span>故障描述:{{ incidentDTO.description }}</span>
  252. </div>
  253. </div>
  254. </div>
  255. </div>
  256. <div class="tableList">
  257. <div class="tableList_wrap">
  258. <div class="mainDiv">
  259. <!-- 谁固定谁在前 -->
  260. <div class="mainDivRight">
  261. <div class="mainDiv-head">
  262. <i style="font-size: 18px !important;" class="icon iconfont icon-quyu bluefont"></i>
  263. <span>工时清单</span>
  264. <div class="mainDiv-head-right"></div>
  265. </div>
  266. <div class="mainDiv-body fixHeight">
  267. <div class="mainDiv-body-2" style="cursor: pointer;" ng-repeat="workHourManagement in workHourManagementList">
  268. <div>
  269. <span>工时名称:{{workHourManagement.workName}}</span>
  270. <div class="mainDiv-head-right">
  271. <span>单价:<strong>{{workHourManagement.wage}}元</strong></span>
  272. </div>
  273. </div>
  274. <div>
  275. <span>&emsp;</span>
  276. <div class="mainDiv-head-right hc">
  277. <strong class="hc_left">x{{workHourManagement.workHourNum2}}<span v-if="workHourManagement.workUnit">({{workHourManagement.workUnit}})</span></strong><strong class="hc_right">总价:{{workHourManagement.wage * workHourManagement.workHourNum2}}元</strong>
  278. </div>
  279. </div>
  280. </div>
  281. <div class="totalPrice">总价:{{totalPriceWorkHourManagement}}元</div>
  282. </div>
  283. </div>
  284. <div class="mainDivLeft">
  285. <div class="mainDiv-head">
  286. <i style="font-size: 18px !important;" class="icon iconfont icon-quyu bluefont"></i>
  287. <span style="cursor: pointer;" ng-click="clear()">耗材清单</span>
  288. <div class="mainDiv-head-right"></div>
  289. </div>
  290. <div class="mainDiv-body">
  291. <div class="mainDiv-body-2" style="cursor: pointer;" ng-repeat="consumable in consumableList">
  292. <div>
  293. <div>
  294. <span>耗材名称:{{consumable.consumableName}}{{consumable.consumableBrandModel}}</span>
  295. <div class="mainDiv-head-right">
  296. <span>单价:<strong>{{consumable.consumableEndPrice}}元</strong></span>
  297. <div class="btn btn_search" style="margin-top: 0;margin-left: 8px;" ng-click="removeHc(consumable)"><span>撤销</span></div>
  298. </div>
  299. </div>
  300. <div>
  301. <span>&emsp;</span>
  302. <div class="mainDiv-head-right hc">
  303. <strong class="hc_left">x{{consumable.consumablesNum}}</strong><strong class="hc_right">总价:{{consumable.consumableEndPrice * consumable.consumablesNum}}元</strong>
  304. </div>
  305. </div>
  306. </div>
  307. </div>
  308. <div class="totalPrice">总价:{{totalPriceConsumable}}元</div>
  309. </div>
  310. </div>
  311. </div>
  312. <div class="totalPrice">汇总单总价:{{ totalMaintenancePrice }}元</div>
  313. <div class="btnWrap">
  314. <div class="btn btn_search" ng-click="goToIncident()"><span>查看事件</span></div>
  315. <div class="btn btn_search" style="margin-left: 8px;" ng-click="goToList()"><span>返回列表</span></div>
  316. </div>
  317. </div>
  318. </div>
  319. </div>