修改创建会员逻辑,在创建时不创建会员钱包,后管充值的时候找不到则创建

This commit is contained in:
2023-11-11 17:08:01 +08:00
parent 4fd28a156b
commit ee3095d02a
6 changed files with 44 additions and 23 deletions

View File

@@ -210,7 +210,7 @@
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-form-item label="选择运营商">
<el-select
v-model="queryParams.merchantId"
v-model="targetMerchantId"
clearable placeholder="请选择运营商"
>
<el-option
@@ -279,6 +279,7 @@ export default {
updatePrincipalBalance: "", // 充值扣款金额
updateBalanceMemberId: "", // 需要充值扣款的会员id
type: '1', // 操作类型 1-充值2-扣款
targetMerchantId: "", // 目标运营商id
// 查询参数
queryParams: {
pageNum: 1,
@@ -427,7 +428,8 @@ export default {
memberId: this.updateBalanceMemberId,
updatePrincipalBalance: this.updatePrincipalBalance,
type: this.type,
subType: this.subType
subType: this.subType,
targetMerchantId: this.targetMerchantId
};
console.log("修改会员本金余额 param:", param);
updateMemberBalance(param).then(response => {