HlwCompanyInvoiceInfoList.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <template>
  2. <a-card :bordered="false">
  3. <!-- 查询区域 -->
  4. <div class="table-page-search-wrapper">
  5. <a-form layout="inline" @keyup.enter.native="searchQuery">
  6. <a-row :gutter="24">
  7. </a-row>
  8. </a-form>
  9. </div>
  10. <!-- 查询区域-END -->
  11. <!-- 操作按钮区域 -->
  12. <div class="table-operator">
  13. <a-button @click="handleAdd" type="primary" icon="plus" >新增开票资料</a-button>
  14. </div>
  15. <!-- table区域-begin -->
  16. <div>
  17. <a-table
  18. ref="table"
  19. size="middle"
  20. bordered
  21. rowKey="id"
  22. :columns="columns"
  23. :dataSource="dataSource"
  24. :pagination="ipagination"
  25. :loading="loading"
  26. class="j-table-force-nowrap"
  27. @change="handleTableChange">
  28. <span slot="action" slot-scope="text, record">
  29. <a @click="handleEdit(record)" >修改</a>
  30. </span>
  31. </a-table>
  32. </div>
  33. <hlw-comapny-invoice-info-modal ref="modalForm" @ok="modalFormOk"></hlw-comapny-invoice-info-modal>
  34. </a-card>
  35. </template>
  36. <script>
  37. import { httpAction ,getAction,putAction} from '@/api/manage'
  38. import '@/assets/less/TableExpand.less'
  39. import { mixinDevice } from '@/utils/mixin'
  40. import { JeecgListMixin } from '@/mixins/JeecgListMixin'
  41. import HlwComapnyInvoiceInfoModal from './modules/HlwComapnyInvoiceInfoModal'
  42. export default {
  43. name: "HlwCompanyInvoiceInfoList",
  44. mixins:[JeecgListMixin, mixinDevice],
  45. components: {
  46. HlwComapnyInvoiceInfoModal
  47. },
  48. data () {
  49. return {
  50. queryParam: {},
  51. selectedRowKeys: [],
  52. selectedRows: [],
  53. description: '开票资料列表',
  54. // 表头
  55. columns: [
  56. {
  57. title:'抬头',
  58. align:"center",
  59. dataIndex: 'invoiceTitle'
  60. },
  61. {
  62. title:'纳税人识别号',
  63. align:"center",
  64. dataIndex: 'dutyParagraph',
  65. },
  66. {
  67. title:'开户银行',
  68. align:"center",
  69. dataIndex: 'accountBank',
  70. },
  71. {
  72. title:'开户账号',
  73. align:"center",
  74. dataIndex: 'account',
  75. customRender:function (text) {
  76. return text
  77. }
  78. },
  79. {
  80. title:'地址',
  81. align:"center",
  82. dataIndex: 'registerAddress'
  83. },
  84. {
  85. title:'电话',
  86. align:"center",
  87. dataIndex: 'registerPhone'
  88. },
  89. {
  90. title: '创建人',
  91. dataIndex: 'createBy',
  92. align: "center",
  93. },
  94. {
  95. title: '创建时间',
  96. dataIndex: 'createTime',
  97. align: "center",
  98. },
  99. {
  100. title: '更新人',
  101. dataIndex: 'updateTime',
  102. align: "center",
  103. },
  104. {
  105. title: '更新时间',
  106. dataIndex: 'updateBy',
  107. align: "center",
  108. },
  109. {
  110. title: '操作',
  111. dataIndex: 'action',
  112. align:"center",
  113. fixed:"right",
  114. width:147,
  115. scopedSlots: { customRender: 'action' }
  116. }
  117. ],
  118. url: {
  119. list: "/saasmanager/hwPlatformCompany/companyInvoiceInfoList",
  120. },
  121. dictOptions:{},
  122. }
  123. },
  124. computed: {
  125. importExcelUrl: function(){
  126. return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
  127. },
  128. },
  129. methods: {
  130. initDictConfig(){
  131. },
  132. }
  133. }
  134. </script>
  135. <style scoped>
  136. @import '~@assets/less/common.less';
  137. </style>