1
This commit is contained in:
1 parent
23806befcf
commit
43aaa579c1
1 file changed
+20
-6
@@ -15,10 +15,18 @@
|
||||
<el-form-item style="width: 200px" label="饭卡类型" prop="walletTypeId">
|
||||
<select-wallet-type v-model="state.queryForm.walletTypeId" placeholder="饭卡类型" clearable />
|
||||
</el-form-item>
|
||||
<el-form-item style="width: 340px" label="钱包余额小于等于" prop="walletBalance">
|
||||
<el-input v-model="state.queryForm.leBalance" type="number" placeholder="请输入金额" clearable>
|
||||
<template #append>元</template>
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button icon="Search" type="primary" @click="getDataList">{{ $t("common.queryBtn")
|
||||
}}</el-button>
|
||||
<el-button icon="Refresh" @click="resetQuery">{{ $t("common.resetBtn") }}</el-button>
|
||||
<el-button icon="Search" type="primary" @click="getDataList">
|
||||
{{ $t("common.queryBtn") }}
|
||||
</el-button>
|
||||
<el-button icon="Refresh" @click="resetQuery">
|
||||
{{ $t("common.resetBtn") }}
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-row>
|
||||
@@ -85,10 +93,14 @@
|
||||
<template #default="{ row }">
|
||||
<div class="flex items-start">
|
||||
<el-button icon="InfoFilled" text type="primary" v-auth="'wallet_walletManage_edit'"
|
||||
@click="formDialogRef.openDialog(row.id)">详情</el-button>
|
||||
@click="formDialogRef.openDialog(row.id)">
|
||||
详情
|
||||
</el-button>
|
||||
<el-button icon="Money" text type="primary"
|
||||
v-auth="'wallet_walletTransaction_update_balance'"
|
||||
@click="changeBalanceRef.openDialog(row.userId, row.id)">充值/扣款</el-button>
|
||||
@click="changeBalanceRef.openDialog(row.userId, row.id)">
|
||||
充值/扣款
|
||||
</el-button>
|
||||
<el-button v-if="row.isRule == 1" icon="SwitchFilled" text type="primary"
|
||||
v-auth="'wallet_walletRuleTransaction_transfer'"
|
||||
@click="doTransferAccounts(row)">
|
||||
@@ -134,7 +146,9 @@ const showSearch = ref(true)
|
||||
const selectObjs = ref([]) as any
|
||||
const multiple = ref(true)
|
||||
const state: BasicTableProps = reactive<BasicTableProps>({
|
||||
queryForm: {},
|
||||
queryForm: {
|
||||
leBalance: null,
|
||||
},
|
||||
pageList: walletManage.fetchListJoin,
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user