From 3b7aabfe05743f678dbeda05b5c75a155353c5eb Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 11 三月 2024 13:15:12 +0800 Subject: [PATCH] 11 --- src/views/project/fund/performancedetails/index.vue | 39 +++++++++++++++++++++++++++++++-------- 1 files changed, 31 insertions(+), 8 deletions(-) diff --git a/src/views/project/fund/performancedetails/index.vue b/src/views/project/fund/performancedetails/index.vue index eb1b9c3..d51f2ee 100644 --- a/src/views/project/fund/performancedetails/index.vue +++ b/src/views/project/fund/performancedetails/index.vue @@ -147,6 +147,7 @@ align="center" label="搴忓彿" width="88" + fixed > <template slot-scope="scope"> <el-input v-model="scope.row.orderno" placeholder="搴忓彿" /> @@ -157,6 +158,7 @@ align="center" label="鏈嶅姟绫诲瀷" width="200" + fixed > <template slot-scope="scope"> <el-select @@ -194,6 +196,21 @@ :value="dict.id" ></el-option> </el-select> + </template> + </el-table-column> + <el-table-column + prop="amount" + align="center" + label="缁╂晥鏃ユ湡" + width="260" + > + <template slot-scope="scope"> + <el-date-picker + v-model="scope.row.jxrq" + type="date" + placeholder="閫夋嫨鏃ユ湡" + > + </el-date-picker> </template> </el-table-column> <el-table-column @@ -237,7 +254,6 @@ align="center" label="鎵g◣閲戦" width="120" - > <template slot-scope="scope"> <el-input @@ -2531,7 +2547,6 @@ this.pdfVisible = true; if (this.rbDetails[index].annexfilesList) { - const fetchPromises = this.rbDetails[index].annexfilesList.map( (value, indexson) => { const pdfimg = this.Networkheader + "/prod-api" + value.url; @@ -2584,10 +2599,14 @@ ); Promise.all(fetchPromises).then(invoicefileListto => { - this.invoicefileListto = invoicefileListto.filter(item => item !== null); + this.invoicefileListto = invoicefileListto.filter( + item => item !== null + ); this.invoicepdfimg = this.invoicefileListto[0].url; console.log(this.invoicepdfimg, "invoicepdfimg"); - this.invoicepdfimgsrcList = this.invoicefileListto.map(item => item.url); + this.invoicepdfimgsrcList = this.invoicefileListto.map( + item => item.url + ); }); this.previewpdf = true; @@ -2703,8 +2722,10 @@ const index = this.getIndexInArray(this.fileListto, row); const item = this.fileListto.splice(index, 1)[0]; // 绉婚櫎鎸囧畾绱㈠紩澶勭殑鍏冪礌锛屽苟淇濆瓨鍒癷tem鍙橀噺涓� this.fileListto.splice(index - 1, 0, item); // 灏唅tem鎻掑叆鍒扮储寮曚綅缃殑鍓嶄竴浣� - - const indexann = this.rbDetails[this.atpresent].annexfilesList.findIndex(item => item.name == row.name); + + const indexann = this.rbDetails[ + this.atpresent + ].annexfilesList.findIndex(item => item.name == row.name); const itemann = this.rbDetails[this.atpresent].annexfilesList.splice( indexann, 1 @@ -2718,8 +2739,10 @@ const index = this.getIndexInArray(this.invoicefileListto, row); const item = this.invoicefileListto.splice(index, 1)[0]; // 绉婚櫎鎸囧畾绱㈠紩澶勭殑鍏冪礌锛屽苟淇濆瓨鍒癷tem鍙橀噺涓� this.invoicefileListto.splice(index - 1, 0, item); // 灏唅tem鎻掑叆鍒扮储寮曚綅缃殑鍓嶄竴浣� - - const indexinvo = this.rbDetails[this.atpresent].invoicefilesList.findIndex(item => item.name == row.name); + + const indexinvo = this.rbDetails[ + this.atpresent + ].invoicefilesList.findIndex(item => item.name == row.name); const iteminvo = this.rbDetails[this.atpresent].invoicefilesList.splice( indexinvo, 1 -- Gitblit v1.9.3