yxh
2023-08-02 57451296729e00be76124e4a6be7c14bdf67c0e6
src/views/project/fund/medicalCostFundApply/index.vue
@@ -506,7 +506,7 @@
  getdownloadSS,
  getdownloadYX,
  getdownloadBX,
  batchUploadFund,
  addorupdateFund,
  getdetailsByItemId,
} from "@/api/project/fund";
import {
@@ -614,9 +614,6 @@
        ],
        deptmentname: [
          { required: true, message: "请输入所属业务组", trigger: "blur" },
        ],
        amountrequested: [
          { required: true, message: "请输入申请金额", trigger: "blur" },
        ],
      },
@@ -1079,9 +1076,11 @@
          this.form.pretaxcost = parseFloat(this.form.amountrequested).toFixed(
            2
          );
          if (this.form.id != null) {
            updateFund(this.form).then((response) => {
              this.getfundList();
              this.dialogOpen = false;
              this.getList();
              this.selectDonotor(this.curCase);
@@ -1131,7 +1130,7 @@
            }
            this.form.serviceFunddetails = this.fundDetails;
            batchUploadFund(this.form).then((response) => {
            addorupdateFund(this.form).then((response) => {
              if (response.code === 200) {
                this.$modal.msgSuccess("新增成功");
                this.loading = false;
@@ -1140,8 +1139,16 @@
                this.loading = false;
              }
            });
            //关闭窗口
            this.loading = false;
            this.dialogOpen = false;
            // this.getfundList();
            this.getList();
            this.selectDonotor(this.curCase);
          }
        }
      });
    },