Commit c079b1fd by 前端

Merge branch 'wangzh_dev_2.3.0' into 'v2.3.0'

会员卡,套餐区分显示套餐详情

See merge request !143
2 parents 840142ac b2a25d21
......@@ -308,13 +308,13 @@ export default {
width: '180',
addHtml: 'accountName'
},
// {
// label: '会员类型',
// prop: 'memberType',
// formatter: cellValue => {
// return this.baseDataList.memberTypeList.find(item => item.confId == cellValue.memberType).confName
// }
// },
{
label: '会员类型',
prop: 'memberType',
formatter: cellValue => {
return this.baseDataList.memberTypeList.find(item => item.confId == cellValue.memberType).confName
}
},
{
label: '状态',
prop: 'status',
......
......@@ -32,26 +32,27 @@
</template>
</glsx-descriptions>
</div>
<div class="order-info m-b-7">
<div class="order-info-title">套餐使用详情</div>
<GLTable class="meal-table" ref="mealRef" :searchForm="tableSearchForm" :getListApi="getListApi" :hasPage="false" :tableParams="tableParams">
<div slot="verification" slot-scope="scope">
<GLTable :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="verificationParams" :tableData="scope.scope.verificationPackageCouponList">
<span slot="verificationDate" slot-scope="scope">
{{ dateFormatFun(scope.scope.verificationDate) }}
</span>
</GLTable>
</div>
<div slot="discountType" slot-scope="scope">
<img class="content-meal-logo" :src="numToCoupon[scope.scope.discountType]" />
</div>
<div slot="residueCount" slot-scope="scope">
<span v-if="scope.scope.residueCount == -1">无限次</span>
<span v-else>{{ scope.scope.residueCount }}</span>
</div>
</GLTable>
</div>
<template v-if="detailData.orderType == 1">
<div class="order-info m-b-7">
<div class="order-info-title">套餐使用详情</div>
<GLTable class="meal-table" ref="mealRef" :searchForm="tableSearchForm" :getListApi="getListApi" :hasPage="false" :tableParams="tableParams">
<div slot="verification" slot-scope="scope">
<GLTable :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="verificationParams" :tableData="scope.scope.verificationPackageCouponList">
<span slot="verificationDate" slot-scope="scope">
{{ dateFormatFun(scope.scope.verificationDate) }}
</span>
</GLTable>
</div>
<div slot="discountType" slot-scope="scope">
<img class="content-meal-logo" :src="numToCoupon[scope.scope.discountType]" />
</div>
<div slot="residueCount" slot-scope="scope">
<span v-if="scope.scope.residueCount == -1">无限次</span>
<span v-else>{{ scope.scope.residueCount }}</span>
</div>
</GLTable>
</div>
</template>
</div>
<div class="footer-panel">
<div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!