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