monthorders.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <style>
  2. .ssc-month-orders-wrap {
  3. padding: 12px 16px 20px;
  4. }
  5. .ssc-month-orders-head {
  6. margin-bottom: 12px;
  7. line-height: 1.6;
  8. }
  9. .ssc-month-orders-head .ssc-meta {
  10. color: #666;
  11. margin-right: 16px;
  12. }
  13. .ssc-month-orders-head .ssc-company {
  14. font-weight: 600;
  15. color: #333;
  16. }
  17. .ssc-month-orders-table {
  18. margin-bottom: 0;
  19. }
  20. .ssc-month-orders-table > thead > tr > th,
  21. .ssc-month-orders-table > tbody > tr > td {
  22. text-align: center;
  23. vertical-align: middle;
  24. white-space: nowrap;
  25. }
  26. .ssc-month-orders-table .ssc-name-cell {
  27. text-align: left;
  28. white-space: normal;
  29. word-break: break-all;
  30. max-width: 220px;
  31. }
  32. .ssc-month-orders-empty {
  33. padding: 48px 16px;
  34. text-align: center;
  35. color: #999;
  36. }
  37. .ssc-progress-done {
  38. color: #3c763d;
  39. font-weight: 600;
  40. }
  41. </style>
  42. <div class="ssc-month-orders-wrap">
  43. <div class="ssc-month-orders-head">
  44. <span class="ssc-meta">月份:{$ym|htmlentities}</span>
  45. <span class="ssc-meta">供应商:<span class="ssc-company">{$company_name|htmlentities}</span></span>
  46. <span class="ssc-meta">共 {$orderCount} 单</span>
  47. </div>
  48. {if $orderRows}
  49. <div class="table-responsive">
  50. <table class="table table-bordered table-striped table-condensed ssc-month-orders-table">
  51. <thead>
  52. <tr>
  53. <th style="width:50px;">序号</th>
  54. <th>订单号</th>
  55. <th>印件名称</th>
  56. <th>承揽部门</th>
  57. <th>工序名称</th>
  58. <th>本单排名</th>
  59. <th>质量得分</th>
  60. <th>价格得分</th>
  61. <th>交货得分</th>
  62. <th>状态</th>
  63. <th>是否合格</th>
  64. <th>当前进度</th>
  65. <th>下发时间</th>
  66. <th style="width:80px;">操作</th>
  67. </tr>
  68. </thead>
  69. <tbody>
  70. {volist name="orderRows" id="row"}
  71. <tr>
  72. <td>{$row.seq_no}</td>
  73. <td>{$row.CCYDH|default=''|htmlentities}</td>
  74. <td class="ssc-name-cell">{$row.CYJMC|default=''|htmlentities}</td>
  75. <td>{$row.CCLBMMC|default=''|htmlentities}</td>
  76. <td class="ssc-name-cell">{$row.CGYMC|default=''|htmlentities}</td>
  77. <td>{if $row.rank_no}{$row.rank_no}{else/}—{/if}</td>
  78. <td>{$row.quality_score|default=''}</td>
  79. <td>{$row.price_score|default=''}</td>
  80. <td>{$row.lead_score|default=''}</td>
  81. <td>
  82. {if $row.show_bid_result}
  83. {if $row.is_picked}
  84. <span class="label label-success">中标</span>
  85. {else/}
  86. <span class="label label-danger">未中标</span>
  87. {/if}
  88. {/if}
  89. </td>
  90. <td>
  91. {if condition="$row.inbound_result eq '合格'"}
  92. <span class="label label-success">合格</span>
  93. {elseif condition="$row.inbound_result eq '不合格'"/}
  94. <span class="label label-danger">不合格</span>
  95. {/if}
  96. </td>
  97. <td>
  98. {if condition="$row.progress_text eq '已完结'"}
  99. <span class="ssc-progress-done">已完结</span>
  100. {else/}
  101. {$row.progress_text|default=''|htmlentities}
  102. {/if}
  103. </td>
  104. <td>{if $row.issue_time}{$row.issue_time|htmlentities}{else/}—{/if}</td>
  105. <td>
  106. {if condition="$row.scydgy_id gt 0"}
  107. <a href="javascript:;" class="btn btn-xs btn-info btn-ssc-order-details"
  108. data-scydgy-id="{$row.scydgy_id}"
  109. title="详情">
  110. <i class="fa fa-file-text-o"></i> 详情
  111. </a>
  112. {else/}
  113. —
  114. {/if}
  115. </td>
  116. </tr>
  117. {/volist}
  118. </tbody>
  119. </table>
  120. </div>
  121. {else/}
  122. <div class="ssc-month-orders-empty">该供应商本月暂无订单评分记录</div>
  123. {/if}
  124. </div>