yxh
yxh
2023-08-11 f894e1b53bcc948cb1fc9aecd2c01a77d7a1db03
yxh
已修改3个文件
159 ■■■■ 文件已修改
src/views/project/fund/applyDetail/index.vue 82 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/fundcheck/expertFeeCheck/index.vue 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/fundcheck/medicalCostCheck/index.vue 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/fund/applyDetail/index.vue
@@ -71,7 +71,7 @@
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="应缴税" prop="taxcost">
            <el-form-item label="应缴税" prop="taxcost" v-if="businessType == '1' || businessType == '2'">
              <el-input v-model="form.taxcost" placeholder="应缴税金额合计" :disabled="true" />
            </el-form-item>
          </el-col>
@@ -86,15 +86,15 @@
              <el-input :disabled="true" v-model="form.name" placeholder="请输入捐献者姓名" />
            </el-form-item>
          </el-col>
          <!--
          <el-col :span="5">
            <el-form-item label="申请状态" prop="recordstatus">
              <!-- <el-input v-model="form.recordstatus" placeholder="审核意见"/> -->
              <el-select v-model="form.recordstatus" placeholder="请选择审核状态" clearable size="small" :disabled="true">
                <el-option v-for="dict in dict.type.sys_recordstatus" :key="dict.value" :label="dict.label"
                  :value="dict.value" />
              </el-select>
            </el-form-item>
          </el-col>
          </el-col>-->
        </el-row>
        <el-row style="margin-top: 5px; margin-bottom: 5px" />
        <el-row style="margin-bottom: 10px" v-if="businessType == '1'">
@@ -156,8 +156,8 @@
                  " />
              </template>
            </el-table-column>
            <el-table-column v-if="businessType == 3 || businessType == 4 || ismanager == true" prop="amount" align="center"
              label="税前金额" width="120">
            <el-table-column v-if="businessType == 3 || businessType == 4 || ismanager == true" prop="amount"
              align="center" label="税前金额" width="120">
              <template slot-scope="scope">
                <!--
                  <el-select v-model="scope.row.amount" placeholder="税前金额" clearable filterable allow-create
@@ -505,6 +505,7 @@
  getdownloadSH,
  getdownloadSS,
  getdownloadYX,
  checkfund,
  getdownloadBX,
  addorupdateFund,
  getdetailsByItemId
@@ -706,6 +707,12 @@
        usertype: null,
        wbm: null
      },
      //审批参数
      checkObj: {
        flowlevelone: null,
        flowconclusion: null,
        fundid: null,
      },
      // 查询参数
      queryParams: {
@@ -851,6 +858,7 @@
      this.curId = this.$route.query.id;
      this.businessType = this.$route.query.businessType;
      this.operationType = this.$route.query.operationType;
      console.log(this.businessType, this.operationType);
      //获取费用项目类型
      this.getFundType();
@@ -863,7 +871,7 @@
        this.curCase = this.$route.query.curCase;
        this.businessName = "伦理专家劳务费申请单";
      } else if (this.businessType == "3") {
        this.curCase = this.$route.query.curCase;
        if (this.operationType != "check") { this.curCase = this.$route.query.curCase; }
        this.businessName = "医学成本报销单";
      } else if (this.businessType == "4") {
        this.businessName = "杂项费用报销单";
@@ -961,6 +969,44 @@
        });
      });
    },
    /** 修改按钮操作 */
    handleCheck() {
      this.isopen = 0;
      this.reset();
      getFund(this.curId).then(response => {
        this.form = response.data;
        //附件处理
        // this.fileList = this.form.annexbankcard ? this.form.annexbankcard.split(",").map(item => ({ url: item, name: item })) : []
        //业务明细
        getownFundDetail(this.curId).then(res => {
          console.log(res);
          this.rbDetails = res.data;
          for (let m = 0; m < this.rbDetails.length; m++) {
            this.rbDetails[m].itemlist = [];
            this.getitemlist(m, this.rbDetails[m]);
            this.rbDetails[m].rowfeeblocks = [];
            this.rbDetails[m].rowfeeblocks.push({
              expense: this.rbDetails[m].expense,
              expensedescribe: this.rbDetails[m].servicesscopename,
              remark: this.rbDetails[m].servicesscope,
              servicesscope: this.rbDetails[m].servicesscope
            });
          }
        });
        //业务流程
        let listFundflowparams = {
          fundid: this.curId,
          fundtype: 2
        };
        listFundflow(listFundflowparams).then(res => {
          this.fundflowList = res.rows;
        });
      });
    },
    /** 查看按钮操作 */
    handleDetail() {
@@ -969,10 +1015,6 @@
      getFund(this.curId).then(response => {
        this.form = response.data;
        let listFundflowparams = {
          fundid: this.curId,
          fundtype: this.businessType
        };
        //附件处理
        // this.fileList = this.form.annexbankcard ? this.form.annexbankcard.split(",").map(item => ({ url: item, name: item })) : []
@@ -997,7 +1039,11 @@
          }
        });
        //业务流程
        //业务流程
        let listFundflowparams = {
          fundid: this.curId,
          fundtype: 2
        };
        listFundflow(listFundflowparams).then(res => {
          this.fundflowList = res.rows;
        });
