| | |
| | | </view> |
| | | </view> |
| | | |
| | | <Verifystoreinfo v-if="supplier_item.orderData.delivery==30 && supplier_item.productList[0].is_virtual == 1" ref="getShopinfoData" :extract_store="extract_store" |
| | | <Verifystoreinfo v-if="supplier_item.orderData.delivery==30 && (supplier_item.productList[0].is_virtual == 1||supplier_item.productList[0].is_virtual == 3)" ref="getShopinfoData" :extract_store="extract_store" |
| | | :last_extract="last_extract" :verify_data="verify_data"></Verifystoreinfo> |
| | | |
| | | <view class="d-f-c"> |
| | |
| | | <view class="theme-price f24">-¥{{supplier_item.orderData.points_money}}</view> |
| | | </view> |
| | | </view> |
| | | <view v-if="is_use_consumption==1&&!OrderData.force_points&&supplier_item.orderData.consumption_money>0"> |
| | | <view class="d-f-c"> |
| | | <view>{{consumption_name()}}抵扣金额</view> |
| | | <view class="theme-price f24">-¥{{supplier_item.orderData.consumption_money}}</view> |
| | | </view> |
| | | </view> |
| | | <view class="d-f-c"> |
| | | <view class="ww100"> |
| | | <view class="mb20">订单备注</view> |
| | |
| | | <view class=""> |
| | | <text class="theme-price f24">-¥{{toDecimal2(OrderData.points_money)}}</text> |
| | | <switch style="transform: scale(0.7); margin-right: -10rpx;" checked=true @change="onShowPoints" /> |
| | | </view> |
| | | </view> |
| | | <view class="item" |
| | | v-if="OrderData.is_allow_consumption && OrderData.force_points == false &&OrderData.consumption_money != 0"> |
| | | <text class="key">可用{{consumption_name()}}抵扣:</text> |
| | | <view class=""> |
| | | <text class="theme-price f24">-¥{{toDecimal2(OrderData.consumption_money)}}</text> |
| | | <switch style="transform: scale(0.7); margin-right: -10rpx;" checked=true @change="onShowConsumption" /> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | coupon_id: -1, |
| | | /*是否使用积分,默认使用*/ |
| | | is_use_points: 1, |
| | | /*是否使用消费券,默认使用*/ |
| | | is_use_consumption: 1, |
| | | remark: '', |
| | | /*支付方式*/ |
| | | pay_type: 20, |
| | |
| | | } |
| | | self.getData(); |
| | | }, |
| | | /*是否使用消费券选择*/ |
| | | onShowConsumption: function(e) { |
| | | let self = this; |
| | | if (e.target.value == true) { |
| | | self.is_use_consumption = 1; |
| | | } else { |
| | | self.is_use_consumption = 0; |
| | | } |
| | | self.getData(); |
| | | }, |
| | | /*选择优惠卷*/ |
| | | onTogglePopupCoupon(e, id) { |
| | | let self = this; |
| | |
| | | store_id: self.store_id, |
| | | coupon_id: self.coupon_id, |
| | | is_use_points: self.is_use_points, |
| | | is_use_consumption: self.is_use_consumption, |
| | | // pay_source: self.getPlatform() |
| | | pay_source: 'android' |
| | | }; |
| | |
| | | room_id: self.room_id, |
| | | coupon_id: self.coupon_id, |
| | | is_use_points: self.is_use_points, |
| | | is_use_consumption: self.is_use_consumption, |
| | | // pay_source: self.getPlatform() |
| | | }; |
| | | |