From 037a98ac21771bfc0d23392266f65a7837676bc3 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 04 九月 2023 16:27:02 +0800 Subject: [PATCH] 11 --- src/views/project/travelexpenseapply/travelexpensedetail/index.vue | 35 ++++++++++++++++++++++++----------- 1 files changed, 24 insertions(+), 11 deletions(-) diff --git a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue index 95d53df..2a21e36 100644 --- a/src/views/project/travelexpenseapply/travelexpensedetail/index.vue +++ b/src/views/project/travelexpenseapply/travelexpensedetail/index.vue @@ -216,7 +216,7 @@ :data="rbDetails" ref="table" border - max-height="400" + max-height="800" highlight-current-row :summary-method="getSummaries" show-summary @@ -227,7 +227,7 @@ label="搴忓彿" align="center" fixed - width="65" + width="88" > <template slot-scope="scope"> <el-input v-model="scope.row.orderno" placeholder="搴忓彿" /> @@ -466,7 +466,7 @@ prop="trafficexpense" label="浜ら�氳垂" align="center" - width="80" + width="120" > <template slot-scope="scope"> <el-input @@ -484,7 +484,7 @@ prop="cityfee" label="甯傚唴浜ら�氳垂" align="center" - width="100" + width="120" > <template slot-scope="scope"> <el-input @@ -503,7 +503,7 @@ prop="hotelexpense" label="浣忓璐�" align="center" - width="80" + width="120" > <template slot-scope="scope"> <el-input @@ -522,7 +522,7 @@ prop="foodexpenses" label="椁愯垂鎶ラ攢" align="center" - width="80" + width="120" > <template slot-scope="scope"> <el-input @@ -540,7 +540,7 @@ prop="foodallowance" label="浼欓琛ュ姪" align="center" - width="80" + width="120" > <template slot-scope="scope"> <el-input @@ -558,7 +558,7 @@ prop="otherexpense" label="鍏潅璐硅ˉ鍔�" align="center" - width="80" + width="120" > <template slot-scope="scope"> <el-input @@ -577,7 +577,7 @@ prop="otherfeeamount" label="鍏朵粬璐圭敤" align="center" - width="90" + width="120" > <template slot-scope="scope"> <el-input @@ -1332,6 +1332,10 @@ name: file.name, url: response.fileName }); + this.pdfimgsrcList.push( + this.Networkheader + "/prod-api" + response.fileName + ); + // this.fileListto.push({ // name: file.name, // url: response.url @@ -1365,7 +1369,7 @@ // 鐐瑰嚮宸蹭笂浼犳枃浠� downFile(item) { - console.log(item); + console.log(item, "鐐瑰嚮鏂囦欢鎷縤tem"); this.pdftitle = item.name; let name = item.name.split("."); if (name[1] == "pdf") { @@ -1378,7 +1382,12 @@ this.pdfimg = this.Networkheader + "/prod-api" + item.url; // this.pdfimgsrcList = []; // this.pdfimgsrcList.push(this.pdfimg); - console.log(this.pdfimg); + if (!this.pdfimgsrcList.includes(this.pdfimg)) { + this.pdfimgsrcList.push(this.pdfimg); + console.log("鍔犲叆"); + } + console.log(this.pdfimg, "pdfimg"); + console.log(this.pdfimgsrcList, "imglist"); } else { this.pdfimg = this.Networkheader + "/prod-api" + item.response.url; } @@ -2728,6 +2737,10 @@ sums[index] = "鍚堣"; return; } + if (index === 18) { + sums[index] = this.form.amountrequested; + return; + } //鍘婚櫎閮ㄥ垎瀛楁璁$畻 if (columnnames.indexOf(column.property) > -1) { return; -- Gitblit v1.9.3