Commit 8d50487e authored by 罗超's avatar 罗超

1

parent fc4750ee
...@@ -20,14 +20,13 @@ ...@@ -20,14 +20,13 @@
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-GuestList="props"> <template v-slot:body-cell-GuestList="props">
<q-td auto-width :props="props"> <q-td auto-width :props="props" class="flex">
<div class="q-ma-xs" v-for="(item,index) in props.row.GuestList" :key="index"> <div class="q-ma-xs" v-for="(item,index) in props.row.GuestList" :key="index">
{{item.GuestName}} {{item.GuestName}}
</div> </div>
</q-td> </q-td>
</template> </template>
<template v-slot:bottom> <template v-slot:bottom>
<div style="height:1px"></div>
</template> </template>
</q-table> </q-table>
<!--修改课程订单--> <!--修改课程订单-->
...@@ -284,7 +283,8 @@ ...@@ -284,7 +283,8 @@
name: "GuestList", name: "GuestList",
label: "学生名单", label: "学生名单",
field: "GuestList", field: "GuestList",
align: "left" align: "left",
style: 'width: 200px',
}, },
], ],
msg:{ msg:{
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
<log :Id="Id" v-if="tabs === 1"></log> <log :Id="Id" v-if="tabs === 1"></log>
<customer :Id="Id" v-if="tabs === 2"></customer> <customer :Id="Id" v-if="tabs === 2"></customer>
<order :Id="Id" v-if="tabs === 3"></order> <order :Id="Id" v-if="tabs === 3"></order>
<rakeback :Id="Id" v-if="tabs === 4" :type="type"></rakeback> <rakeback :Id="Id" v-if="tabs === 4"></rakeback>
<passbook :Id="Id" v-if="tabs === 5" :type="type"></passbook> <passbook :Id="Id" v-if="tabs === 5"></passbook>
</div> </div>
</div> </div>
</template> </template>
...@@ -42,7 +42,6 @@ export default { ...@@ -42,7 +42,6 @@ export default {
data() { data() {
return { return {
tabs: 1, tabs: 1,
type: 1
}; };
}, },
mounted() { mounted() {
......
...@@ -54,13 +54,7 @@ import { ...@@ -54,13 +54,7 @@ import {
} from "../../../api/sale/peemanagement"; } from "../../../api/sale/peemanagement";
export default { export default {
props: { props: {
type: {
//1返佣 2幸福存折
type: Number,
default: 1
},
Id: { Id: {
//1返佣 2幸福存折
type: Number, type: Number,
default: 0 default: 0
} }
...@@ -145,10 +139,9 @@ export default { ...@@ -145,10 +139,9 @@ export default {
getData() { getData() {
const msg = { const msg = {
CustomerId: this.Id, CustomerId: this.Id,
Type: this.type Type: 2,// 1返佣 2幸福存折
}; };
getCustomerCommissionPassbook(msg).then(res => { getCustomerCommissionPassbook(msg).then(res => {
console.log(29, res);
this.data=res.Data this.data=res.Data
}); });
}, },
...@@ -159,7 +152,6 @@ export default { ...@@ -159,7 +152,6 @@ export default {
.then(res => { .then(res => {
this.loading = false; this.loading = false;
if (res.Code == 1) { if (res.Code == 1) {
console.log(30, res);
this.dataList = res.Data.PageData; this.dataList = res.Data.PageData;
this.pageCount = res.Data.PageCount; this.pageCount = res.Data.PageCount;
} }
......
...@@ -54,11 +54,6 @@ import { ...@@ -54,11 +54,6 @@ import {
} from "../../../api/sale/peemanagement"; } from "../../../api/sale/peemanagement";
export default { export default {
props: { props: {
type: {
//1返佣 2幸福存折
type: Number,
default: 1
},
Id: { Id: {
//1返佣 2幸福存折 //1返佣 2幸福存折
type: Number, type: Number,
...@@ -145,10 +140,9 @@ export default { ...@@ -145,10 +140,9 @@ export default {
getData() { getData() {
const msg = { const msg = {
CustomerId: this.Id, CustomerId: this.Id,
Type: this.type Type: 1,
}; };
getCustomerCommissionPassbook(msg).then(res => { getCustomerCommissionPassbook(msg).then(res => {
console.log(29, res);
this.data = res.Data; this.data = res.Data;
}); });
}, },
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</style> </style>
<template> <template>
<q-dialog v-model="dialog" maximized full-height seamless position="right"> <q-dialog v-model="dialog" maximized full-height seamless position="right">
<q-card style="margin-top:61px;width:970px" class="no-border-radius classinfo_Dialog"> <q-card style="width:970px" class="no-border-radius classinfo_Dialog">
<div class="drawerTop2 row"> <div class="drawerTop2 row">
<div class="drawerTop-d"> <div class="drawerTop-d">
......
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