list.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. <style>
  2. .tab_bdItem_tab li {
  3. margin-right: 24px;
  4. height: 34px;
  5. line-height: 34px;
  6. cursor: pointer;
  7. }
  8. .tab_bdItem_tabItem.active {
  9. color: #005395;
  10. }
  11. .tab_bdItem_tabItem {
  12. font-size: 14px;
  13. color: #ddd;
  14. cursor: pointer;
  15. }
  16. .listbote .flleft {
  17. float: left;
  18. margin-top: 10px;
  19. }
  20. .listbote .flleft span {
  21. font-size: 14px;
  22. font-weight: bold
  23. }
  24. /* 下拉框样式 */
  25. .listbote .flleft select {
  26. margin-top: 7px;
  27. width: 254px;
  28. height: 32px;
  29. background: url("assets/images/jiang/arrow.png") no-repeat right 5px top 11px;
  30. background-color: white
  31. }
  32. /* 导出 */
  33. .listbote .export {
  34. float: right;
  35. width: 60px;
  36. height: 34px;
  37. border: 1px #005359 solid;
  38. background-color: #e6eef4 !important;
  39. color: #005359;
  40. margin-right: 30px;
  41. margin-top: 34px;
  42. border-radius: 2px;
  43. padding: 0 6px
  44. }
  45. .listbote .export:hover {
  46. color: #79a3c4;
  47. border: 1px #79a3c4 solid
  48. }
  49. /* 刷新 */
  50. .listbote .new_data {
  51. float: right;
  52. width: 60px;
  53. height: 34px;
  54. border: 1px #79a3c4 solid;
  55. background-color: #e6eef4 !important;
  56. color: #79a3c4;
  57. margin-right: 10px;
  58. margin-top: 34px;
  59. border-radius: 2px;
  60. padding: 0 6px
  61. }
  62. /* 编辑 */
  63. .big_back {
  64. position: fixed;
  65. left: 0;
  66. top: 0;
  67. width: 100%;
  68. height: 100%;
  69. z-index: 9999;
  70. background-color: rgba(0, 0, 0, 0.5)
  71. }
  72. .new {
  73. width: 340px;
  74. /* height: 600px; */
  75. /* margin-left: -170px;
  76. margin-top: -202px;
  77. position: absolute;
  78. left: 50%;
  79. top:50%; */
  80. z-index: 11;
  81. background-color: white;
  82. border-radius: 4px;
  83. transition-duration: 0.8s
  84. }
  85. .new_top {
  86. margin-left: -170px;
  87. position: fixed;
  88. left: 50%;
  89. top: -404px;
  90. }
  91. .new_after {
  92. position: absolute;
  93. left: 50%;
  94. top: 50%;
  95. transform: translate(-50%,-50%);
  96. display: flex;
  97. flex-direction: column;
  98. }
  99. /* 头部 */
  100. .new .head {
  101. text-align: center;
  102. height: 40px;
  103. line-height: 40px;
  104. border-bottom: 1px #d1d1d1 solid
  105. }
  106. /* 交叉 */
  107. .new .head .jiaocha {
  108. float: right;
  109. width: 14px;
  110. height: 14px;
  111. line-height: 12px;
  112. text-align: center;
  113. border: 1px #6e6e6e solid;
  114. border-radius: 50%;
  115. margin-right: 20px;
  116. margin-top: 15px;
  117. cursor: pointer;
  118. }
  119. /* 主体 */
  120. .new .body {
  121. overflow: auto;
  122. width: 298px;
  123. max-height: 400px;
  124. background-color: #f5f5f5;
  125. border: 1px #d1d1d1 solid;
  126. margin: 0 auto;
  127. border-radius: 2px;
  128. margin-top: 10px;
  129. flex:1;
  130. }
  131. .new .body::-webkit-scrollbar { /*滚动条整体样式*/
  132. width:3px;
  133. height:3px;
  134. }
  135. .new .body::-webkit-scrollbar-thumb { /*滚动条里面小方块样式*/
  136. border-radius:100px;
  137. box-shadow:inset 0 0 5px rgba(0,0,0,0.2);
  138. background:rgba(0,0,0,0.1);;
  139. }
  140. .new .body::-webkit-scrollbar-track { /*滚动条里面轨道样式*/
  141. box-shadow:inset 0 0 5px rgba(0,0,0,0.2);
  142. border-radius:0;
  143. background:rgba(0,0,0,0.1);
  144. }
  145. .new .body .xing {
  146. color: red;
  147. float: left;
  148. width: 20px;
  149. text-align: center;
  150. margin-top: 12px
  151. }
  152. .new .body .xing div {
  153. height: 70px;
  154. font-size: 16px
  155. }
  156. .new .body .rigt {
  157. float: left;
  158. margin-top: 12px
  159. }
  160. .new .body .rigt .div {
  161. height: 70px;
  162. }
  163. .new .body .rigt span {
  164. font-size: 13px;
  165. font-weight: bold
  166. }
  167. .new .body .rigt .xiala {
  168. margin-top: 4px;
  169. width: 258px !important;
  170. height: auto;
  171. background-color: #f5f5f5
  172. }
  173. .new .body .rigt .xialaipt {
  174. margin-top: 4px;
  175. width: 258px !important;
  176. height: 32px;
  177. }
  178. .new .body .rigt .price {
  179. margin-top: 4px;
  180. width: 100px !important;
  181. height: 32px;
  182. }
  183. .new .submi {
  184. text-align: center;
  185. }
  186. .new .submi input {
  187. margin-top: 10px;
  188. margin-bottom: 10px;
  189. width: 78px;
  190. height: 32px;
  191. border: none;
  192. }
  193. /* 保存 */
  194. .new .submi .preservation {
  195. background-color: #123f8f !important;
  196. color: white;
  197. border: 1px #123f8f solid
  198. }
  199. /* 取消 */
  200. .new .submi .cancel {
  201. background-color: #f2f2f2;
  202. color: #373737;
  203. border: 1px #d1d1d1 solid
  204. }
  205. .handlefont {
  206. color: #5496e3 !important
  207. }
  208. .selectzise {
  209. width: 200px !important
  210. }
  211. .inspectlistsearch {
  212. width: 30% !important;
  213. margin-right: 16px
  214. }
  215. .iptSize {
  216. width: 60% !important;
  217. height: 28px !important;
  218. }
  219. .tree-control .tree-input {
  220. min-height: 28px !important
  221. }
  222. .searchBtnBox{
  223. padding-top: 10px;
  224. }
  225. .searchBtnBox>.btn {
  226. margin: 0 8px 10px 0;
  227. }
  228. </style>
  229. <section id="page-title">
  230. <div class="row">
  231. <div class="col-sm-8">
  232. <h1 class="mainTitle">耗材列表<i tooltip='耗材列表,点击操作处理任务' tooltip-placement="right"
  233. class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i></h1>
  234. </div>
  235. </div>
  236. </section>
  237. <div class="bigbox" ng-controller="hc_consumablesCtrl">
  238. <div class="listbote" id="searchid">
  239. <div class="row" style="margin-left:0;padding-bottom: 5px;">
  240. <div class="col-xs-9">
  241. <!-- <div class="flleft">
  242. <span>耗材分类:</span><br>
  243. <ui-select class="pull-left selectzise" ng-model="select_val.search_data" theme="bootstrap">
  244. <ui-select-match placeholder="请选择耗材类型">
  245. {{select_val.search_data.name}}
  246. </ui-select-match>
  247. <ui-select-choices repeat="n in search_data">
  248. <div ng-bind-html="n.name"></div>
  249. </ui-select-choices>
  250. </ui-select>
  251. </div> -->
  252. <div class="form-group inspectlistsearch col-xs-12">
  253. <div class="pull-left" style="padding-top:8px;font-size:14px">耗材名称:</div>
  254. <ui-select class="pull-right iptSize" ng-model="select_val.search_data" theme="bootstrap">
  255. <ui-select-match>
  256. {{select_val.search_data.name}}
  257. </ui-select-match>
  258. <ui-select-choices repeat="n in search_data">
  259. <div ng-bind-html="n.name"></div>
  260. </ui-select-choices>
  261. </ui-select>
  262. </div>
  263. <!-- <div class="form-group inspectlistsearch ">
  264. <div class="pull-left" style="padding-top:8px;font-size:14px">耗材名称:</div>
  265. <input class="form-control pull-right inputcolor iptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="select_val.search_data.name" placeholder="" />
  266. </div> -->
  267. </div>
  268. <div class="col-xs-3 searchBtnBox">
  269. <!-- <div class="btn btn_other margin-top-20" ng-click="new_data()">刷新</div> -->
  270. <!-- <div class="btn btn_search" ng-click="searchData()">搜索</div> -->
  271. <div class="btn btn_search" ng-click="addData()"><span translate="list.button.CREATE">Add Data</span></div>
  272. <div type="button" class="btn btn_remove" ng-click="removeData()" ng-disabled="selected.items.length==0"><span translate="list.button.REMOVE">Remove First Row</span></div>
  273. <div class="btn btn_clean" ng-click="reset()">重置</div>
  274. <!-- <div class="btn btn_other" ng-click="hc_export()">导出</div> -->
  275. </div>
  276. </div>
  277. </div>
  278. <div class="tableList" ui-i18n="{{lang}} ">
  279. <div id="grid" ui-grid="gridOptions " ui-grid-pagination external-scopes="$scope " ui-grid-resize-columns ui-grid-selection
  280. ui-grid-auto-resize class="grid "></div>
  281. <!-- <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> -->
  282. </div>
  283. <!-- 编辑弹框 -->
  284. <div class="big_back" ng-if="hc_eject_big">
  285. <!-- <div class="new" ng-class="hc_toedit"> -->
  286. <div class="new new_after">
  287. <div class="head">
  288. <span>{{isAdds?'新增':'修改'}}耗材信息</span>
  289. <span class="jiaocha" ng-click="close()">×</span>
  290. </div>
  291. <div class="body">
  292. <div class="xing">
  293. <div>*</div>
  294. <div>*</div>
  295. <div>*</div>
  296. <div>*</div>
  297. <div>*</div>
  298. <div>*</div>
  299. <div ng-show="isWarehousing == 1">*</div>
  300. <div ng-show="isWarehousing == 1">*</div>
  301. </div>
  302. <form class="rigt">
  303. <div class="div">
  304. <span>耗材分类:</span><br>
  305. <ui-select class="pull-left selectzise xiala" ng-model="select_updata_name.updata_name"
  306. theme="bootstrap">
  307. <ui-select-match placeholder="{{hc_eject_name}}">
  308. {{select_updata_name.updata_name.name}}
  309. </ui-select-match>
  310. <ui-select-choices repeat="n in updata_name">
  311. <div ng-bind-html="n.name"></div>
  312. </ui-select-choices>
  313. </ui-select>
  314. </div>
  315. <!-- <div class="div">
  316. <span>耗材名称:</span><br>
  317. <input type="text" ng-model="hc_eject_title" class="xialaipt">
  318. </div> -->
  319. <div class="div">
  320. <span>品牌/型号:</span><br>
  321. <ui-select class="pull-left selectzise xiala" ng-model="select_updata_pinpai.updata_pinpai"
  322. theme="bootstrap">
  323. <ui-select-match placeholder="{{hc_eject_brandModel}}">
  324. {{select_updata_pinpai.updata_pinpai.name}}
  325. </ui-select-match>
  326. <ui-select-choices repeat="n in updata_pinpai">
  327. <div ng-bind-html="n.name"></div>
  328. </ui-select-choices>
  329. </ui-select>
  330. </div>
  331. <div class="div">
  332. <span>规格:</span><br>
  333. <ui-select class="pull-left selectzise xiala" ng-model="select_updata_guige.updata_guige"
  334. theme="bootstrap">
  335. <ui-select-match placeholder="{{hc_eject_specification}}">
  336. {{select_updata_guige.updata_guige.name}}
  337. </ui-select-match>
  338. <ui-select-choices repeat="n in updata_guige">
  339. <div ng-bind-html="n.name"></div>
  340. </ui-select-choices>
  341. </ui-select>
  342. </div>
  343. <div class="div">
  344. <span>供货公司:</span><br>
  345. <ui-select ng-click="refreshDat_company($select.search,companyIds)" class="pull-left selectzise xiala" ng-model="companyIds"
  346. theme="bootstrap" multiple reset-search-input="false" ng-change="changeCompany(companyIds)">
  347. <ui-select-match placeholder="请选择供货公司">
  348. {{$item.name}}
  349. </ui-select-match>
  350. <ui-select-choices repeat="n in updata_company" refresh="refreshDat_company($select.search)">
  351. <div ng-bind-html="n.name"></div>
  352. </ui-select-choices>
  353. </ui-select>
  354. </div>
  355. <div class="div">
  356. <span>费用区间:</span><br>
  357. <div>
  358. <input type="number" min="0" step="0.01" ng-model="startPrice" class="price" ng-change="changePrice(startPrice,'startPrice')">
  359. -
  360. <input type="number" min="0" step="0.01" ng-model="endPrice" class="price" ng-change="changePrice(endPrice,'endPrice')">
  361. </div>
  362. </div>
  363. <div class="div">
  364. <span>是否库存:</span><br>
  365. <ul class="tab_bdItem_tab">
  366. <li class="fl" ng-click="changeWarehousing(1)">
  367. <i class="tab_bdItem_tabItem iconfont icon-icon_weizuo" ng-class="isWarehousing== 1?'active':''"></i>
  368. <span>是</span>
  369. </li>
  370. <li class="fl" ng-click="changeWarehousing(0)">
  371. <i class="tab_bdItem_tabItem iconfont icon-icon_weizuo" ng-class="isWarehousing== 0?'active':''"></i>
  372. <span>否</span>
  373. </li>
  374. </ul>
  375. </div>
  376. <div class="div" ng-show="isWarehousing == 1">
  377. <span>入库总数量:</span><br>
  378. <input type="number" ng-model="hc_eject_inventorySum" class="xialaipt" ng-change="changePrice(hc_eject_inventorySum,'hc_eject_inventorySum')" step="1" min="0">
  379. </div>
  380. <div class="div" ng-show="isWarehousing == 1">
  381. <span>在库数量:</span><br>
  382. <input type="number" ng-model="hc_eject_inventoryNum" class="xialaipt" ng-change="changePrice(hc_eject_inventoryNum,'hc_eject_inventoryNum')" step="1" min="0">
  383. </div>
  384. </form>
  385. </div>
  386. <div class="submi ">
  387. <input type="button" value="保存" class="preservation btn" ng-click="preservation()">
  388. <input type="button" value="取消" class="cancel btn" ng-click="close()">
  389. </div>
  390. </div>
  391. </div>
  392. </div>