11
WXL
2023-09-04 037a98ac21771bfc0d23392266f65a7837676bc3
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, "点击文件拿item");
      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;