yxh
2023-12-14 916735aca6816732bc43a186dd9d7ccf5e5a1989
src/views/project/fund/applyDetail/index.vue
@@ -9,11 +9,12 @@
            <el-form-item label="申请日期" prop="createTime">
              <el-date-picker
                clearable
                :disabled="true"
                style="width: 100%"
                v-model="form.createTime"
                type="date"
                value-format="yyyy-MM-dd HH:mm:ss"
                placeholder="申请日期"
                placeholder="日   期"
              >
              </el-date-picker>
            </el-form-item>
@@ -1604,9 +1605,9 @@
      // 表单校验
      rules: {
        createTime: [
          { required: true, message: "请输入填报日期", trigger: "blur" }
        ],
        // createTime: [
        //   { required: true, message: "请输入填报日期", trigger: "blur" }
        // ],
        reason: [
          { required: true, message: "请输入出差事由", trigger: "blur" }
        ],
@@ -2374,22 +2375,27 @@
    // },
    checksubmit() {
      console.log(this.checkObj.flowlevelone);
      if (
        this.form.checkstatus != 3 &&
        this.userprofile.nickName == "陈慕华" &&
        this.checkObj.flowlevelone == 1
      ) {
      if(this.userprofile.nickName == "陈慕华"){
        //检查是否收到纸质材料
        if ( this.form.checkstatus != 3 && this.checkObj.flowlevelone == 1  ) {
        this.$modal.msgError("请确认报销的纸质材料已经收到!");
        return;
      } else if (
        (this.form.applytype == "1" || this.form.applytype == "2") &&
        this.form.fundtaxtime == null
      ) {
        }
        //检查个税计算
        // if ( (this.form.applytype == "1" || this.form.applytype == "2") && this.form.fundtaxtime == null ) {
        //   this.$modal.msgError(
        //     "提交专家费用申请单、伦理专家申请费用申请单审核,需要先完成个税计算!"
        //   );
        //   return;
        // }
         if ( (this.form.applytype == "1") && this.form.fundtaxtime == null ) {
        this.$modal.msgError(
          "提交专家费用申请单、伦理专家申请费用申请单审核,需要先完成个税计算!"
            "提交专家费用申请单审核,需要先完成个税计算!"
        );
        return;
      }
      }
      this.Savenow();
      console.log("保存并审批");