|
|
@ -2,7 +2,7 @@
|
|
|
|
* @Author: ch
|
|
|
|
* @Author: ch
|
|
|
|
* @Date: 2022-05-04 20:47:29
|
|
|
|
* @Date: 2022-05-04 20:47:29
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditTime: 2022-05-16 14:14:18
|
|
|
|
* @LastEditTime: 2022-05-16 16:14:47
|
|
|
|
* @Description: file content
|
|
|
|
* @Description: file content
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
@ -39,10 +39,14 @@
|
|
|
|
<td class="not-border">
|
|
|
|
<td class="not-border">
|
|
|
|
<UIGoodsInfo :goods="i"/>
|
|
|
|
<UIGoodsInfo :goods="i"/>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td class="not-border" width="96">{{i.realAmount}}</td>
|
|
|
|
<td class="not-border" width="96">
|
|
|
|
|
|
|
|
<UiMoney :money="i.realAmount" />
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td class="not-border" width="96">{{i.quantity}}</td>
|
|
|
|
<td class="not-border" width="96">{{i.quantity}}</td>
|
|
|
|
<template v-if="!idx">
|
|
|
|
<template v-if="!idx">
|
|
|
|
<td width="120" :rowspan="item.products.length">{{item.payAmount}}</td>
|
|
|
|
<td width="120" :rowspan="item.products.length">
|
|
|
|
|
|
|
|
<UiMoney :money="item.payAmount" />
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td width="110" :rowspan="item.products.length">{{item.orderStatusDesc}}</td>
|
|
|
|
<td width="110" :rowspan="item.products.length">{{item.orderStatusDesc}}</td>
|
|
|
|
<td width="145" :rowspan="item.products.length">
|
|
|
|
<td width="145" :rowspan="item.products.length">
|
|
|
|
<template v-if="item.orderStatus === 1">
|
|
|
|
<template v-if="item.orderStatus === 1">
|
|
|
@ -54,7 +58,6 @@
|
|
|
|
<UiButton type="yellow_gradual" @click="receive(item)">确认收货</UiButton>
|
|
|
|
<UiButton type="yellow_gradual" @click="receive(item)">确认收货</UiButton>
|
|
|
|
<router-link class="link-btn" :to="`./detail?id=${item.orderId}`">查看物流</router-link>
|
|
|
|
<router-link class="link-btn" :to="`./detail?id=${item.orderId}`">查看物流</router-link>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
@ -81,8 +84,9 @@ import UIGoodsInfo from '@/components/UIGoodsInfo.vue';
|
|
|
|
import UiLineBox from '@/components/UiLineBox.vue';
|
|
|
|
import UiLineBox from '@/components/UiLineBox.vue';
|
|
|
|
import Tab from './module/Tab.vue';
|
|
|
|
import Tab from './module/Tab.vue';
|
|
|
|
import UiLoading from '../../../../../components/UiLoading.vue';
|
|
|
|
import UiLoading from '../../../../../components/UiLoading.vue';
|
|
|
|
|
|
|
|
import UiMoney from '../../../../../components/UiMoney.vue';
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components: { UiLineBox, UIGoodsInfo, Tab, UiButton, BsPay, UiEmpty, BsCancelOrder, UiLoading },
|
|
|
|
components: { UiLineBox, UIGoodsInfo, Tab, UiButton, BsPay, UiEmpty, BsCancelOrder, UiLoading, UiMoney },
|
|
|
|
data(){
|
|
|
|
data(){
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
tabActive : this.$route.query.type || -1,
|
|
|
|
tabActive : this.$route.query.type || -1,
|
|
|
|