yxh
2023-12-17 e95f985e2dc8178d777074dd43b4dea5658eecdf
src/views/project/travelexpenseapply/travelexpensedetail/index.vue
@@ -12,6 +12,7 @@
                type="date"
                value-format="yyyy-MM-dd HH:mm:ss"
                placeholder="申请日期"
                :disabled="true"
              >
              </el-date-picker>
            </el-form-item>
@@ -107,23 +108,6 @@
                  :label="dict.label"
                  :value="dict.value"
                />
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="申请材料状态" prop="infoid">
              <el-select
                v-model="form.checkstatus"
                filterable
                placeholder="请选择申请材料状态"
              >
                <el-option
                  v-for="item in baselisttages"
                  :key="item.id"
                  :label="item.name"
                  :value="item.id"
                >
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>
@@ -914,17 +898,13 @@
        </el-row>
        <el-row
          style="margin-top: 25px; margin-bottom: 5px"
          v-if="operationType == 'check'"
          v-if="operationType == 'check' && userprofile.nickName == '陈慕华'"
        >
          <el-col :span="7">
          <el-col :span="12">
            <el-form-item label="申请材料状态" prop="infoid">
              <el-radio-group
                v-model="form.checkstatus"
                align="left"
                :disabled="userprofile.nickName != '陈慕华'"
              >
              <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>
@@ -1379,10 +1359,7 @@
      reimbursementList: [],
      // 表单校验
      rules: {
        createTime: [
          { required: true, message: "请输入填报日期", trigger: "blur" }
        ],
      rules: {
        reason: [
          { required: true, message: "请输入出差事由", trigger: "blur" }
        ],
@@ -1408,7 +1385,7 @@
        },
        {
          id: 2,
          name: "申请材料通过等待材料"
          name: "审核通过等待邮寄纸质材料"
        },
        {
          id: 3,
@@ -2239,11 +2216,9 @@
      this.operationType = "detail";
      this.title = "报销申请详情";
      this.jurisdiction = true;
      this.reset();
      this.open = true;
      const id = ids || this.ids;
      getReimbursement(id).then(response => {
        this.form = response.data;
        //票据
@@ -2257,7 +2232,6 @@
              .split(",")
              .map(item => ({ url: item, name: item }))
          : [];
        //审核状态
        this.form.recordstatus = response.data.recordstatus + "";
        let ids = response.data.id;
@@ -2378,14 +2352,12 @@
        this.$modal.msgError("请选择审核结论后再提交审批结果!");
        return;
      }
      if (this.userprofile.nickName == "陈慕华") {
        this.Savenow();
        console.log("保存");
      }
      checkfund(checkfundobj).then(res => {
        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);
@@ -2478,7 +2450,7 @@
                this.$router.go(-1);
              })
              .catch(err => {
                this.$modal.msgError("新增报销单保存失败!");
                this.$modal.msgError("新增报销单保存失败!" + res);
              });
          }
        }