Compare commits
2 Commits
41f6f612fa
...
3afa2e8c10
| Author | SHA1 | Date | |
|---|---|---|---|
| 3afa2e8c10 | |||
| 7d1083bf5c |
@ -238,7 +238,7 @@ export const PAY_ORDER_NEW = "/ttpay/jsapi";
|
|||||||
// 订单列表
|
// 订单列表
|
||||||
export const SHOP_ORDER_LIST = "/douyin/goods/order/list";
|
export const SHOP_ORDER_LIST = "/douyin/goods/order/list";
|
||||||
// 订单详情
|
// 订单详情
|
||||||
export const SHOP_ORDER_DETAILS = "/product/order/show";
|
export const SHOP_ORDER_DETAILS = "/douyin/goods/order/show";
|
||||||
// 取消订单
|
// 取消订单
|
||||||
export const SHOP_ORDER_CANCEL = '/app/order/order_quxiao'
|
export const SHOP_ORDER_CANCEL = '/app/order/order_quxiao'
|
||||||
// 提醒发货
|
// 提醒发货
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
<view class="good-content" @click="$emit('clickGoodInfo', data[0])">
|
<view class="good-content" @click="$emit('clickGoodInfo', data[0])">
|
||||||
<view class="goods-row-first">
|
<view class="goods-row-first">
|
||||||
<view class="goods-name">{{ data[0].goods_name || "" }}</view>
|
<view class="goods-name">{{ data[0].goods_name || "" }}</view>
|
||||||
<text class="goods-price">¥{{ data[0].goods_price || actual_price }}</text>
|
<text class="goods-price">¥{{ data[0].goods_price || data[0].product_actual_price }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="goods-row-second">
|
<view class="goods-row-second">
|
||||||
<view class="goods-spec">
|
<view class="goods-spec">
|
||||||
@ -24,7 +24,7 @@
|
|||||||
<view class="good-info-right">
|
<view class="good-info-right">
|
||||||
<text class="good-total-price">¥{{ actual_price }}</text>
|
<text class="good-total-price">¥{{ actual_price }}</text>
|
||||||
<text class="fs-24 app-fc-normal good-num">
|
<text class="fs-24 app-fc-normal good-num">
|
||||||
共1件
|
共{{ totalCount }}件
|
||||||
</text>
|
</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -56,6 +56,11 @@
|
|||||||
return sum + price * number;
|
return sum + price * number;
|
||||||
}, 0).toFixed(2);
|
}, 0).toFixed(2);
|
||||||
},
|
},
|
||||||
|
totalCount() {
|
||||||
|
return this.data.reduce((sum, item) => {
|
||||||
|
return sum + parseInt(item.number || 1);
|
||||||
|
}, 0);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
console.log(this.data,'--')
|
console.log(this.data,'--')
|
||||||
|
|||||||
@ -44,7 +44,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="order-content" :class="{ 'split-border': showStatusBtn }" @click="jumpToDetails">
|
<view class="order-content" :class="{ 'split-border': showStatusBtn }" @click="jumpToDetails">
|
||||||
<good-info :data="data" :actual_price="data.actual_price" />
|
<good-info :data="data.items" :actual_price="data.actual_price" />
|
||||||
<view v-if="data.type && data.type !== 1" class="fs-24 app-fc-mark order-type">
|
<view v-if="data.type && data.type !== 1" class="fs-24 app-fc-mark order-type">
|
||||||
随车订单
|
随车订单
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -98,7 +98,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="info-cell address-info-cell">
|
<view v-if="orderData.address" class="info-cell address-info-cell">
|
||||||
<view class="address-content">
|
<view class="address-content">
|
||||||
<view class="address-row-first">
|
<view class="address-row-first">
|
||||||
<image class="address-icon" src="@/static/images/address.png" />
|
<image class="address-icon" src="@/static/images/address.png" />
|
||||||
@ -266,8 +266,8 @@
|
|||||||
<!-- 抖音退款组件 -->
|
<!-- 抖音退款组件 -->
|
||||||
<view class="refund-btn-wrapper">
|
<view class="refund-btn-wrapper">
|
||||||
<pay-button-sdk
|
<pay-button-sdk
|
||||||
mode=1
|
mode={{1}}
|
||||||
:order-id="orderData.order_no || orderData.order_id"
|
:order-id="orderData.order_no"
|
||||||
:order-status="1"
|
:order-status="1"
|
||||||
:refund-total-amount="Math.round((orderData.actual_price || 0) * 100)"
|
:refund-total-amount="Math.round((orderData.actual_price || 0) * 100)"
|
||||||
:apply-refund-params="{
|
:apply-refund-params="{
|
||||||
@ -517,24 +517,6 @@ import {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
selectOption1(v) {
|
|
||||||
this.WeChat = v
|
|
||||||
this.wallet = ''
|
|
||||||
console.log(this.WeChat)
|
|
||||||
this.selected1 = false;
|
|
||||||
this.selected2 = true;
|
|
||||||
this.selected3 = true;
|
|
||||||
this.selected4 = false;
|
|
||||||
},
|
|
||||||
selectOption2(v) {
|
|
||||||
this.WeChat = ''
|
|
||||||
this.wallet = v
|
|
||||||
console.log(this.wallet)
|
|
||||||
this.selected1 = true;
|
|
||||||
this.selected2 = false;
|
|
||||||
this.selected3 = false;
|
|
||||||
this.selected4 = true;
|
|
||||||
},
|
|
||||||
coutDown() {
|
coutDown() {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (this.countDownTime > 0) {
|
if (this.countDownTime > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user