修改一些bug完善,新增app更新新功能

This commit is contained in:
lemon橪
2021-05-21 16:45:47 +08:00
parent 38dc952a07
commit 41093b2032
14 changed files with 633 additions and 470 deletions

View File

@@ -40,11 +40,11 @@
<FormItem label="手机号码" prop="mobile" style="width: 90%;">
<Input v-model="addMemberForm.mobile" maxlength="11" placeholder="请输入手机号码" />
</FormItem>
<FormItem label="会员名称" prop="username" style="width: 90%">
<FormItem label="会员名称" prop="uname" style="width: 90%">
<Input v-model="addMemberForm.username" maxlength="15" placeholder="请输入会员名称" />
</FormItem>
<FormItem label="会员密码" prop="password" style="width: 90%">
<FormItem label="会员密码" prop="pwd" style="width: 90%">
<Input type="password" password v-model="addMemberForm.password" maxlength="20" placeholder="请输入会员密码" />
</FormItem>
</Form>
@@ -165,8 +165,8 @@ export default {
message: "请输入正确的手机号",
},
],
username: [{ required: true, message: "请输入会员名称" }],
password: [{ required: true, message: "请输入密码" }],
uname: [{ required: true, message: "请输入会员名称" }],
pwd: [{ required: true, message: "请输入密码" }],
},
ruleValidate: {}, //修改验证
submitLoading: false, // 添加或编辑提交状态

View File

@@ -231,21 +231,21 @@
</TabPane>
<TabPane label="TA的余额" name="wallet">
<div class="pointsTitle" style="justify-content: flex-start; text-align: left;">
<div style="width: 120px;">
<div style="min-width: 120px; margin-right:20px">
<div class="points-top-title">
余额
</div>
<div class="points-top-text">
{{memberWalletInfo.memberDeposit?memberWalletInfo.memberDeposit:0 | unitPrice('¥')}}
{{memberWalletInfo.memberWallet?memberWalletInfo.memberWallet:0 | unitPrice('¥')}}
</div>
</div>
<div style="width: 120px;">
<div style="min-width: 120px;">
<div class="points-top-title">
冻结余额
</div>
<div class="points-top-text">
{{memberWalletInfo.frozenDeposit?memberWalletInfo.frozenDeposit:0 | unitPrice('¥')}}
{{memberWalletInfo.memberFrozenWallet?memberWalletInfo.memberFrozenWallet:0 | unitPrice('¥')}}
</div>
</div>
</div>
@@ -750,23 +750,23 @@
minWidth: 120,
},
{
title: "业务类型",
key: "serviceType",
width: 150,
render: (h, params) => {
if (params.row.serviceType == "BALANCE_WITHDRAWAL") {
return h('div', [h('span', {}, '余额提现'),]);
} else if (params.row.serviceType == "BALANCE_PAY") {
return h('div', [h('span', {}, '余额支付'),]);
} else if (params.row.serviceType == "BALANCE_REFUND") {
return h('div', [h('span', {}, '余额退款'),]);
} else if (params.row.serviceType == "BALANCE_RECHARGE") {
return h('div', [h('span', {}, '余额充值'),]);
} else if (params.row.serviceType == "BALANCE_COMMISSION") {
return h('div', [h('span', {}, '佣金提成'),]);
}
title: "业务类型",
key: "serviceType",
width: 200,
render: (h, params) => {
if (params.row.serviceType == "WALLET_WITHDRAWAL") {
return h("div", [h("span", {}, "余额提现")]);
} else if (params.row.serviceType == "WALLET_PAY") {
return h("div", [h("span", {}, "余额支付")]);
} else if (params.row.serviceType == "WALLET_REFUND") {
return h("div", [h("span", {}, "余额退款")]);
} else if (params.row.serviceType == "WALLET_RECHARGE") {
return h("div", [h("span", {}, "余额充值")]);
} else {
return h("div", [h("span", {}, "佣金提成")]);
}
},
},
{
title: "变动金额",
key: "money",