yxh
yxh
2023-08-08 410d68c849410b4aa28be97bf60eb3af77641aa1
src/views/project/fund/fundApply/index.vue
@@ -369,7 +369,7 @@
        <el-row>
          <el-col :span="24">
            <el-form-item label="申请附件:" align="left" prop="annexbankcard">
              <el-upload size="mini" class="upload-demo" :action="uploadFileUrl" :file-list="fileList" multiple :limit="5"
              <el-upload size="mini" class="upload-demo" :action="uploadFileUrl" :file-list="fileList" multiple :limit="20"
                :headers="headers" :on-success="(response, file, fileList) =>
                  uploadSccess(response, file, fileList)
                  " :on-preview="downFile" :disabled='dialogType == "detail"' :on-error="handleUploadError"
@@ -447,7 +447,7 @@
  getdownloadSS,
  getdownloadYX,
  getdownloadBX,
  batchUploadFund,
  addorupdateFund,
  getdownloadLL,
  getdetailsByItemId,
} from "@/api/project/fund";
@@ -558,9 +558,6 @@
        deptmentname: [
          { required: true, message: "请输入所属组别", trigger: "blur" },
        ],
        amountrequested: [
          { required: true, message: "请输入申请金额", trigger: "blur" },
        ],
      },
      //捐献案例列表数据
      // donationCaseTableData:[],
@@ -627,14 +624,12 @@
      this.detailInfoDialogShowType = showType;
    },
    ConfirmDetailDialog() {
      debugger;
      let tempIndex = this.funddetailForm.index;
      let tempName = this.funddetailForm.beneficiaryname;
      let tempUnitname = this.funddetailForm.unitname;
      let singleDetail = this.fundDetailArr[tempIndex];
      if (this.detailInfoDialogShowType == "name") {
        this.personlist.map((res) => {
          debugger;
          if (tempName == res.username) {
            singleDetail.beneficiaryno = res.userno;
            singleDetail.beneficiaryname = res.username;
@@ -666,7 +661,6 @@
          singleDetail.unitname = singleDetail.unitno;
        }
      }
      debugger;
      this.fundDetailArr[tempIndex] = singleDetail;
      this.detailInfoDialogShow = false;
    },
@@ -1056,7 +1050,7 @@
            }
            this.form.serviceFunddetails = this.fundDetailArr;
            batchUploadFund(this.form).then((response) => {
            addorupdateFund(this.form).then((response) => {
              if (response.code === 200) {
                this.$modal.msgSuccess("新增成功");
                this.loading = false;