yxh
2023-12-12 e21e9ad99c4c2a306d15cb270dc41520450ac9f2
src/views/project/fund/applyDetail/index.vue
@@ -721,11 +721,11 @@
          style="margin-top: 25px; margin-bottom: 5px"
          v-if="operationType == 'check' && userprofile.nickName == '陈慕华'"
        >
          <el-col :span="7">
          <el-col :span="20">
            <el-form-item label="申请材料状态" prop="infoid">
              <el-radio-group v-model="form.checkstatus" align="left">
                <el-radio :label="1">待申请材料</el-radio>
                <el-radio :label="2">申请材料通过等待材料</el-radio>
                <el-radio :label="2">审核通过等待邮寄纸质材料</el-radio>
                <el-radio :label="3">已收到报销材料</el-radio>
              </el-radio-group>
            </el-form-item>
@@ -735,7 +735,7 @@
          style="margin-top: 5px; margin-bottom: 5px"
          v-if="operationType == 'check'"
        >
          <el-col :span="7">
          <el-col :span="20">
            <el-form-item label="审核结果" align="left">
              <el-radio-group v-model="checkObj.flowlevelone" align="left">
                <el-radio label="1">通过</el-radio>
@@ -762,7 +762,7 @@
              operationType == 'update' ||
              ismanager == true
          "
          >提交保存</el-button
          >保存</el-button
        >
        <el-button
          type="success"
@@ -2342,6 +2342,8 @@
                  });
                }
                this.form.id = response.data;
                this.curId = response.data;
                this.handleUpdate();
              } else {
                this.$modal.msgError("申请单保存失败:" + response.msg);
              }
@@ -2357,6 +2359,19 @@
    }, 500),
    //审批提交
    // checksubmit() {
    //   console.log(this.checkObj.flowlevelone);
    //   if (
    //     this.form.checkstatus != 3 &&
    //     this.userprofile.nickName == "陈慕华" &&
    //     this.checkObj.flowlevelone == 1
    //   ) {
    //     this.$modal.msgError("请选确认材料状态已收到!");
    //     return;
    //   }
    //   this.Savenow();
    //   console.log("保存并审批");
    // },
    checksubmit() {
      console.log(this.checkObj.flowlevelone);
      if (
@@ -2364,9 +2379,18 @@
        this.userprofile.nickName == "陈慕华" &&
        this.checkObj.flowlevelone == 1
      ) {
        this.$modal.msgError("请选确认材料状态已收到!");
        this.$modal.msgError("请确认报销的纸质材料已经收到!");
        return;
      } else if (
        (this.form.applytype == "1" || this.form.applytype == "2") &&
        this.form.fundtaxtime == null
      ) {
        this.$modal.msgError(
          "提交专家费用申请单、伦理专家申请费用申请单审核,需要先完成个税计算!"
        );
        return;
      }
      this.Savenow();
      console.log("保存并审批");
    },