|
|
@@ -1,10 +1,12 @@
|
|
|
<template>
|
|
|
- <div class="app-container">
|
|
|
+ <el-tabs type="border-card">
|
|
|
+ <!-- 资产信息-->
|
|
|
+ <el-tab-pane label="资产信息">
|
|
|
<!-- 添加或修改融资记录对话框 -->
|
|
|
- <span style="float: right; margin-right: 125px;">创建人:{{ user }}</span>
|
|
|
- <span style="float: right; margin-right: 125px;">创建时间:{{ time }}</span>
|
|
|
- <span style="float: right; margin-right: 125px;">融资编号:{{ number }}</span>
|
|
|
- <el-form ref="form" label-position="top" :model="form" :rules="rules" label-width="80px">
|
|
|
+ <span style="float: right; margin-right: 100px; margin-top: 20px">创建人:{{ user }}</span>
|
|
|
+ <span style="float: right; margin-right: 100px; margin-top: 20px">创建时间:{{ time }}</span>
|
|
|
+ <span style="float: right; margin-right: 100px; margin-top: 20px">融资编号:{{ number }}</span>
|
|
|
+ <el-form ref="form" label-position="top" :model="form" :rules="rules" style="margin-top: 20px">
|
|
|
<el-divider content-position="left">融资信息</el-divider>
|
|
|
<el-row>
|
|
|
<el-col :span="8">
|
|
|
@@ -57,8 +59,8 @@
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
<el-divider content-position="left">应收账款</el-divider>
|
|
|
- <span style="float: right; margin-right: 125px;">金额大写:{{ smallToBig(allAmount()) }}</span>
|
|
|
- <span style="float: right; margin-right: 125px;">消费金额:{{ allAmount() }} 元</span>
|
|
|
+ <span style="float: right; margin-right: 100px;">金额大写:{{ smallToBig(allAmount()) }}</span>
|
|
|
+ <span style="float: right; margin-right: 100px;">消费金额:{{ allAmount() }} 元</span>
|
|
|
<el-table :data="billInfList" border stripe>
|
|
|
<el-table-column label="序号" type="index" width="50" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
@@ -102,6 +104,27 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
+ <!-- 物流附件 -->
|
|
|
+ <el-divider content-position="left">物流附件</el-divider>
|
|
|
+ <el-table :data="logisticsFileList" border style="width: 100%" stripe>
|
|
|
+ <el-table-column label="文件名称" align="center" prop="pfiFileName" show-overflow-tooltip />
|
|
|
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width='300' fixed="right" >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-view"
|
|
|
+ @click="handleDownload(scope.row)"
|
|
|
+ >下载</el-button>
|
|
|
+ <el-button
|
|
|
+ size="mini"
|
|
|
+ type="text"
|
|
|
+ icon="el-icon-view"
|
|
|
+ @click="handlePreview(scope.row)"
|
|
|
+ >预览</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
<!-- 其他附件 -->
|
|
|
<el-divider content-position="left">其他附件</el-divider>
|
|
|
<el-table :data="otherFileList" border style="width: 100%" stripe>
|
|
|
@@ -117,7 +140,7 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
- <el-divider content-position="left">盖章附件</el-divider>
|
|
|
+ <!-- <el-divider content-position="left">盖章附件</el-divider>
|
|
|
<el-row>
|
|
|
<img style="width:50px;height:50px;"
|
|
|
:key="dict.pfiFileId"
|
|
|
@@ -126,7 +149,7 @@
|
|
|
@click="handlePreview(dict)"
|
|
|
:title="dict.pfiFileName"
|
|
|
>
|
|
|
- </el-row>
|
|
|
+ </el-row> -->
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
<!-- <el-button type="primary" @click="submitForm">确 定</el-button> -->
|
|
|
<!-- <el-button @click="cancel">取 消</el-button> -->
|
|
|
@@ -136,7 +159,27 @@
|
|
|
<img :src="wordUrl" v-if="show" width='800px' height='500px'/>
|
|
|
<iframe :src="wordUrl" width='800px' height='500px' frameborder='1' v-if="heid"/>
|
|
|
</el-dialog>
|
|
|
- </div>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="签署合同">
|
|
|
+ <el-row class="zap-form" type="flex" style="flex-wrap: wrap;">
|
|
|
+ <!-- <img style="width:50px;height:50px;"
|
|
|
+ :key="dict.pfiFileId"
|
|
|
+ src="../../../assets/images/pdf.png"
|
|
|
+ v-for="dict in recordSealList"
|
|
|
+ @click="handlePreview(dict)"
|
|
|
+ :title="dict.pfiFileName"
|
|
|
+ > -->
|
|
|
+ <attachments v-for="dict in recordSealList" :key="dict.pfiFileId" :fileName="dict.pfiFileName">
|
|
|
+ <img class="" src="../../../assets/images/pdf.png" />
|
|
|
+ <div class="attachements__marker" slot="marker">
|
|
|
+ <el-button class="zap-button-primary" size="mini" @click="handleDownload(dict)">下载</el-button>
|
|
|
+ <el-button class="zap-button-primary" size="mini" @click="handlePreview(dict)">预览</el-button>
|
|
|
+ </div>
|
|
|
+ </attachments>
|
|
|
+ </el-row>
|
|
|
+ </el-tab-pane>
|
|
|
+ <!-- </div> -->
|
|
|
+ </el-tabs>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
@@ -180,6 +223,8 @@ export default {
|
|
|
invoiceFileList:[],
|
|
|
//其他文件
|
|
|
otherFileList:[],
|
|
|
+ //物流附件
|
|
|
+ logisticsFileList:[],
|
|
|
// 弹出层标题
|
|
|
title: "",
|
|
|
// 是否显示弹出层
|
|
|
@@ -345,6 +390,8 @@ export default {
|
|
|
this.contractFileList = response.data.contractFileList;
|
|
|
//获取其他文件
|
|
|
this.otherFileList = response.data.otherFileList;
|
|
|
+ //获取物流附件
|
|
|
+ this.logisticsFileList = response.data.logisticsFileList;
|
|
|
}
|
|
|
});
|
|
|
if(item.zfpcrLoanType == '0'){
|
|
|
@@ -443,10 +490,13 @@ export default {
|
|
|
getRecordSealFile(){
|
|
|
getRecordSealFile(this.form).then((response) => {
|
|
|
if(response.data.list){
|
|
|
+ console.log(response,"response1")
|
|
|
this.recordSealList = response.data.list;
|
|
|
+ console.log()
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+
|
|
|
//应收账款合计
|
|
|
allAmount() {
|
|
|
var strarr = [0.00];
|