Commit 9299b256 authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/luochao/confucius into master

parents b45b5704 556531ff
...@@ -25,11 +25,11 @@ ...@@ -25,11 +25,11 @@
<div> <div>
<table style="margin-left:10px;"> <table style="margin-left:10px;">
<tr> <tr>
<td style="width:58px;text-align:right;"> <td style="width:42px;text-align:right;">
卖价 卖价
</td> </td>
<td colspan="2"> <td colspan="2">
<q-input filled stack-label maxlength="8" style="padding-bottom:0;width:390px;" :dense="false" v-model="priceObj.courseObj.SellPrice" <q-input filled stack-label maxlength="8" style="padding-bottom:0;width:390px;margin-left:10px;" :dense="false" v-model="priceObj.courseObj.SellPrice"
ref="SellPrice" label="卖价" ref="SellPrice" label="卖价"
@keyup.native="checkPrice(priceObj.courseObj, 'SellPrice')" :rules="[val => !!val || '请填写卖价']" /> @keyup.native="checkPrice(priceObj.courseObj, 'SellPrice')" :rules="[val => !!val || '请填写卖价']" />
</td> </td>
......
...@@ -150,7 +150,6 @@ ...@@ -150,7 +150,6 @@
methods: { methods: {
//兑换奖品 //兑换奖品
exchangeKudo(item) { exchangeKudo(item) {
console.log(item,"item");
var postMsg = { var postMsg = {
Id:item.Id, Id:item.Id,
CustomerId: item.CustomerId, CustomerId: item.CustomerId,
...@@ -173,10 +172,12 @@ ...@@ -173,10 +172,12 @@
}) })
}, },
goToDetail(item) { goToDetail(item) {
console.log("item",item)
this.OpenNewUrl('/sale/finishTaskDetails', { this.OpenNewUrl('/sale/finishTaskDetails', {
TaskId: item.TaskId, TaskId: item.TaskId,
DetailsId: item.DetailsId, DetailsId: item.DetailsId,
CustomerId: item.CustomerId CustomerId: item.CustomerId,
FinishId:item.Id
}) })
}, },
resetSearch() { resetSearch() {
......
...@@ -16,20 +16,8 @@ ...@@ -16,20 +16,8 @@
<div class="page-option"> <div class="page-option">
</div> </div>
</template> </template>
<template v-slot:body-cell-ExchangeNum="props">
<q-td>
<template v-if="props.row.FinishType==1">
{{props.row.ExchangeNum}}
</template>
</q-td>
</template>
<template v-slot:body-cell-ExchangeMoney="props">
<q-td>
<template v-if="props.row.FinishType==2">
{{props.row.ExchangeMoney}}
</template>
</q-td>
</template>
<template v-slot:bottom> <template v-slot:bottom>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount" <q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount"
:input="true" @input="changePage" /> :input="true" @input="changePage" />
...@@ -70,18 +58,7 @@ ...@@ -70,18 +58,7 @@
field: 'FinishValue', field: 'FinishValue',
align: 'left', align: 'left',
}, },
{
name: 'ExchangeNum',
label: '使用人数',
align: "left",
field: 'ExchangeNum',
},
{
name: 'ExchangeMoney',
label: '使用金额',
align: "left",
field: 'ExchangeMoney',
},
], ],
dataList: [], dataList: [],
loading: true, loading: true,
...@@ -92,6 +69,7 @@ ...@@ -92,6 +69,7 @@
TaskId: "", //任务编号 TaskId: "", //任务编号
DetailsId: "", //任务详情编号 DetailsId: "", //任务详情编号
CustomerId: "", //客户编号 CustomerId: "", //客户编号
FinishId: "", //完成任务编号
}, },
pageCount: 0, pageCount: 0,
} }
...@@ -106,6 +84,9 @@ ...@@ -106,6 +84,9 @@
if (this.$route.query.CustomerId) { if (this.$route.query.CustomerId) {
this.msg.CustomerId = this.$route.query.CustomerId; this.msg.CustomerId = this.$route.query.CustomerId;
} }
if (this.$route.query.FinishId) {
this.msg.FinishId = this.$route.query.FinishId;
}
}, },
mounted() { mounted() {
this.getList() this.getList()
......
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