|
|
@ -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 16:14:47
|
|
|
|
* @LastEditTime: 2022-05-16 17:51:43
|
|
|
|
* @Description: file content
|
|
|
|
* @Description: file content
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
@ -39,15 +39,17 @@
|
|
|
|
<td class="not-border">
|
|
|
|
<td class="not-border">
|
|
|
|
<UIGoodsInfo :goods="i"/>
|
|
|
|
<UIGoodsInfo :goods="i"/>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td class="not-border" width="96">
|
|
|
|
<td class="not-border" width="96" @click="handleDetail(item.orderId)">
|
|
|
|
<UiMoney :money="i.realAmount" />
|
|
|
|
<UiMoney :money="i.realAmount" @click="handleDetail(item.orderId)"/>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td class="not-border" width="96">{{i.quantity}}</td>
|
|
|
|
<td class="not-border" width="96" @click="handleDetail(item.orderId)">{{i.quantity}}</td>
|
|
|
|
<template v-if="!idx">
|
|
|
|
<template v-if="!idx">
|
|
|
|
<td width="120" :rowspan="item.products.length">
|
|
|
|
<td width="120" :rowspan="item.products.length" @click="handleDetail(item.orderId)">
|
|
|
|
<UiMoney :money="item.payAmount" />
|
|
|
|
<UiMoney :money="item.payAmount" />
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td width="110" :rowspan="item.products.length">{{item.orderStatusDesc}}</td>
|
|
|
|
<td width="110" :rowspan="item.products.length" @click="handleDetail(item.orderId)">
|
|
|
|
|
|
|
|
{{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">
|
|
|
|
<UiButton type="yellow_gradual" @click="pay(item)">去支付</UiButton>
|
|
|
|
<UiButton type="yellow_gradual" @click="pay(item)">去支付</UiButton>
|
|
|
@ -170,6 +172,12 @@ export default {
|
|
|
|
this.reloadData()
|
|
|
|
this.reloadData()
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
handleDetail(id){
|
|
|
|
|
|
|
|
this.$router.push({
|
|
|
|
|
|
|
|
path : '/account/order/detail',
|
|
|
|
|
|
|
|
query : {id}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|