update merchantId

This commit is contained in:
2023-09-11 11:16:55 +08:00
parent 23819f605f
commit 5766581afb

View File

@@ -812,6 +812,7 @@ export default {
}, },
showAccountList: false, showAccountList: false,
dialog: false, dialog: false,
merchantId: null,
adapayCorpMember: { adapayCorpMember: {
bankAcctType: "1", bankAcctType: "1",
merchantId: this.$route.params.id, merchantId: this.$route.params.id,
@@ -1336,7 +1337,7 @@ export default {
this.adapayCorpMember.socialCreditCodeExpires = this.adapayCorpMember.socialCreditCodeExpires =
this.updateSocialCreditCode; this.updateSocialCreditCode;
console.log(this.adapayCorpMember, "this.adapayCorpMember"); console.log(this.adapayCorpMember, "this.adapayCorpMember");
// this.adapayCorpMember.merchantId = this.merchantId; this.adapayCorpMember.merchantId = this.merchantId;
console.log("修改成功", form); console.log("修改成功", form);
this.$refs[form].validate((valid) => { this.$refs[form].validate((valid) => {
if (valid) { if (valid) {
@@ -1424,7 +1425,7 @@ export default {
); );
this.adapayCorpMember.socialCreditCodeExpires = this.dataValue; this.adapayCorpMember.socialCreditCodeExpires = this.dataValue;
this.adapayCorpMember.legalCertIdExpires = this.addLegalCertIdDate; this.adapayCorpMember.legalCertIdExpires = this.addLegalCertIdDate;
// this.adapayCorpMember.merchantId = this.$route.params.id; this.adapayCorpMember.merchantId = this.merchantId;
this.$refs[adapayCorpMember].validate((valid) => { this.$refs[adapayCorpMember].validate((valid) => {
console.log(this.adapayCorpMember, "this.adapayCorpMember"); console.log(this.adapayCorpMember, "this.adapayCorpMember");
if (valid) { if (valid) {
@@ -1521,6 +1522,7 @@ export default {
this.selectAdapayMember(); this.selectAdapayMember();
this.jsonHttp(); this.jsonHttp();
this.bankList = text.bankList; this.bankList = text.bankList;
this.merchantId = this.$route.params.id;
}, },
}; };
</script> </script>