Commit 4ab41004 by 王志慧

fix:订单类型修改

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