fix(policyMoneyDetails): 政策币弹窗移除会员名称搜索项 bug-86

This commit is contained in:
woody 2025-05-12 14:47:13 +08:00
parent e2a776478b
commit 19d5e82978
1 changed files with 346 additions and 356 deletions

View File

@ -1,10 +1,12 @@
<template> <template>
<el-dialog :title="'政策币业务'" <el-dialog
:title="'政策币业务'"
:visible.sync="isPolicy" :visible.sync="isPolicy"
width="80%" width="80%"
:before-close="handleClose" :before-close="handleClose"
center> center
>
<div class=""> <div class="">
<div class=""> <div class="">
<el-form <el-form
@ -33,7 +35,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="4" v-if="selects1 == 2"> <el-col v-if="selects1 == 2" :span="4">
<div class="searchbox" style="margin: 0px 0 20px 0"> <div class="searchbox" style="margin: 0px 0 20px 0">
<el-button <el-button
type="warning" type="warning"
@ -49,7 +51,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="4" v-if="selects1 == 1"> <el-col v-if="selects1 == 1" :span="4">
<el-form-item <el-form-item
label="业务范围" label="业务范围"
> >
@ -85,17 +87,7 @@
/> />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" style="margin-left: 20px">
<el-form-item
:label="'会员姓名'"
prop="teamCode"
>
<el-input
v-model="select.memberName"
clearable
/>
</el-form-item>
</el-col>
<el-col <el-col
:span="4" :span="4"
style="margin-left: 30px" style="margin-left: 30px"
@ -114,12 +106,12 @@
</div> </div>
<div class="plList"> <div class="plList">
<div class="pl_i widht-s" style="font-weight: 600;margin-left: 18px">{{ '批量处理' }}</div> <div class="pl_i widht-s" style="font-weight: 600;margin-left: 18px">{{ '批量处理' }}</div>
<div class="pl_i"></div> <div class="pl_i" />
<div class="width-s"></div> <div class="width-s" />
<div class="pl_i lefts"> <div class="pl_i lefts">
<el-select <el-select
style="width: 150px"
v-model="plSet.enableStatus" v-model="plSet.enableStatus"
style="width: 150px"
placeholder="政策币启用" placeholder="政策币启用"
clearable clearable
@change="getMenuItem" @change="getMenuItem"
@ -132,15 +124,15 @@
/> />
</el-select> </el-select>
</div> </div>
<div class="width-s" style="width: 100px"></div> <div class="width-s" style="width: 100px" />
<div class="pl_i left-s rights"> <div class="pl_i left-s rights">
<el-input v-model="plSet.deductMoney" style="width: 150px" placeholder="政策币扣除比例" clearable /> <el-input v-model="plSet.deductMoney" style="width: 150px" placeholder="政策币扣除比例" clearable />
</div> </div>
<div class="width-s" style="width:100px"></div> <div class="width-s" style="width:100px" />
<div class="pl_i left-s"> <div class="pl_i left-s">
<el-select <el-select
style="width: 150px"
v-model="plSet.transfer" v-model="plSet.transfer"
style="width: 150px"
placeholder="政策币转账" placeholder="政策币转账"
clearable clearable
@change="getMenuItem" @change="getMenuItem"
@ -349,18 +341,18 @@
:header-cell-style="{ background: '#EEEEEE' }" :header-cell-style="{ background: '#EEEEEE' }"
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
> >
<el-table-column align="center" prop="memberCode" :label="'会员编号'"> <el-table-column align="center" prop="memberCode" :label="'会员编号'" />
</el-table-column> <el-table-column align="center" prop="errorMsg" :label="'报错信息'" />
<el-table-column align="center" prop="errorMsg" :label="'报错信息'">
</el-table-column>
</el-table> </el-table>
</div> </div>
<div class="footer" style="text-align: center"> <div class="footer" style="text-align: center">
<div style="margin: 0 auto"> <div style="margin: 0 auto">
<el-button class="thebtn" @click="errorShow = false"> {{ '取消' }}</el-button> <el-button class="thebtn" @click="errorShow = false"> {{ '取消' }}</el-button>
<el-button type="primary" class="thebtn" @click="errorShow = false" <el-button
> {{ '确认' }}</el-button type="primary"
> class="thebtn"
@click="errorShow = false"
> {{ '确认' }}</el-button>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
@ -376,9 +368,15 @@ import {getPubEnumsProcessTyepe, upPolicyCurrency} from '@/api/business.js'
import { getEYesNoList, getEnableStatus } from '@/api/configManage' import { getEYesNoList, getEnableStatus } from '@/api/configManage'
import { policyImportData, policyList, policySelted } from '@/api/specialBusiness' import { policyImportData, policyList, policySelted } from '@/api/specialBusiness'
import { Message } from 'element-ui' import { Message } from 'element-ui'
import {noticePopup} from "@/api/notice"; import { noticePopup } from '@/api/notice'
export default { export default {
props: {
isPolicy: {
type: Boolean,
default: false
}
},
data() { data() {
return { return {
errorData: [], errorData: [],
@ -460,12 +458,6 @@ export default {
} }
} }
}, },
props: {
isPolicy: {
type: Boolean,
default: false,
},
},
mounted() { mounted() {
// this.select.addAwards = this.$route.query.addAwards // this.select.addAwards = this.$route.query.addAwards
// if (this.select.addAwards == 1 || this.select.addAwards == 2) { // if (this.select.addAwards == 1 || this.select.addAwards == 2) {
@ -543,7 +535,7 @@ export default {
}) })
return return
} }
let list= { const list = {
processType: index, processType: index,
plculist: [], plculist: [],
businessScope: this.businessScope businessScope: this.businessScope
@ -560,7 +552,6 @@ export default {
setTimeout(() => { setTimeout(() => {
this.$emit('getMemberList') this.$emit('getMemberList')
}, 100) }, 100)
} }
Message({ Message({
message: res.msg, message: res.msg,
@ -582,11 +573,10 @@ export default {
}) })
} }
} else if (res.code == 504 && res.data) { } else if (res.code == 504 && res.data) {
this.errorShow = true; this.errorShow = true
this.errorData = res.data; this.errorData = res.data
} }
}) })
} }
}, },
reset() { reset() {