11
WXL
2023-10-16 29b4ba2b27bd486b6beccb6f03678d8eb8d7b862
src/views/project/fund/applyDetail/index.vue
@@ -115,17 +115,6 @@
          </el-col>-->
        </el-row>
        <el-row style="margin-top: 5px; margin-bottom: 5px" />
        <el-row style="margin-bottom: 10px" v-if="businessType == '1'">
          <el-col :span="4">
            <el-button
              @click.native.prevent="importFeeItems"
              type="primary"
              size="small"
            >
              导入服务项目
            </el-button>
          </el-col>
        </el-row>
        <el-row v-if="jurisdiction">
          <!-- <el-alert title="当前为查看状态,不支持修改存储。" type="warning">
          </el-alert> -->
@@ -136,29 +125,42 @@
          >
          </el-alert>
        </el-row>
        <el-row v-if="businessType == 2">
        <el-row>
          <el-col :span="3" v-if="businessType == '1'">
            <el-button
              @click.native.prevent="importFeeItems"
              type="primary"
              size="small"
            >
              导入服务项目
            </el-button>
          </el-col>
          <el-col :span="3"
            ><div style="margin-bottom: 15px;">
            ><div style="margin-bottom: 15px;" v-if="businessType == 2">
              <el-button
                type="success"
                icon="el-icon-download"
                @click="Batchentry"
                >批量录入</el-button
              >
            </div></el-col
          >
        </el-row>
        <el-row v-if="businessType == 1 && operationType == 'check'">
          <el-col :span="3"
            ><div style="margin-bottom: 15px;">
            </div>
          </el-col>
          <el-col :span="3">
            <div
              style="margin-bottom: 15px;"
              v-if="
                userprofile.nickName == '陈慕华' && operationType == 'check'
              "
            >
              <el-button
                type="success"
                icon="el-icon-edit-outline"
                @click="Manualcalculationfn"
                >计算明细</el-button
              >
            </div></el-col
          >
            </div>
          </el-col>
        </el-row>
        <el-row>
          <el-table
@@ -736,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>
@@ -778,8 +780,7 @@
          v-if="
            operationType == 'add' ||
              operationType == 'update' ||
              ismanager == true ||
              beforehandType == '1'
              ismanager == true
          "
          >提交保存</el-button
        >
@@ -792,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>
@@ -1467,15 +1468,15 @@
      baselisttages: [
        {
          id: 1,
          name: "待预审"
          name: "材料待审核"
        },
        {
          id: 2,
          name: "预审通过等待材料"
          name: "审查通过等待邮寄纸质材料"
        },
        {
          id: 3,
          name: "已收到报销材料"
          name: "已收到纸质材料"
        }
      ],
@@ -1612,7 +1613,6 @@
        money: "0",
        startTime: ""
      },
      beforehandType: null,
      //服务费用参数
      expenseQueryParams: {
        pageNum: 1,
@@ -1738,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();
@@ -2223,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/",
@@ -2248,8 +2249,13 @@
    //审批提交
    checksubmit() {
      if (this.form.checkstatus != 3 && 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 = {
@@ -2262,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);
      });
@@ -3035,7 +3044,7 @@
        beneficiaryname: null,
        beneficiaryno: null,
        unitname: null,
        itemdescribe:null,
        itemdescribe: null,
        unitno: null,
        uintuserno: null,
        title: null,