pubinquiry_detail.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. <style>
  2. .detail{
  3. background: #fff;
  4. padding:30px 20px;
  5. }
  6. .detail .top{
  7. position:relative;
  8. margin-bottom:30px;
  9. }
  10. .detail .top h3{
  11. font-size: 20px;
  12. color:#54a9f0;
  13. text-align: center;
  14. margin:0;
  15. }
  16. .detail .top .top-right{
  17. position:absolute;
  18. top:3px;
  19. right:0;
  20. color:#999;
  21. }
  22. .detail .top .top-right span{
  23. font-size:14px;
  24. margin-left:10px;
  25. }
  26. .detail .top .top-right span em{
  27. font-style:normal;
  28. }
  29. .detail .middle{
  30. border-top:1px solid #e5e5e5;
  31. padding-top:40px;
  32. padding-bottom:40px;
  33. }
  34. .detail .middle ul li{
  35. width:33%;
  36. height:60px;
  37. vertical-align:top;
  38. }
  39. .detail .middle ul li span{
  40. display:inline-block;
  41. width:25%;
  42. color:#333;
  43. font-size: 14px;
  44. font-weight: bold;
  45. }
  46. .detail .middle ul li em{
  47. display:inline-block;
  48. width:75%;
  49. vertical-align: top;
  50. color:#999;
  51. font-size: 14px;
  52. font-style: normal;
  53. }
  54. .detail table{
  55. border:1px solid #dcdcdc;
  56. table-layout: fixed;
  57. }
  58. .detail table thead th{
  59. background: #ebf5fe;
  60. font-weight: bold;
  61. font-size: 14px;
  62. color:#333;
  63. padding-left:10px;
  64. }
  65. .detail table thead th:before{
  66. content:'';
  67. display:inline-block;
  68. position:relative;
  69. left:-11px;
  70. top:2px;
  71. width:1px;
  72. height:16px;
  73. border-left: 1px solid #dcdcdc;
  74. }
  75. .detail table tr td{
  76. padding-top:20px;
  77. padding-bottom:30px;
  78. word-break:break-all;
  79. }
  80. .detail table td a{
  81. font-size: 14px;
  82. color:#54a9f0;
  83. }
  84. .detail table td a:hover{
  85. text-decoration: underline;
  86. cursor:pointer;
  87. }
  88. .detail table td span{
  89. font-size: 14px;
  90. color:#999;
  91. }
  92. .detail table td .info{
  93. position:relative;
  94. }
  95. .detail table td .info span{
  96. color:#333;
  97. }
  98. .detail table td .info:hover >span{
  99. color:#54a9f0;
  100. cursor:pointer;
  101. }
  102. .detail table td .info:hover >i{
  103. color:#54a9f0;
  104. }
  105. .detail table td .info:hover .modal-content{
  106. display:block;
  107. }
  108. .detail table td .info .modal-content{
  109. display:none;
  110. position:absolute;
  111. top:100%;
  112. left:0;
  113. margin:0;
  114. padding:15px 10px;
  115. }
  116. .detail table td .info .modal-content ul li{
  117. width:270px;
  118. }
  119. .detail table td .info .modal-content ul li span{
  120. font-size: 14px;
  121. color:#333;
  122. }
  123. .detail table td .info .modal-content ul li em{
  124. font-size: 14px;
  125. color:#999;
  126. font-style: normal;
  127. }
  128. </style>
  129. <div class="detail">
  130. <div class="top">
  131. <h3>客户公共询价单</h3>
  132. <div class="top-right">
  133. <span>日期:<em ng-bind="inquiry.date | date:'yyyy-MM-dd'"></em></span>
  134. <span>报价单号:<em ng-bind="::inquiry.code"></em></span>
  135. </div>
  136. </div>
  137. <div class="middle">
  138. <ul class="list-inline">
  139. <li>
  140. <span>询价企业</span><em ng-bind="::inquiry.enterprise.enName"></em>
  141. </li>
  142. <li>
  143. <span>联系人&nbsp;</span><em></em>
  144. </li>
  145. <li>
  146. <span>联系电话</span><em></em>
  147. </li>
  148. <li>
  149. <span>企业地址</span><em ng-bind="inquiry.ship"></em>
  150. </li>
  151. <li>
  152. <span>报价截止</span><em ng-bind="::inquiry.endDate | date:'yyyy-MM-dd'"></em>
  153. </li>
  154. </ul>
  155. </div>
  156. <table class="table">
  157. <thead>
  158. <tr>
  159. <th>产品型号</th>
  160. <th>品牌</th>
  161. <th width="60">币种</th>
  162. <th width="60">税率</th>
  163. <th width="85">分段数量</th>
  164. <th width="85">价格</th>
  165. <th>交货周期</th>
  166. <th>最小订购/包装</th>
  167. <th>附件</th>
  168. </tr>
  169. </thead>
  170. <tbody>
  171. <tr>
  172. <td>
  173. <div class="info">
  174. <span ng-bind="inquiryItem.product.cmpCode || inquiryItem.cmpCode"></span>&nbsp;&nbsp;<i class="fa fa-caret-down"></i>
  175. <div class="modal-content">
  176. <ul class="list-unstyled">
  177. <li><span>产品规格:</span>
  178. <em ng-bind="::inquiryItem.product.spec"></em>
  179. </li>
  180. <li><span>产品名称:</span>
  181. <em ng-bind="::inquiryItem.product.title"></em>
  182. </li>
  183. </ul>
  184. </div>
  185. </div>
  186. </td>
  187. <td>
  188. <span ng-bind="::inquiryItem.product.brand"></span>
  189. </td>
  190. <td><span ng-bind="::inquiryItem.currency"></span></td>
  191. <td><span ng-bind="::inquiryItem.taxrate"></span><span>%</span></td>
  192. <td>
  193. <div ng-repeat="reply in inquiryItem.replies">
  194. <span ng-bind="reply.lapQty"></span>
  195. </div>
  196. </td>
  197. <td>
  198. <div ng-repeat="reply in inquiryItem.replies">
  199. <span ng-if="!isUser" ng-bind="reply.price | number:6"></span>
  200. <span ng-show="reply.price == null || isUser" class="text-muted">-</span>
  201. </div>
  202. </td>
  203. <td>
  204. <span ng-bind="inquiryItem.leadtime ? inquiryItem.leadtime : '-'"></span>
  205. </td>
  206. <td>
  207. <span ng-bind="inquiryItem.minOrderQty ? inquiryItem.minOrderQty : '-'"></span>
  208. <span>/</span>
  209. <span ng-bind="inquiryItem.minPackQty ? inquiryItem.minPackQty : '-'"></span>
  210. </td>
  211. <td>
  212. <a href="{{attach.path}}" target="_blank"><span ng-if="attach != null" ng-bind="attach.name"></span></a>
  213. </td>
  214. </tr>
  215. </tbody>
  216. </table>
  217. </div>