bug修改

This commit is contained in:
zhaoxiao
2021-10-12 17:51:38 +08:00
parent d8f0dbfda3
commit 39846174f3
2 changed files with 22 additions and 4 deletions
+20 -2
View File
@@ -20,11 +20,17 @@
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :span="12">
<a-col>
<label>备注</label>
<span><j-ellipsis :value="basicInfo.remarks" :length="20"></j-ellipsis></span>
</a-col>
</a-row>
<a-row :gutter="24" v-if="basicInfo.files">
<a-col>
<label>资料</label>
<span><preview-file :file-id="basicInfo.files"></preview-file></span>
</a-col>
</a-row>
<!-- 来款方式为合同的显示-->
<a-row :gutter="24" v-if="!!basicInfo.contractNum">
<a-col :span="12">
@@ -36,6 +42,16 @@
<span class="contract-num" @click="toContractDetail">{{ basicInfo.contractNum }}</span>
</a-col>
</a-row>
<a-row :gutter="24" v-if="basicInfo.chargeWay === 3">
<a-col :span="12" >
<label>收费通知号</label>
<span><j-ellipsis :value="basicInfo.chargeNoticeNo" :length="20"></j-ellipsis></span>
</a-col>
<a-col :span="12">
<label>收费通知</label>
<span><preview-file :file-id="basicInfo.chargeNoticeId"></preview-file></span>
</a-col>
</a-row>
</section>
<!-- 基本信息end-->
<!-- 企业信息begin-->
@@ -144,6 +160,7 @@
<script>
import {queryCommonProjectById} from '@api/incomePaymentsApi'
import JEllipsis from '@comp/jero/JEllipsis'
import PreviewFile from './jero/PreviewFile'
// import {getAction} from "@api/manage";
const paymentInfoList = [
{
@@ -257,7 +274,8 @@ export default {
},
computed: {},
components: {
JEllipsis
JEllipsis,
PreviewFile
},
methods: {
open(record) {
+2 -2
View File
@@ -1,9 +1,9 @@
<template>
<!-- 父组件的文件id如果是异步获取的 需要加上v-if判断-->
<div style="display: inline-block">
<span v-for="(item) of fileList" :key="item.id">{{ item.name +' ' }}
<div v-for="(item) of fileList" :key="item.id">{{ item.name +' ' }}
<span class="m-l-4 color-blue" @click="handleDownLoad(item)">下载</span> <span class="m-l-4 color-blue" @click="handlePreview(item)">查看</span>
</span>
</div>
</div>
</template>