Commit 1c38dfce by 裴梁博

Merge branch 'feature/v1/plb' into 'master'

应退金额改为查看model

See merge request !12
parents c72cc6a8 94f3b2e2
...@@ -132,8 +132,12 @@ ...@@ -132,8 +132,12 @@
align="center" align="center"
prop="payMoney" prop="payMoney"
key="payMoney" key="payMoney"
:show-overflow-tooltip="true" width="100"
/> >
<template slot-scope="{ row }">
<el-button type="primary" @click="handleLook(row)">查看</el-button>
</template>
</el-table-column>
<el-table-column <el-table-column
label="退款理由" label="退款理由"
align="center" align="center"
...@@ -239,6 +243,22 @@ ...@@ -239,6 +243,22 @@
<el-button @click="cancel">取 消</el-button> <el-button @click="cancel">取 消</el-button>
</div> </div>
</el-dialog> </el-dialog>
<template v-if="openArticleInfo">
<el-dialog
title="应退金额"
:visible.sync="openArticleInfo"
width="600px"
append-to-body
>
<div class="contl">
<div class="contl-item">
<p class="contl-item-label">应退金额:</p>
<p class="contl-item-rig">{{ VisitorData.payMoney }}</p>
</div>
</div>
</el-dialog>
</template>
</div> </div>
</template> </template>
...@@ -256,6 +276,8 @@ export default { ...@@ -256,6 +276,8 @@ export default {
name: "UserRefund", name: "UserRefund",
data() { data() {
return { return {
openArticleInfo: false,
VisitorData: {},
// 按钮loading // 按钮loading
buttonLoading: false, buttonLoading: false,
// 遮罩层 // 遮罩层
...@@ -299,6 +321,10 @@ export default { ...@@ -299,6 +321,10 @@ export default {
this.getList(); this.getList();
}, },
methods: { methods: {
handleLook(row) {
this.VisitorData = row;
this.openArticleInfo = true;
},
async clickBH(row, status) { async clickBH(row, status) {
const data_back = await refundPUT({ const data_back = await refundPUT({
id: row.id, id: row.id,
...@@ -439,3 +465,22 @@ export default { ...@@ -439,3 +465,22 @@ export default {
}, },
}; };
</script> </script>
<style lang="scss" scoped>
.contl {
padding: 20px;
width: calc(100 - 40px);
color: #333333;
font-size: 16px;
&-item {
display: flex;
&-label {
width: 20%;
}
&-rig {
width: 80%;
}
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment