payRecord.vue 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <!-- 体系模块 审核流程组件-->
  2. <template>
  3. <!-- <div>
  4. <ws-dialog :title="$t('cg.applydetails.paymentRecords')"
  5. :close-on-click-modal="false"
  6. :visible.sync="recordDialog"
  7. width="50%"
  8. center> -->
  9. <WinseaContentModal v-model='recordDialog'
  10. :title="$t('cg.applydetails.paymentRecords')">
  11. <ws-normal-table :data="recordList"
  12. border
  13. height="400"
  14. highlight-current-row
  15. style="width: 100%;">
  16. <!-- <ws-table-column :label="$t('cg.cgsparedetail.balanceDiscountLower')"
  17. align="center">
  18. <template slot-scope="scope">
  19. <span>{{ scope.row.vendorName }}</span>
  20. </template>
  21. </ws-table-column>-->
  22. <ws-table-column :label="$t('cg.applydetails.paymentApplicationNo')"
  23. min-width="150px"
  24. prop="billNo"></ws-table-column>
  25. <ws-table-column :label="$t('cg.applydetails.paymentBatch')"
  26. width="80px"
  27. prop="paymentBatch"></ws-table-column>
  28. <ws-table-column :label="$t('cg.applydetails.prepaymentAmount')"
  29. min-width="120px"
  30. prop="paymentAmount">
  31. <template slot-scope="scope">
  32. <span>{{ scope.row.paymentAmount }}{{ getLanguage == 'en'?scope.row.currencyNameEn:scope.row.currencyName }}</span>
  33. </template>
  34. </ws-table-column>
  35. <!-- <ws-table-column :label="$t('cg.cgsparedetail.outstandingBalance')"
  36. min-width="170px"
  37. align="center">
  38. <template slot-scope="scope">
  39. <span>{{ scope.row.address }}</span>
  40. </template>
  41. </ws-table-column>-->
  42. <ws-table-column :label="$t('zs.common.operator')"
  43. min-width="170px"
  44. prop="operateUser"></ws-table-column>
  45. <ws-table-column :label="$t('cw.budgetSummary.paymentTime')"
  46. min-width="170px"
  47. prop="operateDate">
  48. <template slot-scope="scope">
  49. <span>{{ scope.row.operateDate.split(' ')[0] }}</span>
  50. </template>
  51. </ws-table-column>
  52. </ws-normal-table>
  53. <!-- <div style="color: orange;font-size: 12px;"><i class="iconfont iconapplDetail-tips" style="color: orange;font-size: 14px;"></i><span>{{ $t('cg.tip') }}</span></div>
  54. <div slot="footer" class="dialog-footer">
  55. <ws-button @click="recordDialog = false">{{$t('button.close')}}</ws-button>
  56. </div>-->
  57. </WinseaContentModal>
  58. <!-- </ws-dialog>
  59. </div> -->
  60. </template>
  61. <script>
  62. export default {
  63. name: 'payRecord',
  64. props: ['recordList'],
  65. data () {
  66. return {
  67. recordDialog: false,
  68. }
  69. },
  70. computed: {
  71. getLanguage () {
  72. return this.$store.state.app.language
  73. },
  74. },
  75. created () {
  76. },
  77. methods: {
  78. openDialog () {
  79. // getPaymentHistoryList({
  80. // purchaseType: this.type,
  81. // purchaseId: this.purchaseId
  82. // }).then(response => {
  83. // this.recordList = response.data
  84. this.recordDialog = true
  85. // })
  86. }
  87. }
  88. }
  89. </script>
  90. <style lang="scss" scoped>
  91. </style>