myRequest.html 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. <style>
  2. .condition .more.open {
  3. margin-top: 10px;
  4. height: 36px;
  5. opacity: 1;
  6. }
  7. .condition .more .form-group {
  8. margin-bottom: 10px;
  9. }
  10. .order-table .header>th {
  11. height: 38px;
  12. text-align: center;
  13. background: #f5f5f5;
  14. border-top: 1px solid #e8e8e8;
  15. border-bottom: 1px solid #e8e8e8;
  16. }
  17. .order-table .sep-row {
  18. height: 10px;
  19. }
  20. .order-table .selector {
  21. vertical-align: middle;
  22. margin: 0 0 2px 0;
  23. }
  24. .toolbar label {
  25. margin-right: 10px;
  26. margin-bottom: 0;
  27. }
  28. .toolbar .select_all {
  29. margin: 0 6px 0 10px;
  30. line-height: 20px;
  31. }
  32. .toolbar .btn {
  33. -moz-border-radius: 2px;
  34. margin-right: 5px;
  35. border: 1px solid #dcdcdc;
  36. border-radius: 2px;
  37. -webkit-border-radius: 2px;
  38. }
  39. .order-table .order-hd {
  40. background: #fff;
  41. height: 50px;
  42. line-height: 50px;
  43. }
  44. .order-table .order-hd td.first {
  45. padding-left: 20px;
  46. }
  47. .order-table .order-hd .order-main span {
  48. margin-right: 8px;
  49. }
  50. .order-table .order-hd .order-code {
  51. font-style: normal;
  52. font-family: verdana;
  53. }
  54. .order-table .order-hd .order-sum {
  55. padding: 0 5px;
  56. }
  57. .order-table>tbody {
  58. border-bottom: 1px #e8e8e8 dotted;
  59. }
  60. .order-table>tbody:hover {
  61. border: #fff 1px solid;
  62. border-bottom: 20px solid #f5f5f5;
  63. }
  64. .order-table .operates {
  65. display: none;
  66. }
  67. .order-table .operates i {
  68. padding: 0 2px;
  69. }
  70. .order-table>tbody:hover .operates {
  71. display: block;
  72. }
  73. .order-table>tbody:hover .operates-status {
  74. display: none;
  75. }
  76. .order-table .order-bd {
  77. border-bottom: 1px solid #e6e6e6;
  78. }
  79. .order-table .order-bd>td {
  80. padding: 10px 5px;
  81. vertical-align: top;
  82. position: relative;
  83. }
  84. .order-table .order-bd .product {
  85. padding-left: 20px;
  86. }
  87. .order-table .order-bd .order-number {
  88. position: absolute;
  89. top: -1px;
  90. left: -1px;
  91. width: 20px;
  92. height: 20px;
  93. line-height: 20px;
  94. text-align: center;
  95. background: #f5f5f5;
  96. font-weight: 500;
  97. border: solid 1px #d5d5d5;
  98. border-radius: 0 0 10px 0;
  99. }
  100. .order-table .order-bd .order-number.key {
  101. background: #56a022;
  102. color: #ffffff;
  103. }
  104. .unPrinted {
  105. color: #56a022;
  106. }
  107. .info-container .info:hover {
  108. color: #CC3333;
  109. }
  110. .white{
  111. color: #fff;
  112. }
  113. /*增加样式*/
  114. .view-slide-in {
  115. /*margin-top: 20px;*/
  116. }
  117. .view-slide-in .block {
  118. background: #f5f5f5;
  119. }
  120. .view-slide-in .group-container {
  121. background: #fff;
  122. margin-bottom: 10px;
  123. }
  124. .view-slide-in .group-container .btn-group {
  125. width: 160px;
  126. border: none;
  127. height: 45px;
  128. }
  129. .view-slide-in .group-container .btn-group .btn {
  130. color: #000;
  131. }
  132. .view-slide-in .group-container .btn-group .btn-info {
  133. color: #d32526;
  134. background: #fff;
  135. border: none;
  136. }
  137. .view-slide-in .group-container .btn-group .btn {
  138. border: none;
  139. font-size: 16px;
  140. font-family: "Microsoft YaHei", "微软雅黑";
  141. }
  142. .view-slide-in .group-container .btn-group .btn em {
  143. color: #d32526;
  144. font-style: inherit;
  145. }
  146. .view-slide-in .group-container .btn-group .btn:hover {
  147. background: #fff;
  148. color: #d32526;
  149. }
  150. .view-slide-in .group-container {
  151. padding: 0;
  152. }
  153. .view-slide-in .search-bg {
  154. margin-top: 15px;
  155. margin-bottom: 15px;
  156. }
  157. #topSearch {
  158. font-size: 18px;
  159. }
  160. .view-slide-in #topSearch .search-bg i {
  161. color: #999;
  162. margin-left: 10px;
  163. }
  164. .form-group-sm .form-control-feedback {
  165. width: 85px;
  166. height: 36px;
  167. line-height: 36px;
  168. color: #fff;
  169. background: #327ebe;
  170. text-align: center;
  171. font-size: 14px;
  172. cursor: pointer;
  173. }
  174. #topSearch .input-sm, .form-group-sm .form-control {
  175. height: 36px;
  176. line-height: 36px;
  177. border: #327ebe 1px solid;
  178. border-radius: 0px;
  179. font-size: 14px;
  180. }
  181. .search-bg .col-xs-6,.search-bg .row {
  182. padding-right: 0;
  183. }
  184. .order-table .company-list,.order-table .order-hd:first-child {
  185. background: #fff;
  186. font-size: 16px;
  187. height: 55px;
  188. line-height: 55px;
  189. border-bottom: #ddd 1px solid;
  190. }
  191. .order-table .company-list {
  192. width:100%;
  193. height: 190px;
  194. border-bottom: 20px solid #f5f5f5;
  195. }
  196. .order-table .order-hd span.margin-left20 {
  197. margin-left: 20px;
  198. }
  199. .order-table .product {
  200. line-height: 25px;
  201. font-size: 14px;
  202. }
  203. .order-table .product span {
  204. margin-right: 10px;
  205. }
  206. .grey01 {
  207. color: #969595;
  208. font-size: 14px;
  209. text-align: center;
  210. }
  211. .order-table .btn {
  212. border-radius: 0;
  213. width: 94px;
  214. height: 36px;
  215. color: #fff;
  216. }
  217. .order-table .btn01 {
  218. color: #327ebe;
  219. background: #fff;
  220. border: none;
  221. font-size: 16px;
  222. }
  223. .order-table .order-hd td.first {
  224. line-height: 25px;
  225. font-size: 14px;
  226. padding-top: 10px;
  227. padding-bottom: 10px;
  228. }
  229. .search-bg .input-group-addon{
  230. width: 85px;
  231. height: 36px;
  232. display: inline-block;
  233. background: #327ebe;
  234. font-size: 16px;
  235. text-align: center;
  236. line-height: 36px;
  237. color: #fff;
  238. padding: 0;
  239. border: none;
  240. border-radius: 0;
  241. position: absolute;
  242. top: 0;
  243. right: 0;
  244. }
  245. .search-bg .form-group{
  246. position: relative;
  247. }
  248. </style>
  249. <div class="block" style="margin-left: -240px; width: 1100px;">
  250. <div class="loading in" ng-class="{'in': loading}">
  251. <i></i>
  252. </div>
  253. <div ng-include src="'static/tpl/index/baseInfo/enMenu.html'"></div>
  254. <div class="group-container condition block" >
  255. <div class="row">
  256. <div class="col-xs-4">
  257. <div class="btn-group btn-group-sm btn-group-justified">
  258. <div class="btn-group btn-group-sm">
  259. <button type="button" class="btn btn-default btn-line"
  260. ng-class="{'btn-info':active=='all'}" ng-click="setActive('all')">全部</button>
  261. </div>
  262. <div class="btn-group btn-group-sm">
  263. <button type="button" class="btn btn-default btn-line"
  264. ng-class="{'btn-info':active=='todo'}" ng-click="setActive('todo')">待处理</button>
  265. </div>
  266. <div class="btn-group btn-group-sm">
  267. <button type="button" class="btn btn-default btn-line"
  268. ng-class="{'btn-info':active=='done'}" ng-click="setActive('done')">已通过</button>
  269. </div>
  270. <div class="btn-group btn-group-sm">
  271. <button type="button" class="btn btn-default btn-line"
  272. ng-class="{'btn-info':active=='end'}" ng-click="setActive('end')">未通过</button>
  273. </div>
  274. </div>
  275. </div>
  276. </div>
  277. </div>
  278. <div class="search-bg condition block">
  279. <div class="row">
  280. <div id="topSearch" style="float: left">
  281. <span class="text-muted"><i class="fa fa-search fa-lg"></i> 搜索"{{tip}}",为您找到结果:</span>
  282. 企业{{tableParams.total()}}家
  283. </div>
  284. <div class="col-xs-6" style="float: right">
  285. <div class="search">
  286. <div class="form-group form-group-sm has-feedback" dropdown auto-close="outsideClick" on-toggle="searchAdvance=open">
  287. <input type="search" class="form-control input-sm" ng-model="keyword" ng-search="onSearch()" placeholder="输入企业名称、简称或申请人搜索" />
  288. <a class="btn input-group-addon" ng-click="onSearch()">搜索</a>
  289. </div>
  290. </div>
  291. </div>
  292. </div>
  293. </div>
  294. <table class="order-table block" ng-table="tableParams">
  295. <tbody ng-repeat="request in $data" class="company-list">
  296. <tr class="order-hd" ng-dblclick="order.$collapsed=!order.$collapsed" ng-class="{'text-bold': order.display>0}">
  297. <td colspan="4"><span ng-bind="request.vendName" class="margin-left20"></span><img src="resources/img/logo/youruanrenzheng.png" id="logo" ng-if="enterprise.status == 313"></td>
  298. <td width="200" class="grey01" ng-if="request.statusCode==311 && request.method==1">等待处理</td>
  299. <td width="200" class="grey01" ng-if="request.statusCode==313">已通过</td>
  300. <td width="200" class="grey01"ng-if="request.statusCode==310 && request.method==1">未通过</td>
  301. <td width="200" class="grey01"ng-if="request.statusCode==310 && request.method==0">已拒绝</td>
  302. </tr>
  303. <tr class="order-hd" ng-dblclick="order.$collapsed=!order.$collapsed" ng-class="{'text-bold': order.display>0}">
  304. <td class="first" colspan="4">
  305. <div>营业执照:<span ng-bind="::request.vendUID"></span></div>
  306. <div>申请人:<span ng-bind="::request.custUserName"></span></div>
  307. <div>审核人:<span ng-bind="request.vendUserName"></span></div>
  308. <div>
  309. 原因:
  310. <input class="form-control" ng-model="request.reason" ng-if="request.statusCode==311 && request.method==0">
  311. <span ng-bind="request.reason" ng-if="request.statusCode!=311"></span>
  312. </div>
  313. <td width="200" class="text-center">
  314. <a class="btn label-success white" ng-click="addSupplier(request.vendUID)" ng-if="request.statusCode==313">添加供应商 </a><br/>
  315. &nbsp;&nbsp;<a class="btn label-danger white" ng-click="addCust(request.vendUID)" ng-if="request.statusCode==313">添加客户</a>
  316. <a class="btn label-success white" ng-click="agree(request.id)" ng-if="request.statusCode==311 && request.method==0">通过 </a>
  317. &nbsp;<a class="btn label-danger white" ng-click="refuse(request.id, request.reason)" ng-if="request.statusCode==311 && request.method==0">拒绝</a>
  318. <span class="btn01 btn label-info white" ng-if="request.statusCode==311 && request.method==1">等待处理</span>
  319. <span class="btn01 btn label-danger white" ng-if="request.statusCode==310 && request.method==1">对方已拒绝</span>
  320. <span class="btn label-danger white" ng-if="request.statusCode==310 && request.method==0">已拒绝对方</span>
  321. </td>
  322. </tr>
  323. </tbody>
  324. </table>
  325. </div>