|
|
@@ -0,0 +1,199 @@
|
|
|
+<template>
|
|
|
+ <a-modal
|
|
|
+ :title="title"
|
|
|
+ :width="modelStyle.width"
|
|
|
+ :bodyStyle="bodyStyle"
|
|
|
+ :visible="visible"
|
|
|
+ :confirmLoading="confirmLoading"
|
|
|
+ :maskClosable="false"
|
|
|
+ @ok="handleOk"
|
|
|
+ @cancel="handleCancel"
|
|
|
+ cancelText="关闭">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <a-card :bordered="false">
|
|
|
+ <!-- table区域-begin -->
|
|
|
+ <div>
|
|
|
+
|
|
|
+ <a-table
|
|
|
+ ref="table"
|
|
|
+ size="middle"
|
|
|
+ bordered
|
|
|
+ rowKey="id"
|
|
|
+ :columns="columns"
|
|
|
+ :dataSource="dataSource"
|
|
|
+ :pagination="ipagination"
|
|
|
+ :loading="loading"
|
|
|
+ @change="handleTableChange">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </a-table>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </a-card>
|
|
|
+
|
|
|
+ </a-modal>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+
|
|
|
+ import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
|
+ import { getAction, deleteAction, putAction, postAction } from '@/api/manage'
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ export default {
|
|
|
+ name: 'HwTaxPaymentDetailsList',
|
|
|
+ mixins: [JeecgListMixin],
|
|
|
+ components: {
|
|
|
+
|
|
|
+
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ description: '业务明细页面',
|
|
|
+ headers: {},
|
|
|
+ fileList: [],
|
|
|
+ form: this.$form.createForm(this),
|
|
|
+ title: '操作',
|
|
|
+ bodyStyle: {
|
|
|
+ padding: '0',
|
|
|
+ height: (window.innerHeight * 0.66) + 'px',
|
|
|
+ 'overflow-y': 'auto'
|
|
|
+ },
|
|
|
+ modelStyle: {
|
|
|
+ width: '80%',
|
|
|
+ style: { top: '20px' },
|
|
|
+ fullScreen: false
|
|
|
+ },
|
|
|
+ visible: false,
|
|
|
+ model: {},
|
|
|
+ labelCol: {
|
|
|
+ xs: { span: 24 },
|
|
|
+ sm: { span: 5 }
|
|
|
+ },
|
|
|
+ wrapperCol: {
|
|
|
+ xs: { span: 24 },
|
|
|
+ sm: { span: 16 }
|
|
|
+ },
|
|
|
+ accept: '.pdf',
|
|
|
+ confirmLoading: false,
|
|
|
+ validatorRules: {},
|
|
|
+ // 表头
|
|
|
+ columns: [
|
|
|
+ {
|
|
|
+ title: '需求名称',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'requirementName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '到款时间',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'paymentResultTime'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '收入金额',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'netPayment'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '纳税金额',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'taxFee'
|
|
|
+
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '收款银行',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'eacbnk'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '银行账号',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'cardNumber'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '电子凭证',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'electronicCertificate'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '流水号',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'transactionNo'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '用户合同',
|
|
|
+ align: 'center',
|
|
|
+ dataIndex: 'workContract'
|
|
|
+ }
|
|
|
+
|
|
|
+ ],
|
|
|
+ url: {
|
|
|
+ list: '/hwpayment/hwPaymentDetail/taxPaymentDetailList',
|
|
|
+ },
|
|
|
+ dictOptions: {}
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
+ computed: {},
|
|
|
+ methods: {
|
|
|
+ close() {
|
|
|
+ this.visible = false
|
|
|
+ },
|
|
|
+ edit(taxPaymentId,userId) {
|
|
|
+ this.form.resetFields()
|
|
|
+ this.visible = true
|
|
|
+ this.loadData(taxPaymentId,userId)
|
|
|
+
|
|
|
+ },
|
|
|
+ handleOk() {
|
|
|
+ this.close()
|
|
|
+ this.visible = false
|
|
|
+ },
|
|
|
+ handleCancel() {
|
|
|
+ this.close()
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ loadData(taxPaymentId,userId) {
|
|
|
+ if (!this.url.list) {
|
|
|
+ this.$message.error('请设置url.list属性!')
|
|
|
+ return
|
|
|
+ }
|
|
|
+ var params ={}//查询条件
|
|
|
+ params.taxPaymentId = taxPaymentId
|
|
|
+ params.userId = userId
|
|
|
+ this.loading = true
|
|
|
+ getAction(this.url.list, params).then((res) => {
|
|
|
+ if (res.success) {
|
|
|
+ this.dataSource = res.result.records
|
|
|
+ this.ipagination.total = res.result.total
|
|
|
+ }
|
|
|
+ if (res.code === 510) {
|
|
|
+ this.$message.warning(res.message)
|
|
|
+ }
|
|
|
+ this.loading = false
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|
|
|
+<style scoped>
|
|
|
+ @import '~@assets/less/common.less';
|
|
|
+</style>
|
|
|
+<style lang="scss" scoped>
|
|
|
+
|
|
|
+</style>
|