Commit 840142ac by 前端

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

时间格式化

See merge request !142
2 parents 82c59154 b76cc3ca
...@@ -32,23 +32,26 @@ ...@@ -32,23 +32,26 @@
</template> </template>
</glsx-descriptions> </glsx-descriptions>
</div> </div>
<template v-if="accountLevel != 4">
<div class="order-info m-b-7"> <div class="order-info m-b-7">
<div class="order-info-title">套餐使用详情</div> <div class="order-info-title">套餐使用详情</div>
<GLTable class="meal-table" ref="mealRef" :searchForm="tableSearchForm" :getListApi="getListApi" :hasPage="false" :tableParams="tableParams"> <GLTable class="meal-table" ref="mealRef" :searchForm="tableSearchForm" :getListApi="getListApi" :hasPage="false" :tableParams="tableParams">
<div slot="verification" slot-scope="scope"> <div slot="verification" slot-scope="scope">
<GLTable :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="verificationParams" :tableData="scope.scope.verificationPackageCouponList"></GLTable> <GLTable :hasNum="false" :hasPage="false" :noDataImg="url" :tableParams="verificationParams" :tableData="scope.scope.verificationPackageCouponList">
</div> <span slot="verificationDate" slot-scope="scope">
<div slot="discountType" slot-scope="scope"> {{ dateFormatFun(scope.scope.verificationDate) }}
<img class="content-meal-logo" :src="numToCoupon[scope.scope.discountType]" /> </span>
</div> </GLTable>
<div slot="residueCount" slot-scope="scope"> </div>
<span v-if="scope.scope.residueCount == -1">无限次</span> <div slot="discountType" slot-scope="scope">
<span v-else>{{ scope.scope.residueCount }}</span> <img class="content-meal-logo" :src="numToCoupon[scope.scope.discountType]" />
</div> </div>
</GLTable> <div slot="residueCount" slot-scope="scope">
</div> <span v-if="scope.scope.residueCount == -1">无限次</span>
</template> <span v-else>{{ scope.scope.residueCount }}</span>
</div>
</GLTable>
</div>
</div> </div>
<div class="footer-panel"> <div class="footer-panel">
<div> <div>
...@@ -285,7 +288,8 @@ export default { ...@@ -285,7 +288,8 @@ export default {
}, },
{ {
label: '核销日期', label: '核销日期',
prop: 'verificationDate' prop: 'verificationDate',
addHtml: 'verificationDate'
} }
] ]
}, },
...@@ -302,7 +306,7 @@ export default { ...@@ -302,7 +306,7 @@ export default {
if (window.__POWERED_BY_QIANKUN__) { if (window.__POWERED_BY_QIANKUN__) {
this.accountLevel = this.$globalState.session.accountLevel this.accountLevel = this.$globalState.session.accountLevel
if (this.accountLevel == 4) { if (this.accountLevel == 4) {
this.basicParams.splice(6,1) this.basicParams.splice(6, 1)
} }
} }
this.tableSearchForm = { this.tableSearchForm = {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!