|
@@ -314,9 +314,15 @@
|
|
|
width="70%"
|
|
|
height = "60%"
|
|
|
append-to-body>
|
|
|
- <pdf-show :pdfFileList="pdfFileList" :zfiId="this.form.zfiId" :parent="parent">
|
|
|
+ <pdf-show :pdfFileList="pdfFileList" :zfiId="this.form.zfiId" :parent="parent" @PDFData="PDFData">
|
|
|
</pdf-show>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ :visible.sync="pdfShowDialogs"
|
|
|
+ width="70%" height = "60%" append-to-body :show-close="false" >
|
|
|
+ <pdf-shows :pdfFileLists="pdfFileLists" :zfiId="this.form.zfiId" :parents="parents">
|
|
|
+ </pdf-shows>
|
|
|
+ </el-dialog>
|
|
|
<!--去融资-->
|
|
|
<el-dialog :visible.sync="goShow" width="300px" append-to-body :before-close = "cancelGo" center>
|
|
|
<!-- <p>恭喜您成功签收一笔融信</p> -->
|
|
@@ -381,6 +387,7 @@ import AddBill from "@/views/service/bill/addBill";
|
|
|
import EditBill from "@/views/service/bill/editBill";
|
|
|
import {isOpenApproval} from "@/api/service/credit/approvalRelatedCredit";
|
|
|
import pdfShow from "./pdfShow";
|
|
|
+import pdfShows from "./showStampedPdf";
|
|
|
import DetailBill from "@/views/service/credit/billDetail";
|
|
|
import {contractSigning} from "@/api/service/credit/message";
|
|
|
import { listFinanceInf } from "@/api/common/financeInf";
|
|
@@ -389,7 +396,7 @@ import { amtformat } from "@/utils/amtCommon";
|
|
|
import Cookies from 'js-cookie';
|
|
|
export default {
|
|
|
name: "addCredit",
|
|
|
- components: {AddBill,DetailBill,pdfShow,EditBill},
|
|
|
+ components: {AddBill,DetailBill,pdfShow,EditBill,pdfShows},
|
|
|
data() {
|
|
|
return {
|
|
|
//往来账款id
|
|
@@ -501,6 +508,9 @@ export default {
|
|
|
pdfFileList : [],
|
|
|
pdfShowDialog : false,
|
|
|
parent : this,
|
|
|
+ pdfShowDialogs : false,
|
|
|
+ pdfFileLists : [],
|
|
|
+ parents : this,
|
|
|
//显示去融资框
|
|
|
goShow:false,
|
|
|
//状态
|
|
@@ -565,6 +575,12 @@ export default {
|
|
|
this.getFinanceInf(zfiId);
|
|
|
},
|
|
|
methods: {
|
|
|
+ PDFData(val){
|
|
|
+ console.log(val,"子传父")
|
|
|
+ this.pdfFileLists = val;
|
|
|
+ this.pdfShowDialogs = true;
|
|
|
+
|
|
|
+ },
|
|
|
/** 查询融信编号 */
|
|
|
getFinanceInf(zfrFinanceId) {
|
|
|
this.loading = true;
|
|
@@ -1271,6 +1287,9 @@ export default {
|
|
|
closePdfShow(){
|
|
|
this.pdfShowDialog = false;
|
|
|
},
|
|
|
+ closePdfShows(){
|
|
|
+ this.pdfShowDialogs = false;
|
|
|
+ },
|
|
|
//盖章
|
|
|
contractSigning(){
|
|
|
const loading = this.$loading({
|