| | |
| | | }; |
| | | |
| | | this.fileListto = []; |
| | | this.invoicepdfimg = []; |
| | | this.pdfimgsrcList = []; |
| | | this.pdfimg = ''; |
| | | this.atpresent = index; |
| | | this.pdfVisible = true; |
| | | if (this.annexfilesList.length) { |
| | |
| | | |
| | | this.tableDatatop = []; |
| | | this.fileListto = []; |
| | | this.invoicefileListto = []; |
| | | this.pdfimg = ''; |
| | | this.invoicepdfimg = []; |
| | | this.pdfimgsrcList = []; |
| | | this.invoDatatop = []; |
| | | this.invoicepdfimgsrcList = []; |
| | | this.invoDatatop.push(row); |
| | | this.tableDatatop.push(row); |
| | | this.atpresent = index; |
| | | this.pdfVisible = true; |
| | | |
| | | console.log(this.fileListto, "this.fileListto"); |
| | | console.log(this.invoicefileListto, "this.invoicefileListto"); |
| | | if (this.rbDetails[index].annexfilesList) { |
| | | this.rbDetails[index].annexfilesList.forEach((value, indexson) => { |
| | | const pdfimg = this.Networkheader + "/prod-api" + value.url; |
| | |
| | | invoicefileListto: [], |
| | | invoicepdfimg: "", |
| | | invoicepdfimgsrcList: [], |
| | | invoDatatop: [], |
| | | activeName: 1, //文件类型 |
| | | //上传附件路径 |
| | | uploadFileUrl: process.env.VUE_APP_BASE_API + "/common/upload", |
| | |
| | | |
| | | this.tableDatatop = []; |
| | | this.fileListto = []; |
| | | this.invoicefileListto = []; |
| | | this.pdfimg = ''; |
| | | this.invoicepdfimg = []; |
| | | this.pdfimgsrcList = []; |
| | | this.invoDatatop = []; |
| | | this.invoicepdfimgsrcList = []; |
| | | this.invoDatatop.push(row); |
| | | this.tableDatatop.push(row); |
| | | this.atpresent = index; |
| | | this.pdfVisible = true; |
| | |
| | | invoicefileListto: [], |
| | | invoicepdfimg: "", |
| | | invoicepdfimgsrcList: [], |
| | | invoDatatop: [], |
| | | //人员类别 |
| | | persontype: null, |
| | | //到达地 |
| | |
| | | |
| | | this.tableDatatop = []; |
| | | this.fileListto = []; |
| | | this.invoicefileListto = []; |
| | | this.pdfimg = []; |
| | | this.invoicepdfimg = []; |
| | | this.pdfimgsrcList = []; |
| | | this.invoDatatop = []; |
| | | this.invoicepdfimgsrcList = []; |
| | | this.invoDatatop.push(row); |
| | | this.tableDatatop.push(row); |
| | | this.atpresent = index; |
| | | this.pdfVisible = true; |
| | |
| | | if (this.form.infoid) { |
| | | updateReimbursementdetail(rbDetails[i]); |
| | | } else { |
| | | return this.$message.error(`因家属分配要求,请选择捐献者信息`); |
| | | return this.$message.error( |
| | | `因家属分配要求,请选择捐献者信息` |
| | | ); |
| | | } |
| | | } else { |
| | | updateReimbursementdetail(rbDetails[i]); |
| | |
| | | rbDetails[i].rbid = this.form.id; |
| | | addReimbursementdetail(rbDetails[i]); |
| | | } else { |
| | | return this.$message.error(`因家属分配要求,请选择捐献者信息`); |
| | | return this.$message.error( |
| | | `因家属分配要求,请选择捐献者信息` |
| | | ); |
| | | } |
| | | } else { |
| | | //rbid关联主表Id |