11
WXL
2023-11-24 d85c168ade991c13f68727d544ccb7107b4a48ad
src/views/project/fund/applyDetail/index.vue
@@ -150,7 +150,8 @@
            <div
              style="margin-bottom: 15px;"
              v-if="
                userprofile.nickName == '陈慕华' && operationType == 'check'
                userprofile.nickName == '陈慕华' &&
                  (businessType == '1' || businessType == '2')
              "
            >
              <el-button
@@ -346,7 +347,7 @@
            <el-table-column
              prop="beneficiaryname"
              align="center"
              label="姓名"
              label="专家/单位"
              width="120"
              v-if="form.applytype == '1' || form.applytype == '2'"
            >
@@ -366,7 +367,7 @@
            <el-table-column
              prop="unitno"
              align="center"
              label="单位名称"
              label="专家所在单位"
              width="250"
              v-if="form.applytype != '4' && form.applytype != '3'"
            >
@@ -451,7 +452,7 @@
                <el-form-item :error="scope.row.error" label-width="0">
                  <el-input
                    v-model.number="scope.row.idcardno"
                    @input="tableParValueChange(scope.row)"
                    @input="tableParValueChange1(scope.row)"
                    placeholder="身份证号"
                  />
                </el-form-item>
@@ -558,7 +559,9 @@
                  "
                  type="text"
                  size="small"
                  v-if="businessType == 3 || businessType == 4"
                  v-if="
                    businessType == 3 || businessType == 2 || businessType == 4
                  "
                  >票据</el-button
                >
              </template>
@@ -863,7 +866,7 @@
          </el-col>
          <el-col :span="24" v-if="experthear == 'unit'">
            <el-form-item
              label="人员姓名"
              label="专家/单位"
              prop="beneficiaryname"
              label-width="80px"
            >
@@ -1152,9 +1155,8 @@
                    label="名称"
                  >
                    <template slot-scope="scope">
                      <i style="color:#409EFF" class=" el-icon-s-order" />{{
                        scope.row.name
                      }}
                      <i style="color:#409EFF" class=" el-icon-s-order" />
                      <a :href="pdfimg">{{ scope.row.name }}</a>
                    </template>
                  </el-table-column>
@@ -1249,9 +1251,8 @@
                    label="名称"
                  >
                    <template slot-scope="scope">
                      <i style="color:#409EFF" class=" el-icon-s-order" />{{
                        scope.row.name
                      }}
                      <i style="color:#409EFF" class=" el-icon-s-order" />
                      <a :href="invoicepdfimg">{{ scope.row.name }}</a>
                    </template>
                  </el-table-column>
@@ -1574,7 +1575,7 @@
        ]
      },
      funddrules: {
        expertidcardno: [{ validator: validatePass, trigger: "blur" }],
        // expertidcardno: [{ validator: validatePass, trigger: "blur" }],
        expertdepositbank: [
          { required: true, message: "请输入开户银行", trigger: "change" }
        ],
@@ -2122,6 +2123,8 @@
              );
              return;
            }
            /*
            if (
              tempDetail.idcardno == null &&
              this.businessType != "3" &&
@@ -2135,6 +2138,7 @@
              );
              return;
            }
            */
            if (this.businessType == "1") {
              if (tempDetail.servicesscope == null) {
@@ -2296,6 +2300,7 @@
                  }
                });
              }
              this.form.id = response.data;
            } else {
              this.$modal.msgError("申请单保存失败:" + response.msg);
            }
@@ -2887,20 +2892,22 @@
          );
          sessionStorage.setItem("apiform", JSON.stringify(this.form));
          // this.$router.go(0);
          this.$router.push({
            path: "/finance/applyDetail/",
            query: {
              id: this.curId,
              businessType: this.businessType,
              operationType: this.operationType,
              curCase: this.curCase
            }
          });
        } else {
          // this.$message({
          //   type: "error",
          //   message: "申请失败"
          // this.$router.push({
          //   path: "/finance/applyDetail/",
          //   query: {
          //     id: this.curId,
          //     businessType: this.businessType,
          //     operationType: this.operationType,
          //     curCase: this.curCase
          //   }
          // });
          this.$modal.msgSuccess("计算成功");
          this.handleCheck();
        } else {
          this.$message({
            type: "error",
            message: "计算错误"
          });
        }
      });
    },
@@ -3188,6 +3195,8 @@
    uploadSccess(response, file, fileList) {
      this.rbDetails;
      //获取票据信息位置
      console.log(response);
      console.log(file);
      if (this.activeName == 1) {
        if (response.code == 200) {
          // this.form.filename = file.raw.name;