yxh
yxh
9 天以前 8022f7036945b75f82f2dfc43055623f81ed98f6
src/views/project/fund/applyDetail/index.vue
@@ -56,7 +56,7 @@
          </el-col>
        </el-row>
        <el-row>
          <!--
          <!--
          <el-col :span="7">
            <el-form-item label="工作单位" prop="unitno">
              <org-selecter ref="orgSelecter" :org-type="'3'" v-model="form.unitno" />
@@ -113,7 +113,7 @@
              <el-input v-model="form.remark" placeholder="申请说明" />
            </el-form-item>
          </el-col>
          <!--
          <!--
          <el-col :span="5">
            <el-form-item label="申请状态" prop="recordstatus">
              <el-select v-model="form.recordstatus" placeholder="请选择审核状态" clearable size="small" :disabled="true">
@@ -158,7 +158,7 @@
              >
            </div>
          </el-col>
          <el-col
          <!-- <el-col
            :span="3"
            v-if="
              userprofile.nickName == '陈慕华' &&
@@ -174,7 +174,7 @@
                >计算个税</el-button
              >
            </div>
          </el-col>
          </el-col> -->
        </el-row>
        <el-row>
          <el-table
@@ -510,7 +510,10 @@
                  type="text"
                  size="small"
                  v-if="
                    businessType == 2 || businessType == 3 || businessType == 4
                    businessType == 2 ||
                      businessType == 3 ||
                      businessType == 4 ||
                      businessType == 1
                  "
                  >票据</el-button
                >
@@ -645,12 +648,21 @@
          style="margin-top: 25px; margin-bottom: 5px"
          v-if="operationType == 'check' && userprofile.nickName == '陈慕华'"
        >
          <el-col :span="20">
          <el-col :span="12">
            <el-form-item label="预审材料" prop="infoid">
              <el-radio-group v-model="form.checkstatus" align="left">
                <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>
          <el-col :span="12" v-if="businessType == 1">
            <el-form-item label="算税状态" prop="infoid">
              <el-radio-group v-model="form.istax" align="left">
                <el-radio :label="-1">审核中</el-radio>
                <el-radio :label="0">允许算税</el-radio>
                <el-radio :label="1">已算税</el-radio>
              </el-radio-group>
            </el-form-item>
          </el-col>
@@ -2225,7 +2237,7 @@
          sessionStorage.setItem("apiform", JSON.stringify(this.form));
          addorupdateFund(this.form)
            .then(response => {
              if (response.code === 200) {
              if (response.code == 200) {
                if (this.form.id) {
                  this.$modal.msgSuccess("申请单修改成功!");
                  this.$router.go(-1);
@@ -2681,7 +2693,15 @@
                this.$modal.msgWarning(
                  "服务项目表中,第" +
                    (k + 1).toString() +
                    "行的服务人员姓名为选择,请选择人员后再提交保存!"
                    "行的人员姓名为空,请选择人员后再提交保存!"
                );
                return;
              }
              if (tempDetail.unitname == null) {
                this.$modal.msgWarning(
                  "服务项目表中,第" +
                    (k + 1).toString() +
                    "行的专家单位为空,请选择单位后再提交保存!"
                );
                return;
              }
@@ -2787,11 +2807,21 @@
                };
                this.$modal.loading("正在提交审核,请稍候!");
                checkfund(checkFundObj).then(res => {
                  //关闭窗口
                  this.$modal.closeLoading();
                  this.$modal.msgSuccess("审核完成!");
                  this.$store.dispatch("tagsView/delView", this.$route);
                  this.$router.go(-1);
                  if (res.code == 200) {
                    //关闭窗口
                    this.$modal.closeLoading();
                    this.$modal.msgSuccess("审核完成!");
                    this.$store.dispatch("tagsView/delView", this.$route);
                    this.$router.go(-1);
                  } else {
                    this.$modal.closeLoading();
                    if (res.msg) {
                      this.$modal.msgError("操作失误");
                    } else {
                      this.$modal.msgError(res.msg);
                    }
                  }
                });
              }
              this.Getnetworkheader();
@@ -3019,10 +3049,8 @@
        .catch(() => {
          //几点取消的提示
        });
      //全部删除后添加一条新行
    },
    //计算总金额
    sumTotalFee(row) {
      let allSum = 0;
@@ -3530,6 +3558,17 @@
            ) {
              this.accountlist.map(res => {
                if (res.id == this.accountselectform.accountname) {
                  console.log(res, "res");
                  const hasIdOne = this.rbDetails.some(
                    obj => obj.beneficiaryname == res.username
                  );
                  if (hasIdOne) {
                    this.$modal.msgWarning(
                      "服务项目表中,人员名称:" +
                        res.username +
                        "重复,请注意核对信息!"
                    );
                  }
                  this.rbDetails[tempIndex].beneficiaryno = res.userno;
                  this.rbDetails[tempIndex].beneficiaryname = res.username;
                  this.rbDetails[tempIndex].depositbank = res.depositbank;