| | |
| | | :data="rbDetails" |
| | | ref="table" |
| | | border |
| | | max-height="400" |
| | | max-height="800" |
| | | highlight-current-row |
| | | :summary-method="getSummaries" |
| | | show-summary |
| | |
| | | label="序号" |
| | | align="center" |
| | | fixed |
| | | width="65" |
| | | width="88" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.orderno" placeholder="序号" /> |
| | |
| | | prop="trafficexpense" |
| | | label="交通费" |
| | | align="center" |
| | | width="80" |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | |
| | | prop="cityfee" |
| | | label="市内交通费" |
| | | align="center" |
| | | width="100" |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | |
| | | prop="hotelexpense" |
| | | label="住宿费" |
| | | align="center" |
| | | width="80" |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | |
| | | prop="foodexpenses" |
| | | label="餐费报销" |
| | | align="center" |
| | | width="80" |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | |
| | | prop="foodallowance" |
| | | label="伙食补助" |
| | | align="center" |
| | | width="80" |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | |
| | | prop="otherexpense" |
| | | label="公杂费补助" |
| | | align="center" |
| | | width="80" |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | |
| | | prop="otherfeeamount" |
| | | label="其他费用" |
| | | align="center" |
| | | width="90" |
| | | width="120" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | |
| | | name: file.name, |
| | | url: response.fileName |
| | | }); |
| | | this.pdfimgsrcList.push( |
| | | this.Networkheader + "/prod-api" + response.fileName |
| | | ); |
| | | |
| | | // this.fileListto.push({ |
| | | // name: file.name, |
| | | // url: response.url |
| | |
| | | |
| | | // 点击已上传文件 |
| | | downFile(item) { |
| | | console.log(item); |
| | | console.log(item, "点击文件拿item"); |
| | | this.pdftitle = item.name; |
| | | let name = item.name.split("."); |
| | | if (name[1] == "pdf") { |
| | |
| | | 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; |
| | | } |
| | |
| | | sums[index] = "合计"; |
| | | return; |
| | | } |
| | | if (index === 18) { |
| | | sums[index] = this.form.amountrequested; |
| | | return; |
| | | } |
| | | //去除部分字段计算 |
| | | if (columnnames.indexOf(column.property) > -1) { |
| | | return; |