到账开票相关bug修改

This commit is contained in:
zhaoxiao
2021-12-23 10:52:30 +08:00
parent 337b4078e4
commit 55e5a6816c
11 changed files with 111 additions and 29 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

@@ -0,0 +1,77 @@
<template>
<div class="page-header">
<!-- 页面-->
<template v-if="isLevelOne">
<img :src="imgForIcon" class="page-header-icon">
<span class="page-header-title">{{ $route.meta.title }}</span>
</template>
<!-- 需要有返回操作的页面-->
<template v-else>
<img :src="IconBack" class="page-header-icon page-header-icon-back" @click="backPage">
<img :src="imgForIcon" class="page-header-icon">
<span class="page-header-title">{{ levelTwoTitle }}</span>
</template>
</div>
</template>
<script>
import IconBack from '@/assets/imgs/icon/icon_back.png'
export default {
name: 'PageHeaderTitle',
props: {
// 是否为一级菜单
isLevelOne: {
type: Boolean,
default: true
},
// 图标图片
imgForIcon: {
type: String,
default: ''
},
// 有返回页面的标题
levelTwoTitle: {
type: String,
default: ''
}
},
data() {
return {
IconBack
}
},
methods: {
backPage() {
this.$router.go(-1)
}
}
}
</script>
<style scoped lang="less">
.page-header {
height: 60px;
background: #ffffff;
margin-bottom: 2px;
display: flex;
align-items: center;
padding-left: 20px;
&-icon {
height: 20px;
max-width: 30px;
margin-right: 10px;
}
&-icon-back {
cursor: pointer;
}
&-title {
font-size: 16px;
font-family: PingFang SC, PingFang SC-Medium;
color: #666666;
}
}
</style>
+4 -2
View File
@@ -1,5 +1,6 @@
<template>
<div class="main-box">
<page-header-title :is-level-one="false" level-two-title="缴费凭证"></page-header-title>
<a-card :bordered="false">
<!--查询区域begin-->
<div class="table-page-search-wrapper">
@@ -128,7 +129,7 @@
<span class="audit-info-item-content">{{ item.reviewTime }}</span>
</div>
</a-col>
<a-col :span="8">
<a-col :span="8" v-if="item.paymentStatus !== 'completed'">
<div class="audit-info-item">
<span class="audit-info-item-title">说明</span>
<span class="audit-info-item-content">{{ item.reviewInstructions }}</span>
@@ -163,6 +164,7 @@ import PreviewImgModal from '@views/MessagePage/modules/PreviewImgModal'
import ProofInfoModal from '@views/MessagePage/modules/ProofInfoModal'
import { getAuditProofRecords } from '@api/incomePaymentsApi'
import { convertToChinaNum } from '@/utils/util'
import PageHeaderTitle from '@/components/layouts/PageHeaderTitle'
const columns = [
{
@@ -211,7 +213,7 @@ const columns = [
export default {
name: 'PaymentVoucher',
components: { PaymentVoucherModal, PreviewImgModal, ProofInfoModal },
components: { PaymentVoucherModal, PreviewImgModal, ProofInfoModal, PageHeaderTitle },
mixins: [JeroListMixin],
data() {
return {
@@ -230,9 +230,6 @@ export default {
PreviewFile,
FileList
},
created() {
console.log('xiangmuxiangqing')
},
methods: {
open(record) {
this.visible = true
@@ -154,6 +154,7 @@ export default {
this.close()
},
close() {
this.form.resetFields()
this.visible = false
},
/**
@@ -11,21 +11,25 @@
<div>
<div class="project-name">{{ projectName }}</div>
<h3 class="title">审核信息</h3>
<div>
<div class="info-item">
<label>审核结果</label>
<div>{{ proofInfo.paymentStatus_dictText }}</div>
<!-- 待审核状态不显示审核信息 -->
<template v-if="proofInfo.paymentStatus !== 'toBeReviewed'">
<h3 class="title">审核信息</h3>
<div>
<div class="info-item">
<label>审核结果</label>
<div>{{ proofInfo.paymentStatus_dictText }}</div>
</div>
<div class="info-item">
<label>审核人</label>
<div>{{ proofInfo.reviewerName }}</div>
</div>
<div class="info-item">
<label>审核时间</label>
<div>{{ proofInfo.reviewTime }}</div>
</div>
</div>
<div class="info-item">
<label>审核人</label>
<div>{{ proofInfo.reviewerName }}</div>
</div>
<div class="info-item">
<label>审核时间</label>
<div>{{ proofInfo.reviewTime }}</div>
</div>
</div>
</template>
<h3 class="title">凭证信息</h3>
<div>
@@ -87,7 +91,6 @@ export default {
*/
open(record) {
this.proofInfo = record
console.log(this.proofInfo)
this.visible = true
},
handleCancel() {
+1 -1
View File
@@ -115,7 +115,7 @@
<!-- 缴费凭证-->
<span slot="action" class="action-span-cell" slot-scope="text,record">
<a @click="paymentVoucher(record)">缴费凭证</a>
<a @click="paymentVoucher(record)" :disabled="Number(record.amountReceivable) === 0">缴费凭证</a>
</span>
</a-table>
</div>
+8 -3
View File
@@ -42,12 +42,12 @@
<!-- 作废-->
<template slot="invalid" slot-scope="text, record">
<j-ellipsis :value="text" :length="18"></j-ellipsis>
<j-ellipsis :value="text" :length="15"></j-ellipsis>
<a-tag color="red" v-if="record.status === 6">已作废</a-tag>
</template>
<template slot="text" slot-scope="text, record">
<j-ellipsis :value="text" :length="18"></j-ellipsis>
<j-ellipsis :value="text" :length="20"></j-ellipsis>
</template>
<template slot="action" slot-scope="text, record">
@@ -92,26 +92,31 @@ export default {
title: '合同编号',
dataIndex: 'contractNum',
align: 'center',
width: 280,
scopedSlots: { customRender: 'text' }
}, {
title: '合同名称',
dataIndex: 'contractName',
align: 'center',
width: 280,
scopedSlots: { customRender: 'invalid' }
}, {
title: '关联项目',
dataIndex: 'associatedProject',
align: 'center',
width: 280,
scopedSlots: { customRender: 'text' }
}, {
title: '签订单位',
dataIndex: 'signedCompanyTemporaryName',
align: 'center',
width: 280,
scopedSlots: { customRender: 'text' }
}, {
title: '签订单位联系人',
dataIndex: 'signedContactsTemporaryName',
align: 'center',
width: 280,
scopedSlots: { customRender: 'text' }
}, {
title: '合同总金额',
@@ -123,7 +128,7 @@ export default {
title: '创建时间',
dataIndex: 'createTime',
align: 'center',
width: 160,
width: 200,
scopedSlots: { customRender: 'text' }
}, {
title: '邮寄信息',
@@ -145,9 +145,6 @@ export default {
associatedProjectList: [] // 关联项目信息
}
},
created() {
console.log(11111111)
},
methods: {
/**
* 获取详情信息
+1 -1
View File
@@ -63,7 +63,7 @@
<!-- 缴费凭证-->
<span slot="action" class="action-span-cell" slot-scope="text,record">
<a @click="paymentVoucher(record)">缴费凭证</a>
<a @click="paymentVoucher(record)" :disabled="Number(record.receivableAmount) === 0">缴费凭证</a>
</span>
</a-table>
</div>
+1 -1
View File
@@ -63,7 +63,7 @@
<!-- 缴费凭证-->
<span slot="action" class="action-span-cell" slot-scope="text,record">
<a @click="paymentVoucher(record)">缴费凭证</a>
<a @click="paymentVoucher(record)" :disabled="Number(record.receivableAmount) === 0">缴费凭证</a>
</span>
</a-table>
</div>