@@ -1250,6 +1296,20 @@
      });
    },
    //审批提交
    checksubmit() {
      let checkFundObj = {
        // fundid: this.checkObj.fundid,
        fundid: this.curId,
        flowconclusion: this.checkObj.flowlevelone,
        flowcontent: this.checkObj.flowconclusion,
      };
      checkfund(checkFundObj).then((res) => {
        this.reset();
        this.$modal.msgSuccess("审核完成!");
      });
    },
    // 取消按钮
    cancel() {
      // this.reset();
src/views/project/fundcheck/expertFeeCheck/index.vue
@@ -33,33 +33,36 @@
    <el-form ref="infoform" label-width="100px">
      <el-row>
        <el-table v-loading="loading" border :data="donateconsolationfundList" @selection-change="handleSelectionChange">
          <!--
          <el-table-column label="审批状态" width="120" align="center" prop="checkFlag">
            <template slot-scope="scope">
              <span v-if="scope.row.checkFlag == 0"><i class="el-icon-check"
                  style="color: #5fb878; font-weight: bold"></i></span>
              <!-- <span v-else>待审核</span> -->
              <span v-else>待审核</span>
            </template>
          </el-table-column>
          -->
          <el-table-column label="申请日期" width="120" align="center" prop="createTime">
            <template slot-scope="scope">
              <span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span>
            </template>
          </el-table-column>
          <el-table-column label="经办人" align="center" prop="username" width="120px" />
          <el-table-column label="所属组别" align="center" prop="deptmentname" width="160px" />
          <el-table-column label="组长" align="center" prop="managername" width="120px" />
          <el-table-column label="经办人" align="center" prop="username" width="150px" />
          <el-table-column label="申请金额" align="center" prop="pretaxcost" width="200px" />
          <el-table-column label="所属组别" align="center" prop="deptmentname" width="200px" />
          <el-table-column label="组长" align="center" prop="managername" width="150px" />
          <!-- <el-table-column label="工作单位" align="center"  prop="unitname" width="230px" /> -->
          <!-- <el-table-column label="联系电话" align="center"  prop="phone"  width="160"  /> -->
          <el-table-column label="税前金额" align="center" prop="pretaxcost" width="120px" />
          <el-table-column label="税后金额" align="center" prop="taxedcost" width="120px" />
          <!-- <el-table-column label="税后金额" align="center" prop="taxedcost" width="120px" />
          <el-table-column label="申请金额" align="center" prop="amountrequested" width="120px" />
          <el-table-column label="预支费用" align="center" prop="prepaidamount" width="120px" />
          <el-table-column label="审核状态" align="center" prop="recordstatus" width="180">
          <el-table-column label="预支费用" align="center" prop="prepaidamount" width="120px" /> -->
          <el-table-column label="审核状态" align="center" prop="recordstatus" width="200">
            <template slot-scope="scope">
              <dict-tag :options="dict.type.sys_recordstatus" :value="scope.row.recordstatus" />
            </template>
          </el-table-column>
          <el-table-column label="捐献者" align="center" prop="donorname" width="120px" />
          <el-table-column label="备注" align="center" prop="remark" />
          <!--<el-table-column label="捐献编号" align="center" prop="donorno" />
          <el-table-column label="财务审核" align="center" prop="financechecher" width="140" />-->
          <el-table-column label="操作" fixed="right" align="center" class-name="small-padding fixed-width" width="160px">
@@ -124,7 +127,7 @@
            </el-form-item></el-col>
          <el-col :span="10">
            <el-form-item label="申请说明" prop="remark">
              <el-input disabled v-model="form.remark" placeholder="请输入捐献者姓名" clearable />
              <el-input disabled v-model="form.remark" placeholder="请输入申请说明" clearable />
            </el-form-item>
          </el-col>
          <el-col :span="5">
@@ -151,30 +154,29 @@
          -->
        </el-row>
        <el-row>
          <el-col :span="5">
            <el-form-item label="合计金额" prop="amountrequested">
          <!-- <el-col :span="5">
            <el-form-item label="扣税金额" prop="amountrequested">
              <el-input v-model="form.amountrequested" placeholder="申请金额" :disabled="true" />
            </el-form-item>
          </el-col>
          </el-col> -->
          <el-col :span="5">
            <el-form-item label="税前金额" prop="amountrequested">
            <el-form-item label="税前合计" prop="pretaxcost">
              <el-input v-model="form.pretaxcost" placeholder="税前金额合计" />
            </el-form-item>
          </el-col>
          <el-col :span="5">
            <el-form-item label="税后金额" prop="amountrequested">
            <el-form-item label="税后合计" prop="taxedcost">
              <el-input v-model="form.taxedcost" placeholder="税后金额合计" />
            </el-form-item>
          </el-col>
          </el-col><!--
          <el-col :span="5">
            <el-form-item label="申请状态" prop="recordstatus">
              <!-- <el-input v-model="form.recordstatus" placeholder="审核意见"/> -->
              <el-select v-model="form.recordstatus" placeholder="请选择审核状态" clearable size="small" :disabled="true">
                <el-option v-for="dict in dict.type.sys_recordstatus" :key="dict.value" :label="dict.label"
                  :value="dict.value" />
              </el-select>
            </el-form-item>
          </el-col>
            </el-form-item>
          </el-col>-->
        </el-row>
        <el-row>
          <el-col :span="4">
src/views/project/fundcheck/medicalCostCheck/index.vue
@@ -32,26 +32,28 @@
    <el-form ref="infoform" label-width="100px">
      <el-row>
        <el-table v-loading="loading" border :data="donateconsolationfundList" @selection-change="handleSelectionChange">
          <!--
          <el-table-column label="审批状态" width="120" align="center" prop="checkFlag">
            <template slot-scope="scope">
              <span v-if="scope.row.checkFlag == 0"><i class="el-icon-check"
                  style="color: #5fb878; font-weight: bold"></i></span>
              <!-- <span v-else>待审核</span> -->
              <span v-else>待审核</span>
            </template>
          </el-table-column>
          <el-table-column label="申请日期" width="120" align="center" prop="createTime">
           -->
          <el-table-column label="申请日期" width="180" align="center" prop="createTime">
            <template slot-scope="scope">
              <span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span>
            </template>
          </el-table-column>
          <el-table-column label="申请人" align="center" prop="username" width="120px" />
          <el-table-column label="所属组别" align="center" prop="deptmentname" width="140px" />
          <el-table-column label="组长" align="center" prop="managername" width="120px" />
          <el-table-column label="捐献者" align="center" prop="donorname" width="120px" />
          <el-table-column label="经办人" align="center" prop="username" width="150px" />
          <el-table-column label="申请金额" align="center" prop="amountrequested" width="200px" />
          <el-table-column label="所属组别" align="center" prop="deptmentname" width="200px" />
          <el-table-column label="组长" align="center" prop="managername" width="150px" />
          <!--<el-table-column label="捐献编号" align="center" prop="donorno" />-->
          <el-table-column label="申请金额" align="center" prop="amountrequested" width="120px" />
          <!--
          <el-table-column label="预支费用" align="center" prop="prepaidamount" width="120px" />
          <!--<el-table-column label="工作单位" align="center" prop="unitname" width="230px" />
          <el-table-column label="工作单位" align="center" prop="unitname" width="230px" />
          <el-table-column label="联系电话" align="center" prop="phone" width="160" />
          <el-table-column label="当前审核级别" width="180" align="center" prop="flowlevel">
            <template slot-scope="scope">
@@ -60,20 +62,21 @@
          </el-table-column>
          <el-table-column label="财务审核" align="center" prop="financechecher" width="140" />
          -->
          <el-table-column label="记录状态" align="center" prop="recordstatus" width="180">
          <el-table-column label="捐献者" align="center" prop="donorname" width="150px" />
          <el-table-column label="审批状态" align="center" prop="recordstatus" width="180">
            <template slot-scope="scope">
              <dict-tag :options="dict.type.sys_recordstatus" :value="scope.row.recordstatus" />
            </template>
          </el-table-column>
          <el-table-column label="备注" align="center" prop="remark" />
          <el-table-column label="操作" fixed="right" align="center" class-name="small-padding fixed-width" width="260px">
            <template slot-scope="scope">
              <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.checkFlag == 0"
                @click="handleShow(scope.row)">详情</el-button>
              <el-button v-if="scope.row.checkFlag == 1" size="mini" type="text" icon="el-icon-edit"
                @click="handleUpdate(scope.row)">审核</el-button>
              <!-- v-hasPermi="['project:donateconsolationfund:edit']" -->
              <el-button size="mini" type="text" icon="el-icon-download" @click="totaldayin(scope.row.id)"
                v-hasPermi="['project:donateconsolationfund:download']">下载</el-button>
              <el-button size="mini" type="text" icon="el-icon-edit" @click="handleShow(scope.row)">详情</el-button>
              <el-button size="mini" type="text" icon="el-icon-download" @click="totaldayin(scope.row.id)">下载</el-button>
              <!-- v-hasPermi="['project:donateconsolationfund:download']" -->
              <!-- 新增审核页面 -->
              <!-- <el-button
@@ -910,6 +913,16 @@
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.$router.push({
        path: "/finance/applyDetail/",
        query: {
          id: row.id,
          businessType: "3",
          operationType: "check"
        }
      });
      return;
      this.isopen = 0;
      this.reset();
      this.queryParams.params = {};