myRequest.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  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 p{
  45. line-height: 26px;
  46. height: 26px;
  47. }
  48. .order-table .order-hd p.switch span:first-child{
  49. line-height: 26px;
  50. }
  51. .order-table .order-hd p.switch{
  52. padding-left: 10px;
  53. }
  54. .order-table .order-hd p.switch .checkbox{
  55. padding-top: 0;
  56. float: right;
  57. margin-right: 30px;
  58. }
  59. /*.order-table .order-hd td{
  60. padding-bottom: 10px;
  61. }*/
  62. .order-table .order-hd td.first {
  63. padding-left: 20px;
  64. }
  65. .order-table .order-hd .order-main span {
  66. margin-right: 8px;
  67. }
  68. .order-table .order-hd .order-code {
  69. font-style: normal;
  70. font-family: verdana;
  71. }
  72. .order-table .order-hd .order-sum {
  73. padding: 0 5px;
  74. }
  75. .order-table>tbody {
  76. border-bottom: 1px #e8e8e8 dotted;
  77. }
  78. .order-table>tbody:hover {
  79. border: #fff 1px solid;
  80. border-bottom: 20px solid #f5f5f5;
  81. }
  82. .order-table .operates {
  83. display: none;
  84. }
  85. .order-table .operates i {
  86. padding: 0 2px;
  87. }
  88. .order-table>tbody:hover .operates {
  89. display: block;
  90. }
  91. .order-table>tbody:hover .operates-status {
  92. display: none;
  93. }
  94. .order-table .order-bd {
  95. border-bottom: 1px solid #e6e6e6;
  96. }
  97. .order-table .order-bd>td {
  98. padding: 10px 5px;
  99. vertical-align: top;
  100. position: relative;
  101. }
  102. .order-table .order-bd .product {
  103. padding-left: 20px;
  104. }
  105. .order-table .order-bd .order-number {
  106. position: absolute;
  107. top: -1px;
  108. left: -1px;
  109. width: 20px;
  110. height: 20px;
  111. line-height: 20px;
  112. text-align: center;
  113. background: #f5f5f5;
  114. font-weight: 500;
  115. border: solid 1px #d5d5d5;
  116. border-radius: 0 0 10px 0;
  117. }
  118. .order-table .order-bd .order-number.key {
  119. background: #56a022;
  120. color: #ffffff;
  121. }
  122. .unPrinted {
  123. color: #56a022;
  124. }
  125. .info-container .info:hover {
  126. color: #CC3333;
  127. }
  128. .white{
  129. color: #fff;
  130. }
  131. /*增加样式*/
  132. .view-slide-in {
  133. /*margin-top: 20px;*/
  134. }
  135. .view-slide-in .block {
  136. background: #fff;
  137. }
  138. .view-slide-in .group-container {
  139. background: #fff;
  140. margin-bottom: 10px;
  141. }
  142. .view-slide-in .group-container .btn-group {
  143. width: 190px;
  144. border: none;
  145. height: 45px;
  146. }
  147. .view-slide-in .group-container .btn-group .btn {
  148. color: #000;
  149. }
  150. .view-slide-in .group-container .btn-group .btn-info {
  151. color: #d32526;
  152. background: #fff;
  153. border: none;
  154. }
  155. .view-slide-in .group-container .btn-group .btn {
  156. border: none;
  157. font-size: 16px;
  158. font-family: "Microsoft YaHei", "微软雅黑";
  159. }
  160. .view-slide-in .group-container .btn-group .btn em {
  161. color: #d32526;
  162. font-style: inherit;
  163. }
  164. .view-slide-in .group-container .btn-group .btn:hover {
  165. background: #fff;
  166. color: #d32526;
  167. }
  168. .view-slide-in .group-container {
  169. padding: 0;
  170. }
  171. .view-slide-in .search-bg {
  172. margin-top: 10px;
  173. margin-bottom: 15px;
  174. }
  175. #topSearch {
  176. font-size: 18px;
  177. }
  178. .view-slide-in #topSearch .search-bg i {
  179. color: #999;
  180. margin-left: 10px;
  181. }
  182. .form-group-sm .form-control-feedback {
  183. width: 85px;
  184. height: 36px;
  185. line-height: 36px;
  186. color: #fff;
  187. background: #3f84f6;
  188. text-align: center;
  189. font-size: 14px;
  190. cursor: pointer;
  191. }
  192. #topSearch .input-sm, .form-group-sm .form-control {
  193. height: 36px;
  194. line-height: 36px;
  195. border: #3f84f6 1px solid;
  196. border-radius: 0px;
  197. font-size: 14px;
  198. }
  199. .search-bg .col-xs-6,.search-bg .row {
  200. padding-right: 0;
  201. }
  202. .order-table .company-list,.order-table .order-hd:first-child {
  203. background: #fff;
  204. font-size: 16px;
  205. height: 40px;
  206. line-height: 40px;
  207. border-bottom: #ddd 1px solid;
  208. }
  209. .order-table .company-list {
  210. width:100%;
  211. height: 190px;
  212. border-bottom: 20px solid #f5f5f5;
  213. }
  214. .order-table .order-hd span.margin-left20 {
  215. margin-left: 35px;
  216. }
  217. .order-table .product {
  218. line-height: 25px;
  219. font-size: 14px;
  220. }
  221. .order-table .product span {
  222. margin-right: 10px;
  223. }
  224. .grey01 {
  225. color: #969595;
  226. font-size: 14px;
  227. text-align: center;
  228. }
  229. .order-table .btn {
  230. min-width: 80px;
  231. height: 24px;
  232. color: #fff;
  233. border-radius: 4px;
  234. padding: 0;
  235. line-height: 22px !important;
  236. margin-bottom: 2px;
  237. }
  238. .order-table .btn:hover{
  239. background: #5078cb;
  240. }
  241. .order-table .btn01 {
  242. color: #3f84f6;
  243. background: #fff;
  244. border: none;
  245. font-size: 16px;
  246. }
  247. .order-table .order-hd td.first {
  248. line-height: 25px;
  249. font-size: 14px;
  250. padding-top: 10px;
  251. padding-bottom: 10px;
  252. }
  253. .search-bg .input-group-addon{
  254. width: 85px;
  255. height: 36px;
  256. display: inline-block;
  257. background: #3f84f6;
  258. font-size: 16px;
  259. text-align: center;
  260. line-height: 36px;
  261. color: #fff;
  262. padding: 0;
  263. border: none;
  264. border-radius: 0;
  265. position: absolute;
  266. top: 0;
  267. right: 0;
  268. }
  269. .search-bg .form-group{
  270. position: relative;
  271. }
  272. .order-table>tbody{
  273. border-bottom: #f5f5f5 16px solid !important;
  274. /*border: #f5f5f5 16px solid !important;*/
  275. }
  276. .label-success {
  277. background: #27b6da;
  278. }
  279. .label-danger {
  280. background: #3f84f6;
  281. }
  282. .order-table .order-hd .text-center p{
  283. margin: 5px 0;
  284. }
  285. .new-dot{
  286. top: 15px;
  287. }
  288. .order-table .company-list, .order-table .order-hd:first-child{
  289. border-top:#e8e8e8 1px solid;
  290. }
  291. .order-table .first .row {
  292. margin-left: 0;
  293. line-height: 32px;
  294. }
  295. .order-table .company-list tr .first{
  296. border-bottom: #e8e8e8 1px solid;
  297. }
  298. .order-table>tbody{
  299. border-bottom: none !important;
  300. }
  301. .order-table>tbody .height16{
  302. height: 16px;
  303. border-left: #f5f5f5 2px solid;
  304. border-right: #f5f5f5 2px solid;
  305. }
  306. .order-table>tbody .height16 td{
  307. background: #f5f5f5;
  308. }
  309. .ng-table-pager{
  310. /*background: #f5f5f5;*/
  311. }
  312. </style>
  313. <div class="block" id="myquest-public">
  314. <div class="loading in" ng-class="{'in': loading}">
  315. <!--<i></i>-->
  316. <div class="wrap">
  317. <div class="outer"></div>
  318. </div>
  319. </div>
  320. <div ng-include src="'static/tpl/index/baseInfo/vendorAndCustomer.html'"></div>
  321. <div style="margin-top: -55px;">
  322. <div class="col-xs-6" style="float: left;"></div>
  323. <div class="form-input col-xs-6 myRequest search-bg">
  324. <div class="row">
  325. <div class="col-xs-9">
  326. <div class="search">
  327. <div class="form-group form-group-sm has-feedback" dropdown auto-close="outsideClick" on-toggle="searchAdvance=open">
  328. <input type="search" class="form-control input-sm" ng-model="keyword" ng-search="onSearch()" placeholder="输入企业名称等关键词进行搜索" />
  329. <a class="btn input-group-addon" ng-click="onSearch()">搜索</a>
  330. </div>
  331. </div>
  332. </div>
  333. <div class="col-xs-3" style="padding-left: 0;">
  334. <p>搜索到<em>{{tableParams.total()}}</em>条</p>
  335. </div>
  336. </div>
  337. </div>
  338. </div>
  339. <table class="order-table block" ng-table="tableParams">
  340. <tbody ng-repeat="request in $data" class="company-list">
  341. <tr class="order-hd" ng-dblclick="order.$collapsed=!order.$collapsed" ng-class="{'text-bold': order.display>0}">
  342. <td colspan="4" style="position: relative;"><span ng-bind="request.vendName" class="margin-left20"></span><b class="new-dot" ng-if="request.statusCode==311 && request.method==0"></b><img src="static/img/logo/youruanrenzheng.png" id="logo" ng-if="enterprise.status == 313"></td>
  343. <td width="140" class="text-center">
  344. </td>
  345. </tr>
  346. <tr class="height72 order-hd" ng-dblclick="order.$collapsed=!order.$collapsed" ng-class="{'text-bold': order.display>0}">
  347. <td class="first" colspan="4">
  348. <div class="row">
  349. <div class="col-md-3"><span class="text-muted">营业执照:</span><span ng-bind="::request.vendUID"></span></div>
  350. <div class="col-md-3"><span class="text-muted">法定代表人:</span><span ng-bind="::request.enterprise.enCorporation"></span></div>
  351. <div class="col-md-4"><span class="text-muted">企业UU:</span><span ng-bind="::request.enterprise.uu"></span></div>
  352. </div>
  353. <div class="row">
  354. <div class="col-md-3"><span class="text-muted">联系人:</span><span ng-bind="::request.contact.userName"></span></div>
  355. <div class="col-md-3"><span class="text-muted">联系电话:</span><span ng-bind="::request.contact.userTel"></span></div>
  356. <div class="col-md-4"><span class="text-muted">邮箱:</span><span ng-bind="::request.contact.userEmail"></span></div>
  357. </div>
  358. <div class="row">
  359. <div class="col-md-3"><span class="text-muted">行业:</span><span ng-bind="::request.enterprise.profession"></span></div>
  360. <div class="col-md-7"><span class="text-muted">经营范围:</span><span ng-bind="::request.enterprise.tags"></span></div>
  361. </div>
  362. <div class="row col-md-12"><span class="text-muted">企业地址:</span><span ng-bind="::request.enterprise.enAddress"></span></div>
  363. </td>
  364. <td class="text-center">
  365. <p ng-if="request.statusCode==313 && request.vendor != 1"><a class="btn label-success white" ng-click="addSupplier(request.vendUID)">添加供应商 </a></p>
  366. <p class="switch" ng-if="request.statusCode==313 && request.vendor == 1">
  367. <span style="float: left;">供应商</span>
  368. <span class="checkbox">
  369. <span class="off" ng-if="request.vendor == 1 && request.vendswitch == 1" ng-click="relieve(request.vendorId)" title="已启用"></span>
  370. <span class="" ng-if="request.vendor == 1 && request.vendswitch != 1" ng-click="activeVend(request.vendorId)" title="已禁用"></span>
  371. </span>
  372. </p>
  373. <p ng-if="request.statusCode==313 && request.servicer != 1"><a class="line24 btn label-success white" ng-click="addServicer(request.vendUID)">添加服务商</a></p>
  374. <p class="switch" ng-if="request.statusCode==313 && request.servicer == 1">
  375. <span style="float: left;">服务商</span>
  376. <span class="checkbox">
  377. <span class="off" ng-if="request.servicer == 1 && request.servicerswitch == 1" ng-click="relieveServicer(request.vendorId)" title="已启用"></span>
  378. <span class="" ng-if="request.servicer == 1 && request.servicerswitch != 1" ng-click="activeServicer(request.vendorId)" title="已禁用"></span>
  379. </span>
  380. </p>
  381. <p ng-if="request.statusCode==313 && request.customer != 1"><a class="line24 btn label-danger white" ng-click="addCust(request.vendUID)">添加客户</a></p>
  382. <p class="switch" ng-if="request.statusCode==313 && request.customer == 1">
  383. <span style="float: left;">客户</span>
  384. <span class="checkbox">
  385. <span class="off" ng-if="request.customer == 1 && request.custswitch == 1" ng-click="disableCust(request.custId)" title="已启用"></span>
  386. <span class="" ng-if="request.customer == 1 && request.custswitch != 1" ng-click="activeCust(request.custId)" title="已禁用"></span>
  387. </span>
  388. </p>
  389. </td>
  390. </tr>
  391. <tr class="height16">
  392. <td colspan="5"></td>
  393. </tr>
  394. </tbody>
  395. <tbody ng-if="tableParams.total() == 0" class="no-record-tab">
  396. <tr>
  397. <td colspan="5">
  398. <div id="empty">
  399. <div class="left_img">
  400. <a href="http://www.ubtob.com/" target="_blank" title="优软云首页"><img src="static/img/empty/uas_empty.png"></a>
  401. <a href="#/index" title="B2B商务首页">B2B 商务</a>
  402. </div>
  403. <div class="right_link">
  404. <p>暂无合作伙伴</p>
  405. </div>
  406. </div>
  407. </td>
  408. </tr>
  409. </tbody>
  410. </table>
  411. </div>