|
@ -3,19 +3,24 @@ |
|
|
<view class="head-box"></view> |
|
|
<view class="head-box"></view> |
|
|
<Navbar title="开票记录" :autoBack="true" :bgColor="bgColor" leftIconSize="18px" height="100rpx" :leftIconColor="leftIconColor" :titleStyle="{color:fontColor}" /> |
|
|
<Navbar title="开票记录" :autoBack="true" :bgColor="bgColor" leftIconSize="18px" height="100rpx" :leftIconColor="leftIconColor" :titleStyle="{color:fontColor}" /> |
|
|
<view class="content contentPosition_"> |
|
|
<view class="content contentPosition_"> |
|
|
<view class="info cardStyle_"> |
|
|
|
|
|
<view class="left"> |
|
|
|
|
|
<image src="https://img0.baidu.com/it/u=4274003247,920124130&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=1031" alt=""> |
|
|
|
|
|
|
|
|
<view class="info cardStyle_" v-for="(item, index) in list" :key="index"> |
|
|
|
|
|
<view class="left" v-if="item.noType == 0"> |
|
|
|
|
|
<image :src="item.activityList[0].image.split(',')[0]" alt=""> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class="left" v-if="item.noType == 1"> |
|
|
|
|
|
<image :src="item.travelList[0].image.split(',')[0]" alt=""> |
|
|
|
|
|
</view> |
|
|
<view class="right"> |
|
|
<view class="right"> |
|
|
<view class="detailed"> |
|
|
<view class="detailed"> |
|
|
<view class="title">夏日去撒野旅游计划~</view> |
|
|
|
|
|
<view class="date">2024.10.28 10:00</view> |
|
|
|
|
|
<view class="address">成都市东丽湖露营地32号</view> |
|
|
|
|
|
|
|
|
<view class="title" v-if="item.noType == 0">{{item.activityList[0].title}}</view> |
|
|
|
|
|
<view class="title" v-if="item.noType == 1">{{item.travelList[0].title}}</view> |
|
|
|
|
|
<view class="date">{{item.createTime}}</view> |
|
|
|
|
|
<view class="date">{{item.name}}</view> |
|
|
|
|
|
<view class="address">{{item.emil}}</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="data"> |
|
|
<view class="data"> |
|
|
<text>标准票</text> |
|
|
<text>标准票</text> |
|
|
<text>×3</text> |
|
|
|
|
|
|
|
|
<text>×1</text> |
|
|
<text class="btn">已开票</text> |
|
|
<text class="btn">已开票</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
@ -35,7 +40,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
|
|
|
|
|
|
|
|
|
list:[] |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
components: { |
|
|
components: { |
|
@ -48,13 +53,24 @@ export default { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
onShow() { |
|
|
|
|
|
console.log("进入了发票管理") |
|
|
|
|
|
this.getInvoicePageList(); |
|
|
|
|
|
}, |
|
|
mounted() { |
|
|
mounted() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
|
|
|
|
|
|
getInvoicePageList(){ |
|
|
|
|
|
this.$api('getInvoicePageList',res=>{ |
|
|
|
|
|
if(res.code == 200) { |
|
|
|
|
|
this.list = res.result.records |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
</script> |
|
|
</script> |
|
|