管理端 退款订单管理
parent
bd806cc2ba
commit
6fa7a0103f
|
@ -60,7 +60,7 @@
|
||||||
<el-table-column label="会员名称" align="center" prop="realName" />
|
<el-table-column label="会员名称" align="center" prop="realName" />
|
||||||
<el-table-column label="充值号码" align="center" prop="userPhone" />
|
<el-table-column label="充值号码" align="center" prop="userPhone" />
|
||||||
<el-table-column label="退款类型" align="center" prop="refundName" />
|
<el-table-column label="退款类型" align="center" prop="refundName" />
|
||||||
<el-table-column label="退款理由" align="center" prop="memberReason" />
|
<el-table-column label="退款理由" align="center" prop="memberReason" width="180" show-overflow-tooltip/>
|
||||||
<el-table-column label="申请退款时间" align="center" prop="payTime" width="180">
|
<el-table-column label="申请退款时间" align="center" prop="payTime" width="180">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<span>{{ parseTime(scope.row.applyTime) }}</span>
|
<span>{{ parseTime(scope.row.applyTime) }}</span>
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
<span>{{ parseTime(scope.row.applySucceedTime) }}</span>
|
<span>{{ parseTime(scope.row.applySucceedTime) }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="备注" align="center" prop="adminReason" />
|
<el-table-column label="备注" align="center" prop="adminReason" width="180" show-overflow-tooltip/>
|
||||||
<el-table-column label="操作" align="center" class-name="small-padding" fixed="right" width="80">
|
<el-table-column label="操作" align="center" class-name="small-padding" fixed="right" width="80">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<el-button size="mini" type="text" @click="handleAdd(scope.row)" v-hasPermi="['shop:recharge-order:remark']">添加备注</el-button>
|
<el-button size="mini" type="text" @click="handleAdd(scope.row)" v-hasPermi="['shop:recharge-order:remark']">添加备注</el-button>
|
||||||
|
|
|
@ -22,11 +22,11 @@
|
||||||
confirm-text="确认退款" cancel-text="取消退款">
|
confirm-text="确认退款" cancel-text="取消退款">
|
||||||
<view class="slot-content">
|
<view class="slot-content">
|
||||||
<u--form :model="form" ref="uForm" :rules="rules" label-width="120">
|
<u--form :model="form" ref="uForm" :rules="rules" label-width="120">
|
||||||
<u-form-item label="退款类型" prop="name" @click="show = true;">
|
<u-form-item label="退款类型" prop="refundName" @click="show = true;">
|
||||||
<u--input v-model="form.name" disabled disabledColor="#ffffff" placeholder='请选择退款类型'></u--input>
|
<u--input v-model="form.refundName" disabled disabledColor="#ffffff" placeholder='请选择退款类型'></u--input>
|
||||||
<u-icon slot="right" name="arrow-right"></u-icon>
|
<u-icon slot="right" name="arrow-right"></u-icon>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="退款理由" prop="refundName"><u--textarea v-model="form.refundName" maxlength="100"
|
<u-form-item label="退款理由" prop="memberReason"><u--textarea v-model="form.memberReason" maxlength="100"
|
||||||
placeholder='请输入退款理由' count autoHeight /></u-form-item>
|
placeholder='请输入退款理由' count autoHeight /></u-form-item>
|
||||||
</u--form>
|
</u--form>
|
||||||
</view>
|
</view>
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
rules: {
|
rules: {
|
||||||
name: [{
|
refundName: [{
|
||||||
required: true,
|
required: true,
|
||||||
message: '请选择退款类型',
|
message: '请选择退款类型',
|
||||||
// 可以单个或者同时写两个触发验证方式
|
// 可以单个或者同时写两个触发验证方式
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
// 可以单个或者同时写两个触发验证方式
|
// 可以单个或者同时写两个触发验证方式
|
||||||
trigger: ['change', 'blur'],
|
trigger: ['change', 'blur'],
|
||||||
}],
|
}],
|
||||||
refundName: [{
|
memberReason: [{
|
||||||
required: true,
|
required: true,
|
||||||
message: '请输入退款理由',
|
message: '请输入退款理由',
|
||||||
trigger: ['change', 'blur'],
|
trigger: ['change', 'blur'],
|
||||||
|
@ -76,9 +76,9 @@
|
||||||
keyword: '',
|
keyword: '',
|
||||||
memberData: [],
|
memberData: [],
|
||||||
form: {
|
form: {
|
||||||
name: '',
|
refundName: '',
|
||||||
refundType: '',
|
refundType: '',
|
||||||
refundName: ''
|
memberReason:''
|
||||||
},
|
},
|
||||||
list: ['未退款', '退款申请中', '已退款', '退款中'],
|
list: ['未退款', '退款申请中', '已退款', '退款中'],
|
||||||
actionSheetList: [{
|
actionSheetList: [{
|
||||||
|
@ -134,9 +134,8 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleSelect(e) {
|
handleSelect(e) {
|
||||||
this.form.refundType = e.refundType
|
this.form.refundType = e.value
|
||||||
this.form.name = e.name
|
this.form.refundName = e.name
|
||||||
this.$refs.uForm.validateField('form.refundType')
|
|
||||||
},
|
},
|
||||||
handleBack(item) {
|
handleBack(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
|
Loading…
Reference in New Issue