Commit ff30ced5 by 王志慧 Committed by chenwq

fix:订单类型修改

1 parent ec3058e0
......@@ -40,6 +40,14 @@
</div>
</div>
<GLTable ref="memberOrderRef" v-if="isReload" :noDataImg="url" @setTableFinishFun="setTableFinishFun" :searchForm="searchFormTable" :tableParams="tableParams" :getListApi="getListApi" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn">
<template slot="orderType" slot-scope="scope">
<template v-if="scope.scope.orderType == 1">
<span>{{ scope.scope.packageType == 1 ? '门店套餐' : '集团套餐' }}</span>
</template>
<template v-else>
<span>会员卡</span>
</template>
</template>
<span class="table-btns" slot="auth-button" slot-scope="scope" :data="scope.scope">
<!-- <el-button type="text" @click="handleDetail(scope.scope)" v-if="scope.scope.orderType == 1">详情</el-button>
<el-button type="text" style="color:#eee" v-else>详情</el-button> -->
......@@ -117,9 +125,10 @@ export default {
{
label: '类型',
prop: 'orderType',
formatter: cellValue => {
return this.baseDataList.orderTypesList.find(item => item.confId == cellValue.orderType).confName
}
addHtml: 'orderType'
// formatter: cellValue => {
// return this.baseDataList.orderTypesList.find(item => item.confId == cellValue.orderType).confName
// }
},
{
label: '价格',
......@@ -227,7 +236,7 @@ export default {
},
handleRefund(data) {
this.orderCode = data.orderCode
this.refund =''
this.refund = ''
this.refundVisible = !this.refundVisible
},
refundConfirmDialog() {
......@@ -309,10 +318,10 @@ export default {
display: flex;
height: auto;
position: relative;
width:285px;
width: 285px;
left: calc(100% - 285px);
.choseItem {
display:inline-block;
display: inline-block;
cursor: pointer;
text-align: center;
font-size: 12px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!