list.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. <style>
  2. .listbote .flleft {
  3. float: left;
  4. margin-top: 10px;
  5. }
  6. .listbote .flleft span {
  7. font-size: 14px;
  8. font-weight: bold
  9. }
  10. /* 下拉框样式 */
  11. .listbote .flleft select {
  12. margin-top: 7px;
  13. width: 254px;
  14. height: 32px;
  15. background: url("assets/images/jiang/arrow.png") no-repeat right 5px top 11px;
  16. background-color: white
  17. }
  18. /* 导出 */
  19. .listbote .export {
  20. float: right;
  21. width: 60px;
  22. height: 34px;
  23. border: 1px #005359 solid;
  24. background-color: #e6eef4 !important;
  25. color: #005359;
  26. margin-right: 30px;
  27. margin-top: 34px;
  28. border-radius: 2px;
  29. padding: 0 6px
  30. }
  31. .listbote .export:hover {
  32. color: #79a3c4;
  33. border: 1px #79a3c4 solid
  34. }
  35. /* 刷新 */
  36. .listbote .new_data {
  37. float: right;
  38. width: 60px;
  39. height: 34px;
  40. border: 1px #79a3c4 solid;
  41. background-color: #e6eef4 !important;
  42. color: #79a3c4;
  43. margin-right: 10px;
  44. margin-top: 34px;
  45. border-radius: 2px;
  46. padding: 0 6px
  47. }
  48. /* 编辑 */
  49. .big_back {
  50. position: fixed;
  51. left: 0;
  52. top: 0;
  53. width: 100%;
  54. height: 100%;
  55. z-index: 9999;
  56. background-color: rgba(0, 0, 0, 0.5)
  57. }
  58. .new {
  59. width: 340px;
  60. height: 404px;
  61. /* margin-left: -170px;
  62. margin-top: -202px;
  63. position: absolute;
  64. left: 50%;
  65. top:50%; */
  66. z-index: 11;
  67. background-color: white;
  68. border-radius: 4px;
  69. transition-duration: 0.8s
  70. }
  71. .new_top {
  72. margin-left: -170px;
  73. position: fixed;
  74. left: 50%;
  75. top: -404px;
  76. }
  77. .new_after {
  78. margin-left: -170px;
  79. margin-top: -202px;
  80. position: absolute;
  81. left: 50%;
  82. top: 50%;
  83. }
  84. /* 头部 */
  85. .new .head {
  86. text-align: center;
  87. height: 40px;
  88. line-height: 40px;
  89. border-bottom: 1px #d1d1d1 solid
  90. }
  91. /* 交叉 */
  92. .new .head .jiaocha {
  93. float: right;
  94. width: 14px;
  95. height: 14px;
  96. line-height: 12px;
  97. text-align: center;
  98. border: 1px #6e6e6e solid;
  99. border-radius: 50%;
  100. margin-right: 20px;
  101. margin-top: 15px;
  102. cursor: pointer;
  103. }
  104. /* 主体 */
  105. .new .body {
  106. width: 298px;
  107. height: 302px;
  108. background-color: #f5f5f5;
  109. border: 1px #d1d1d1 solid;
  110. margin: 0 auto;
  111. border-radius: 2px;
  112. margin-top: 10px
  113. }
  114. .new .body .xing {
  115. color: red;
  116. float: left;
  117. width: 20px;
  118. text-align: center;
  119. margin-top: 12px
  120. }
  121. .new .body .xing div {
  122. height: 70px;
  123. font-size: 16px
  124. }
  125. .new .body .rigt {
  126. float: left;
  127. margin-top: 12px
  128. }
  129. .new .body .rigt .div {
  130. height: 70px;
  131. }
  132. .new .body .rigt span {
  133. font-size: 13px;
  134. font-weight: bold
  135. }
  136. .new .body .rigt .xiala {
  137. margin-top: 4px;
  138. width: 258px !important;
  139. height: 32px;
  140. background-color: #f5f5f5
  141. }
  142. .new .body .rigt .xialaipt {
  143. margin-top: 4px;
  144. width: 258px !important;
  145. height: 32px;
  146. padding-left: 24px;
  147. }
  148. .new .submi {
  149. text-align: center;
  150. }
  151. .new .submi input {
  152. margin-top: 10px;
  153. width: 78px;
  154. height: 32px;
  155. border: 0;
  156. }
  157. /* 保存 */
  158. .new .submi .preservation {
  159. background-color: #123f8f !important;
  160. color: white;
  161. border: 1px #123f8f solid
  162. }
  163. /* 取消 */
  164. .new .submi .cancel {
  165. background-color: #f2f2f2;
  166. color: #373737;
  167. border: 1px #d1d1d1 solid
  168. }
  169. .handlefont {
  170. color: #5496e3 !important
  171. }
  172. .selectzise {
  173. width: 200px !important
  174. }
  175. .inspectlistsearch {
  176. width: 30% !important;
  177. margin-right: 16px
  178. }
  179. .iptSize {
  180. width: 60% !important;
  181. height: 28px !important;
  182. }
  183. .tree-control .tree-input {
  184. min-height: 28px !important
  185. }
  186. .searchBtnBox{
  187. padding-top: 10px;
  188. }
  189. .searchBtnBox>.btn {
  190. margin: 0 8px 10px 0;
  191. }
  192. </style>
  193. <div class="bigbox" ng-controller="hc_consumablesCtrl">
  194. <section id="page-title">
  195. <div class="row">
  196. <div class="col-sm-8">
  197. <h1 class="mainTitle">耗材列表<i tooltip='耗材列表,点击操作处理任务' tooltip-placement="right"
  198. class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i></h1>
  199. </div>
  200. </div>
  201. </section>
  202. <div class="listbote">
  203. <div class="row searchlistback" style="margin-left:0;padding-bottom: 5px;" id="searchid">
  204. <div class="col-xs-10">
  205. <!-- <div class="flleft">
  206. <span>耗材分类:</span><br>
  207. <ui-select class="pull-left selectzise" ng-model="select_val.search_data" theme="bootstrap">
  208. <ui-select-match placeholder="请选择耗材类型">
  209. {{select_val.search_data.name}}
  210. </ui-select-match>
  211. <ui-select-choices repeat="n in search_data">
  212. <div ng-bind-html="n.name"></div>
  213. </ui-select-choices>
  214. </ui-select>
  215. </div> -->
  216. <div class="form-group inspectlistsearch ">
  217. <div class="pull-left" style="padding-top:8px;font-size:14px">耗材分类:</div>
  218. <ui-select class="pull-right iptSize" ng-model="select_val.search_data" theme="bootstrap">
  219. <ui-select-match>
  220. {{select_val.search_data.name}}
  221. </ui-select-match>
  222. <ui-select-choices repeat="n in search_data">
  223. <div ng-bind-html="n.name"></div>
  224. </ui-select-choices>
  225. </ui-select>
  226. </div>
  227. </div>
  228. <div class="col-xs-2 searchBtnBox">
  229. <!-- <div class="btn btn_other margin-top-20" ng-click="new_data()">刷新</div> -->
  230. <div class="btn btn_clean" ng-click="reset()">重置</div>
  231. <div class="btn btn_other" ng-click="hc_export()">导出</div>
  232. </div>
  233. </div>
  234. <div class="tableList" ui-i18n="{{lang}} ">
  235. <div id="grid" ui-grid="gridOptions " ui-grid-pagination external-scopes="$scope " ui-grid-resize-columns
  236. ui-grid-auto-resize class="grid "></div>
  237. <!-- <div id="grid" ui-grid="gridOptions" ui-grid-pagination external-scopes="$scope" ui-grid-resize-columns ui-grid-pinning ui-grid-selection ui-grid-move-columns ui-grid-exporter ui-grid-auto-resize class="grid"></div> -->
  238. </div>
  239. </div>
  240. <!-- 编辑弹框 -->
  241. <div class="big_back" ng-show="hc_eject_big">
  242. <div class="new" ng-class="hc_toedit">
  243. <div class="head">
  244. <span>修改耗材信息</span>
  245. <span class="jiaocha" ng-click="close()">×</span>
  246. </div>
  247. <div class="body">
  248. <div class="xing">
  249. <div>*</div>
  250. <div>*</div>
  251. <div>*</div>
  252. <div>*</div>
  253. </div>
  254. <form class="rigt">
  255. <div class="div">
  256. <span>耗材名称:</span><br>
  257. <ui-select class="pull-left selectzise xiala" ng-model="select_updata_name.updata_name"
  258. theme="bootstrap">
  259. <ui-select-match placeholder="{{hc_eject_name}}">
  260. {{select_updata_name.updata_name.name}}
  261. </ui-select-match>
  262. <ui-select-choices repeat="n in updata_name">
  263. <div ng-bind-html="n.name"></div>
  264. </ui-select-choices>
  265. </ui-select>
  266. </div>
  267. <div class="div">
  268. <span>品牌/型号:</span><br>
  269. <ui-select class="pull-left selectzise xiala" ng-model="select_updata_pinpai.updata_pinpai"
  270. theme="bootstrap">
  271. <ui-select-match placeholder="{{hc_eject_brandModel}}">
  272. {{select_updata_pinpai.updata_pinpai.name}}
  273. </ui-select-match>
  274. <ui-select-choices repeat="n in updata_pinpai">
  275. <div ng-bind-html="n.name"></div>
  276. </ui-select-choices>
  277. </ui-select>
  278. </div>
  279. <div class="div">
  280. <span>规格:</span><br>
  281. <ui-select class="pull-left selectzise xiala" ng-model="select_updata_guige.updata_guige"
  282. theme="bootstrap">
  283. <ui-select-match placeholder="{{hc_eject_specification}}">
  284. {{select_updata_guige.updata_guige.name}}
  285. </ui-select-match>
  286. <ui-select-choices repeat="n in updata_guige">
  287. <div ng-bind-html="n.name"></div>
  288. </ui-select-choices>
  289. </ui-select>
  290. </div>
  291. <div class="div">
  292. <span>在库数量:</span><br>
  293. <input type="text" ng-model="hc_eject_inventoryNum" class="xialaipt">
  294. </div>
  295. </form>
  296. </div>
  297. <div class="submi ">
  298. <input type="button" value="保存" class="preservation btn" ng-click="preservation()"
  299. ng-disabled="hc_eject_name==''||hc_eject_brandModel==''||hc_eject_specification==''||hc_eject_inventoryNum==''">
  300. <input type="button" value="取消" class="cancel btn" ng-click="close()">
  301. </div>
  302. </div>
  303. </div>
  304. </div>