11
WXL
2023-09-08 6ab278f846afc2af36899b75d74e3dc635c43d20
src/views/project/fund/officeExpenseApply/index.vue
@@ -66,7 +66,7 @@
            scope.row.recordstatus == 1
            " size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
            v-hasPermi="['project:medicalfund:edit']">修改</el-button>
          <el-button size="mini" type="text" icon="el-icon-edit" @click="handleDetail(scope.row)">查看</el-button>
          <el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.row)">查看</el-button>
          <el-button v-if="scope.row.recordstatus == -1 ||
            scope.row.recordstatus == 1
            " size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
@@ -666,13 +666,11 @@
        });
      } else if (this.detailInfoDialogShowType == "unit") {
        singleDetail.unitno = this.funddetailForm.unitno;
        console.log("this.funddetailForm", this.funddetailForm);
        try {
          let unitIndex = this.bankaccountlist.findIndex(
            (item) => singleDetail.unitno == item.reportNo
          );
          console.log("this.bankaccountlist[unitIndex]", this.bankaccountlist[unitIndex]);
          if (unitIndex > -1) {
            singleDetail.unitname = this.bankaccountlist[unitIndex].reportName;
            singleDetail.depositbank = this.bankaccountlist[unitIndex].depositbank;
@@ -684,7 +682,7 @@
          singleDetail.unitname = singleDetail.unitno;
        }
      }
      console.log("singleDetail", singleDetail);
      this.fundDetails[tempIndex] = singleDetail;
      this.detailInfoDialogShow = false;
    },
@@ -1190,7 +1188,6 @@
      //获取银行账号列表,类型是机构
      listReportname("org").then((res) => {
        this.bankaccountlist = res.data;
        console.log("this.bankaccountlist", this.bankaccountlist);
      });
    },
@@ -1346,7 +1343,6 @@
    getUnitList() {
      listOrganization(3).then((res) => {
        console.log("listOrganization", res);
        for (let i = 0; i < res.rows.length; i++) {
          this.unitList.push({
            organizationid: res.rows[i].organizationid,
@@ -1439,9 +1435,6 @@
    },
    //文件上传成功回调
    uploadSccess(response, file, fileList) {
      console.log("response", response);
      console.log("file", file);
      console.log("fileList", fileList);
      //获取附件信息位置
      if (response.code == 200) {
        this.form.filename = file.raw.name;
@@ -1464,9 +1457,7 @@
  // 点击文件
  Filepopup(index, rows, row) {
    console.log(index, rows, row);
    this.atpresent = index;
    console.log(this.atpresent);
    this.pdfVisible = true;
    if (this.fundDetails[index].annexfilesList) {
      this.fileListto = this.rbDetails[index].annexfilesList;