yxh
yxh
2024-02-26 f3f75b0c60a3ab2edcbb24a071a68f0c932f8b94
src/views/project/fund/applyDetail/index.vue
@@ -1760,7 +1760,7 @@
                bankcardno: res.rows[j].bankcardno,
                unitno: res.rows[j].unitno,
                unitname: res.rows[j].unitname,
                userid: res.rows[j].username
                userid: res.rows[j].username + '(' + res.rows[j].bankcardno + ')'
              });
            }
            else {
@@ -2188,8 +2188,10 @@
                  flowconclusion: this.checkObj.flowlevelone,
                  flowcontent: this.checkObj.flowconclusion
                };
      this.$modal.loading("正在提交审核,请稍候!");
                checkfund(checkFundObj).then(res => {
                  //关闭窗口
        this.$modal.closeLoading();
                  this.$modal.msgSuccess("审核完成!");
                  this.$store.dispatch("tagsView/delView", this.$route);
                  this.$router.go(-1);
@@ -2820,11 +2822,11 @@
      if (this.selectionType == "account") {
        //默认从账户库选择:1,账户库;2,新建账户
        this.accountfrom = "1";
        if (scope.row.idcardno == undefined || scope.row.idcardno == null) {
          this.accountselectform.accountname = scope.row.beneficiaryname;
        if (scope.row.idcardno) {
          this.accountselectform.accountname = scope.row.beneficiaryname + '(' + scope.row.idcardno + ')';
        }
        else {
          this.accountselectform.accountname = scope.row.beneficiaryname + '(' + scope.row.idcardno + ')';
          this.accountselectform.accountname = scope.row.beneficiaryname+ '(' + scope.row.bankcardno + ')';
        }
        this.accountselectform.accountno = scope.row.beneficiaryno;
        this.accountselectform.expertunitname = "";
@@ -2917,10 +2919,16 @@
              }
              addExternalperson(this.accountform).then(response => {
                if (response.code == 200) {
                if (response.code == 200) {
                  // //重新获取账户列表
                  // listExternalperson().then(res => {
                  //   this.accountlist = res.rows;
                  // });
                  console.log("addExternalperson", response.data.id);
                  if (this.accountselectform.usertype == "org") {
                    this.accountlist.push({
                      id: 0,
                      id: response.data.id,
                      userno: this.accountform.userno,
                      username: this.accountform.username,
                      idcardno: this.accountform.idcardno,
@@ -2929,14 +2937,12 @@
                      bankcardno: this.accountform.bankcardno,
                      unitno: this.accountform.unitno,
                      unitname: this.accountform.unitname,
                      userid: this.accountform.username
                      userid: this.accountform.username+ '(' + this.accountform.bankcardno + ')'
                    });
                    this.$modal.msgSuccess("您已添加成功新账户信息!");
                  } else {
                    this.accountlist.push({
                      id: 0,
                      id: response.data.id,
                      userno: this.accountform.userno,
                      username: this.accountform.username,
                      idcardno: this.accountform.idcardno,
@@ -2947,22 +2953,11 @@
                      unitname: this.accountform.unitname,
                      userid: this.accountform.username + '(' + this.accountform.idcardno + ')'
                    });
                    this.$modal.msgSuccess(
                      "您已添加成功新账户信息,需要在账号状态启用后才能被使用!"
                    );
                    this.$modal.msgSuccess("您已添加成功新账户信息,需要在账号状态启用后才能被使用!");
                    return;
                  }
                  this.accountselectform.accountno = this.accountform.userno;
                  this.accountselectform.accountname = this.accountselectform.username;
                  console.log("this.accountlist", this.accountlist);
                  console.log("this.accountselectform.accountno", this.accountselectform.accountno);
                  // //重新获取账户列表
                  // listExternalperson().then(res => {
                  //   this.accountlist = res.rows;
                  // });
                  //赋值信息
                  this.accountlist.map(res => {