PaymentPlan.vue 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <template>
  2. <div class="payment-plan">
  3. <InfoCard>
  4. <template #title>
  5. <span>回款计划</span>
  6. <span style="font-size: 14px;line-height: 22px;">
  7. (共<span class="num-active"> 0 </span>条
  8. <span>预计回款</span>
  9. <span class="num-active"> ¥58000 </span>
  10. <span> 实际回款</span>
  11. <span class="num-active"> ¥580 </span>)
  12. </span>
  13. </template>
  14. <div class="payment-plan-content">
  15. <el-table
  16. class="payment-plan-content-table"
  17. border
  18. :data="paymentPlanList"
  19. style="width: 1108px">
  20. <el-table-column
  21. prop="number"
  22. label="序号"
  23. width="280">
  24. </el-table-column>
  25. <el-table-column
  26. prop="expectedReturnTime"
  27. label="预计回款时间"
  28. />
  29. <el-table-column
  30. prop="expectedReturnAmount"
  31. label="预计回款金额"
  32. />
  33. </el-table>
  34. </div>
  35. </InfoCard>
  36. </div>
  37. </template>
  38. <script>
  39. import InfoCard from '../../ui/InfoCard.vue'
  40. export default {
  41. name: 'PaymentPlan',
  42. components: {
  43. InfoCard
  44. },
  45. props: {
  46. orderDetail: {
  47. type: Object,
  48. default: () => {
  49. return {}
  50. }
  51. }
  52. },
  53. data() {
  54. return {
  55. paymentPlanList: [
  56. {
  57. number: '1',
  58. expectedReturnTime: '2020-01-01',
  59. expectedReturnAmount: '¥58000'
  60. }
  61. ]
  62. }
  63. }
  64. }
  65. </script>
  66. <style scoped lang="scss">
  67. .payment-plan {
  68. .payment-plan-content-table {
  69. border-radius: 4px;
  70. ::v-deep {
  71. .cell {
  72. text-align: center;
  73. font-size: 14px;
  74. font-weight: 400;
  75. color: $gray_10;
  76. }
  77. .has-gutter {
  78. th {
  79. background: #F9FAFB;
  80. .cell {
  81. padding: 0;
  82. color: #686868;
  83. }
  84. }
  85. }
  86. }
  87. }
  88. .num-active {
  89. color: $color_main;
  90. }
  91. }
  92. </style>