fix: 点单显示参数修改
This commit is contained in:
parent
6122852202
commit
90789fb467
|
|
@ -59,8 +59,8 @@
|
||||||
<view class="commodity-sku-Infor">
|
<view class="commodity-sku-Infor">
|
||||||
<view class="commodity-sku-Infor-left">
|
<view class="commodity-sku-Infor-left">
|
||||||
<view class="commodity-sku-Infor-left-Price">
|
<view class="commodity-sku-Infor-left-Price">
|
||||||
<text class="text1">¥</text>
|
<text class="text1">¥</text>
|
||||||
<text class="text2">{{_amount(skuinfor['adj_pay'] * skuinfor['num'])}}</text>
|
<text class="text2">{{skuinfor['adj_pay'] * skuinfor['num']}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="commodity-sku-Infor-left-sku">
|
<view class="commodity-sku-Infor-left-sku">
|
||||||
<view class="">
|
<view class="">
|
||||||
|
|
@ -259,7 +259,8 @@
|
||||||
// 实际价格
|
// 实际价格
|
||||||
// this['skuinfor']['adj_pay'] = price;
|
// this['skuinfor']['adj_pay'] = price;
|
||||||
// 加价价格
|
// 加价价格
|
||||||
this.$set(this['skuinfor'], 'adj_pay', price);
|
// this.$set(this['skuinfor'], 'adj_pay', price);
|
||||||
|
this.$set(this['skuinfor'], 'adj_pay', product_price);
|
||||||
// 实际价格
|
// 实际价格
|
||||||
this.$set(this['skuinfor'], 'add_price', skupay);
|
this.$set(this['skuinfor'], 'add_price', skupay);
|
||||||
// 计算价格之后匹配文字
|
// 计算价格之后匹配文字
|
||||||
|
|
|
||||||
|
|
@ -262,9 +262,8 @@
|
||||||
res['data']['num'] = 1;
|
res['data']['num'] = 1;
|
||||||
|
|
||||||
// 接口修改后数据格式问题
|
// 接口修改后数据格式问题
|
||||||
// if(brand_id == 13) {
|
|
||||||
// }
|
|
||||||
res.data.pay_price = res.data.product_price * 100
|
res.data.pay_price = res.data.product_price * 100
|
||||||
|
res.data.adj_pay = res.data.product_price
|
||||||
|
|
||||||
console.log(res['data'], '接口修改后数据格式问题')
|
console.log(res['data'], '接口修改后数据格式问题')
|
||||||
|
|
||||||
|
|
@ -308,7 +307,6 @@
|
||||||
// 麦当劳计算
|
// 麦当劳计算
|
||||||
this['item']['pay_price'] = this['item']['product_price'];
|
this['item']['pay_price'] = this['item']['product_price'];
|
||||||
|
|
||||||
console.log(this['item'])
|
|
||||||
// 单品添加
|
// 单品添加
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
this.ADD_CART({
|
this.ADD_CART({
|
||||||
|
|
|
||||||
|
|
@ -28,10 +28,10 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="section_5">
|
<view class="section_5">
|
||||||
<view class="text-group_1">
|
<!-- <view class="text-group_1">
|
||||||
<text lines="1" class="text_14">可用消费补贴卡余额抵扣¥{{_amount(item['max_deduction'] * item['num'])}}</text>
|
<text lines="1" class="text_14">可用消费补贴卡余额抵扣¥{{_amount(item['max_deduction'] * item['num'])}}</text>
|
||||||
<text lines="1" class="text_15" v-if="item['Discountarrcondition']" :class="`themeColor-${BrandInfor['brand_id']}`">您余额不足,实际可抵扣¥{{_amount(item['already_deduction_amount'])}}</text>
|
<text lines="1" class="text_15" v-if="item['Discountarrcondition']" :class="`themeColor-${BrandInfor['brand_id']}`">您余额不足,实际可抵扣¥{{_amount(item['already_deduction_amount'])}}</text>
|
||||||
</view>
|
</view> -->
|
||||||
<!-- 肯德基 -->
|
<!-- 肯德基 -->
|
||||||
<view class="triangle" v-if="BrandInfor['brand_id'] == 1" :style="{'--color':'#C63836'}"
|
<view class="triangle" v-if="BrandInfor['brand_id'] == 1" :style="{'--color':'#C63836'}"
|
||||||
v-show="item['is_deduction']">
|
v-show="item['is_deduction']">
|
||||||
|
|
@ -104,7 +104,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="text-wrapper_4 itemamount">
|
<view class="text-wrapper_4 itemamount">
|
||||||
<text lines="1" class="text_24">实际付款:</text>
|
<text lines="1" class="text_24">实际付款:</text>
|
||||||
<!-- <text lines="1" class="text_25" :class="[`themeColor-${BrandInfor['brand_id']}`]">¥{{_amount(calculationamount['payments'])}}</text> -->
|
<!-- <text lines="1" class="text_25" :class="[`themeColor-${BrandInfor['brand_id']}`]">¥{{_amount(calculationamount['payments'])}}</text> -->
|
||||||
<text lines="1" class="text_25" :class="[`themeColor-${BrandInfor['brand_id']}`]">¥{{calculationamount['payments']}}</text>
|
<text lines="1" class="text_25" :class="[`themeColor-${BrandInfor['brand_id']}`]">¥{{calculationamount['payments']}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view lines="1" class="text_26 itemamount">
|
<view lines="1" class="text_26 itemamount">
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ export const storeCollectionListAPI = parameters => request.Request({ url: "/car
|
||||||
/**
|
/**
|
||||||
* @取消或者关注店铺
|
* @取消或者关注店铺
|
||||||
*/
|
*/
|
||||||
export const storeCollectionAPI = parameters => request.Request({ url: "/card.Restaurant/storeCollection", parameters });
|
export const storeCollectionAPI = parameters => request.Request({ url: "/api/client/food/restaurantCollection", parameters, method: 'POST' });
|
||||||
/**
|
/**
|
||||||
* @获取店铺商品
|
* @获取店铺商品
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue