会员价格显示优化
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
<text class="num" > X{{ item.totalNumber || ""}} </text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="price"> ¥{{ item.memberPrice*item.totalNumber || item.salePrice*item.totalNumber || 0}} </view>
|
||||
<view class="price"> ¥{{ amountVIP.isVip == 1 ? item.memberPrice*item.totalNumber : item.salePrice*item.totalNumber }} </view>
|
||||
</view>
|
||||
<view class="cell-item" v-if="packFee && packFee > 0">
|
||||
<view class="label">打包费</view>
|
||||
@@ -285,7 +285,7 @@
|
||||
this.cartLists = JSON.parse(options.cartLists);
|
||||
this.listinfo.name = this.storeInfo.shopName;
|
||||
this.listinfo.details = JSON.parse(options.cartLists).data;
|
||||
this.listinfo.payAmount = this.cartLists.memberAmount && this.cartLists.memberAmount > 0 ? this.cartLists.memberAmount : this.cartLists.amount
|
||||
this.listinfo.payAmount = this.amountVIP.isVip == 1 && this.cartLists.memberAmount && this.cartLists.memberAmount > 0 ? this.cartLists.memberAmount : this.cartLists.amount
|
||||
if ( options.tableCode ) { this.tableCode = options.tableCode;}
|
||||
if ( this.storeInfo.eatModel.indexOf("dine-in") != -1 ) {
|
||||
this.eatModel = "dine-in";
|
||||
|
||||
Reference in New Issue
Block a user