11
WXL
2023-10-12 e1d633ddeece986c1c866d4bc28e4193f3e3c41e
src/views/project/travelexpenseapply/travelexpensedetail/index.vue
@@ -111,11 +111,11 @@
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="预审状态" prop="infoid">
            <el-form-item label="申请材料状态" prop="infoid">
              <el-select
                v-model="form.checkstatus"
                filterable
                placeholder="请选择预审状态"
                placeholder="请选择申请材料状态"
              >
                <el-option
                  v-for="item in baselisttages"
@@ -917,14 +917,14 @@
          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="1">待申请材料</el-radio>
                <el-radio label="2">申请材料通过等待材料</el-radio>
                <el-radio label="3">已收到报销材料</el-radio>
              </el-radio-group>
            </el-form-item>
@@ -956,14 +956,14 @@
        <el-button
          type="primary"
          @click="submitForm"
          v-if="operationType == 'edit' || beforehandType == '1'"
          v-if="operationType == 'edit'||userprofile.nickName == '陈慕华'"
          >保 存</el-button
        >
        <el-button
          type="primary"
          @click="checksubmit"
          v-if="operationType == 'check' && beforehandType != '1'"
          >提 交</el-button
          v-if="operationType == 'check'"
          >提交审核</el-button
        >
        <!--<el-button @click="cancel">退 出</el-button>-->
      </div>
@@ -1294,11 +1294,11 @@
      baselisttages: [
        {
          id: 1,
          name: "待预审"
          name: "待申请材料"
        },
        {
          id: 2,
          name: "预审通过等待材料"
          name: "申请材料通过等待材料"
        },
        {
          id: 3,
@@ -1322,7 +1322,6 @@
      persontype: null,
      //到达地
      arriveAddr: null,
      beforehandType: null,
      headers: {
        Authorization: "Bearer " + getToken()
      },
@@ -1385,7 +1384,6 @@
    let curId = this.$route.query.id;
    let pos = this.$route.query.pos;
    this.defaultperson = this.$route.query.routerparam;
    this.beforehandType = this.$route.query.beforehandType;
    if (pos == 1) {
      this.handleAdd(curId);
    } else if (pos == 2) {
@@ -2158,8 +2156,12 @@
    //提交审核意见
    checksubmit() {
      if (this.form.checkstatus != 3 && this.userprofile.nickName == "陈慕华") {
        this.$modal.msgError("请确认收到材料后再提交审核!");
      if (
        this.form.checkstatus != 3 &&
        this.userprofile.nickName == "陈慕华" &&
        this.checkObj.flowlevelone == 1
      ) {
        this.$modal.msgError("请选确认材料状态已收到!");
        return;
      }
      let checkfundobj = {
@@ -2181,6 +2183,9 @@
        this.reset();
        this.open = false;
        this.$modal.msgSuccess("提交审核成功!");
        if (this.userprofile.nickName == "陈慕华") {
          this.submitForm();
        }
        // 关闭窗口
        this.$store.dispatch("tagsView/delView", this.$route);
        this.$router.go(-1);
@@ -2236,8 +2241,9 @@
                addReimbursementpayee(rbPayees[i]);
              }
            }
            this.$modal.msgSuccess("修改报销单保存成功!");
            if (this.userprofile.nickName != "陈慕华") {
              this.$modal.msgSuccess("修改报销单保存成功!");
            }
            this.open = false;
            // 关闭窗口
@@ -2833,7 +2839,7 @@
        "departure",
        "destination",
        "traffictype",
        "traffictype2",
        "traffictype2"
      ];
      columns.forEach((column, index) => {
        if (index === 0) {