From 7bf2fb0fe59ca062ff4bf20688474ffae9856ce0 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 26 二月 2024 17:02:19 +0800 Subject: [PATCH] 11 --- src/views/project/travelexpenseapply/travelexpensedetail/index.vue | 18 +++++++++++++----- 1 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue index b67779b..c9eef9d 100644 --- a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue +++ b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue @@ -1410,7 +1410,6 @@ invoicefileListto: [], invoicepdfimg: "", invoicepdfimgsrcList: [], - invoDatatop: [], //浜哄憳绫诲埆 persontype: null, //鍒拌揪鍦� @@ -1636,11 +1635,11 @@ 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; @@ -2354,6 +2353,8 @@ getReimbursement(id).then(response => { this.form = response.data; + console.log(this.form.checkstatus, "checkstatus"); + this.form.checkstatus = this.form.checkstatus.toString(); //绁ㄦ嵁 this.fileListto = this.form.annexfiles @@ -2432,7 +2433,10 @@ this.Savenow(); console.log("淇濆瓨"); } + this.$modal.loading("姝e湪鎻愪氦瀹℃牳锛岃绋嶅�欙紒"); + checkfund(checkfundobj).then(res => { + this.$modal.closeLoading(); this.$modal.msgSuccess("鎻愪氦瀹℃牳鎴愬姛!"); // 鍏抽棴绐楀彛 this.$store.dispatch("tagsView/delView", this.$route); @@ -2473,7 +2477,9 @@ if (this.form.infoid) { updateReimbursementdetail(rbDetails[i]); } else { - return this.$message.error(`鍥犲灞炲垎閰嶈姹傦紝璇烽�夋嫨鎹愮尞鑰呬俊鎭痐); + return this.$message.error( + `鍥犲灞炲垎閰嶈姹傦紝璇烽�夋嫨鎹愮尞鑰呬俊鎭痐 + ); } } else { updateReimbursementdetail(rbDetails[i]); @@ -2485,7 +2491,9 @@ rbDetails[i].rbid = this.form.id; addReimbursementdetail(rbDetails[i]); } else { - return this.$message.error(`鍥犲灞炲垎閰嶈姹傦紝璇烽�夋嫨鎹愮尞鑰呬俊鎭痐); + return this.$message.error( + `鍥犲灞炲垎閰嶈姹傦紝璇烽�夋嫨鎹愮尞鑰呬俊鎭痐 + ); } } else { //rbid鍏宠仈涓昏〃Id -- Gitblit v1.9.3