|
@@ -26,7 +26,7 @@
|
|
|
<!-- <form @submit="formSubmit" class="formId" report-submit="true">
|
|
|
<button form-type="submit"></button>
|
|
|
</form> -->
|
|
|
- <van-cell :title="item.itemName" :label="item.expiryDate?'过期时间:'+item.expiryDate:''" v-for="item in customerBundleItemList" :key="item.id" :id='item.id' is-link @click="subscribeMessage">
|
|
|
+ <van-cell :title="item.itemName" :label="expiryDate?'过期时间:'+expiryDate:''" v-for="item in customerBundleItemList" :key="item.id" :id='item.id' is-link @click="subscribeMessage">
|
|
|
<div class="package-qr">
|
|
|
<span>剩余{{item.remainTimes}}次</span>
|
|
|
<van-icon class="icon-qr" size="1.5em" name="qr" color="#ff5500" />
|
|
@@ -99,7 +99,8 @@ export default {
|
|
|
coupon: undefined,
|
|
|
orderBundle: {},
|
|
|
customerBundleItemList: [],
|
|
|
- formId:null
|
|
|
+ formId:null,
|
|
|
+ expiryDate: null
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
@@ -119,7 +120,8 @@ export default {
|
|
|
'INPA': '支付中',
|
|
|
'PAED': '已支付',
|
|
|
'CAEL': '已取消',
|
|
|
- 'SYCA': '已取消'
|
|
|
+ 'SYCA': '已取消',
|
|
|
+ 'RUND': '已退款'
|
|
|
};
|
|
|
return dict[this.orderBundle.orderFlag];
|
|
|
}
|
|
@@ -195,6 +197,7 @@ export default {
|
|
|
_this.coupon = res.data.coupon;
|
|
|
_this.orderBundle = res.data.orderBundle;
|
|
|
_this.customerBundleItemList = res.data.customerBundleItemList;
|
|
|
+ _this.expiryDate = res.data.expiryDate ? res.data.expiryDate.substr(0,10) : null
|
|
|
} else {
|
|
|
wx.showToast({
|
|
|
title: res.message,
|