11
WXL
2023-10-16 29b4ba2b27bd486b6beccb6f03678d8eb8d7b862
src/views/project/fund/applyDetail/index.vue
@@ -147,10 +147,10 @@
          </el-col>
          <el-col :span="3">
            <div style="margin-bottom: 15px;"
            <div
              style="margin-bottom: 15px;"
              v-if="
                (businessType == 1 || businessType == 2 || businessType == 5) &&
                  operationType != 'detail'
                userprofile.nickName == '陈慕华' && operationType == 'check'
              "
            >
              <el-button
@@ -738,15 +738,15 @@
          v-if="operationType == 'check'"
        >
          <el-col :span="7">
            <el-form-item label="预审状态" prop="infoid">
            <el-form-item label="申请材料状态" prop="infoid">
              <el-radio-group
                v-model="form.checkstatus"
                align="left"
                :disabled="userprofile.nickName != '陈慕华'"
              >
                <el-radio label="1">待预审</el-radio>
                <el-radio label="2">预审通过等待材料</el-radio>
                <el-radio label="3">已收到报销材料</el-radio>
                <el-radio :label="1">待申请材料</el-radio>
                <el-radio :label="2">申请材料通过等待材料</el-radio>
                <el-radio :label="3">已收到报销材料</el-radio>
              </el-radio-group>
            </el-form-item>
          </el-col>
@@ -780,8 +780,7 @@
          v-if="
            operationType == 'add' ||
              operationType == 'update' ||
              ismanager == true ||
              beforehandType == '1'
              ismanager == true
          "
          >提交保存</el-button
        >
@@ -794,7 +793,7 @@
        <el-button
          type="primary"
          @click="checksubmit"
          v-if="operationType == 'check' && beforehandType != '1'"
          v-if="operationType == 'check'"
          >提交审核</el-button
        >
        <el-button @click="cancel">关 闭</el-button>
@@ -1469,15 +1468,15 @@
      baselisttages: [
        {
          id: 1,
          name: "待预审"
          name: "材料待审核"
        },
        {
          id: 2,
          name: "预审通过等待材料"
          name: "审查通过等待邮寄纸质材料"
        },
        {
          id: 3,
          name: "已收到报销材料"
          name: "已收到纸质材料"
        }
      ],
@@ -1614,7 +1613,6 @@
        money: "0",
        startTime: ""
      },
      beforehandType: null,
      //服务费用参数
      expenseQueryParams: {
        pageNum: 1,
@@ -1740,7 +1738,6 @@
      this.curId = this.$route.query.id;
      this.businessType = this.$route.query.businessType;
      this.operationType = this.$route.query.operationType;
      this.beforehandType = this.$route.query.beforehandType;
      //获取费用项目类型
      this.getFeeTypes();
@@ -2225,7 +2222,9 @@
            console.log(this.form);
            console.log(response, "保存返参");
            if (response.code === 200) {
              this.$modal.msgSuccess("申请单保存成功!");
              if (this.userprofile.nickName != "陈慕华") {
                this.$modal.msgSuccess("申请单保存成功!");
              }
              this.$store.dispatch("tagsView/delView", this.$route);
              this.$router.push({
                path: "/finance/applyDetail/",
@@ -2250,8 +2249,13 @@
    //审批提交
    checksubmit() {
      if (!this.form.checkstatus && this.userprofile.nickName == "陈慕华") {
        this.$modal.msgError("请确认预审状态后再提交审核!");
      console.log(this.checkObj.flowlevelone);
      if (
        this.form.checkstatus != 3 &&
        this.userprofile.nickName == "陈慕华" &&
        this.checkObj.flowlevelone == 1
      ) {
        this.$modal.msgError("请选确认材料状态已收到!");
        return;
      }
      let checkFundObj = {
@@ -2264,6 +2268,9 @@
        //关闭窗口
        this.reset();
        this.$modal.msgSuccess("审核完成!");
        if (this.userprofile.nickName == "陈慕华") {
          this.submitForm();
        }
        this.$store.dispatch("tagsView/delView", this.$route);
        this.$router.go(-1);
      });