1
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<view class="content">
|
||||
<!-- 占位符导航栏 -->
|
||||
<navseat :opacity='false' :title='"首页"' :titleshow='true' :iconshow='false' :heightshow='true'
|
||||
:namecolor='"#fff"' iconcolor='#fff'></navseat>
|
||||
:namecolor='"#fff"' iconcolor='#fff' ></navseat>
|
||||
<view class="topswiper" v-if="restype == 2">
|
||||
<u-swiper :list="swiperlist" height="166"></u-swiper>
|
||||
<view class="onetopswiper">
|
||||
@@ -18,22 +18,33 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="Box flex-between" v-if="restype == 1 && improveinformation">
|
||||
<view class="content flex-colum" @click="merchantindex" v-if="store_status == 2">
|
||||
<image src="https://czg-invoicing.oss-cn-beijing.aliyuncs.com/static/item3.png" mode="aspectFill">
|
||||
</image>
|
||||
<text>固定开票</text>
|
||||
</view>
|
||||
<view class="content flex-colum" @click="indexInvoicing" v-if="store_status == 1">
|
||||
<image src="https://czg-invoicing.oss-cn-beijing.aliyuncs.com/static/item3.png" mode="aspectFill">
|
||||
</image>
|
||||
<view class="content flex-colum" @click="indexInvoicing" v-if="improveinformation">
|
||||
<image src="https://czg-invoicing.oss-cn-beijing.aliyuncs.com/static/item3.png" mode="aspectFill"></image>
|
||||
<text>极速开票</text>
|
||||
</view>
|
||||
|
||||
<view class="content flex-colum" v-for="(item,index) in list" @click="clickcontent(item)" :key="index"
|
||||
v-if="item.show">
|
||||
<image :src="item.imge" mode="aspectFill">
|
||||
</image>
|
||||
<text>{{item.name}}</text>
|
||||
<view class="content flex-colum" @click="webview" v-if="improveinformation">
|
||||
<image src="https://czg-invoicing.oss-cn-beijing.aliyuncs.com/static/item2.png" mode="aspectFill"></image>
|
||||
<text>后台管理</text>
|
||||
</view>
|
||||
<view class="content flex-colum" @click="indexorder" v-if="improveinformation">
|
||||
<image src="https://czg-invoicing.oss-cn-beijing.aliyuncs.com/static/item1.png" mode="aspectFill"></image>
|
||||
<text>开票记录</text>
|
||||
</view>
|
||||
<view class="content flex-colum" @click="notification" v-if="improveinformation">
|
||||
<image src="https://czg-invoicing.oss-cn-beijing.aliyuncs.com/static/item6.png" mode="aspectFill"></image>
|
||||
<text>绑定通知</text>
|
||||
</view>
|
||||
<view class="content flex-colum" @click="drawer" v-if="improveinformation">
|
||||
<image src="https://czg-invoicing.oss-cn-beijing.aliyuncs.com/static/item5.png" mode="aspectFill"></image>
|
||||
<text>开票员列表</text>
|
||||
</view>
|
||||
<view class="content flex-colum" @click="billingcode" v-if="improveinformation">
|
||||
<image src="https://czg-invoicing.oss-cn-beijing.aliyuncs.com/static/item7.png" mode="aspectFill"></image>
|
||||
<text>开票码</text>
|
||||
</view>
|
||||
<view class="content flex-colum" @click="auditbilling" v-if="improveinformation">
|
||||
<image src="https://czg-invoicing.oss-cn-beijing.aliyuncs.com/static/item8.png" mode="aspectFill"></image>
|
||||
<text>审核开票</text>
|
||||
</view>
|
||||
<!-- <view class="content flex-colum" @click="jumpToMiniProgram" v-if="improveinformation">
|
||||
<image src="https://czg-invoicing.oss-cn-beijing.aliyuncs.com/static/item8.png" mode="aspectFill"></image>
|
||||
@@ -202,13 +213,13 @@
|
||||
console.log('失败');
|
||||
},
|
||||
async onShow() {
|
||||
// try {
|
||||
// let res = await this.api.getrulelist()
|
||||
// this.list = res.data
|
||||
// console.log(res)
|
||||
// } catch (e) {
|
||||
// //TODO handle the exception
|
||||
// }
|
||||
try {
|
||||
let res = await this.api.getrulelist()
|
||||
this.list = res.data
|
||||
console.log(res)
|
||||
} catch (e) {
|
||||
//TODO handle the exception
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
async jumpToMiniProgram() {
|
||||
|
||||
@@ -36,10 +36,14 @@
|
||||
<text class="classvie_itemone">项目名称:</text>
|
||||
<text class="classvie_itemtow">{{ datalsit.article }}</text>
|
||||
</view>
|
||||
<view class="classvie_item flex-start">
|
||||
<text class="classvie_itemone">开票时间:</text>
|
||||
<view class="classvie_item flex-start" v-if="datalsit.createtime">
|
||||
<text class="classvie_itemone">创建时间:</text>
|
||||
<text class="classvie_itemtow">{{ datalsit.createtime }}</text>
|
||||
</view>
|
||||
<view class="classvie_item flex-start" v-if="datalsit.kprq">
|
||||
<text class="classvie_itemone">开票时间:</text>
|
||||
<text class="classvie_itemtow">{{ datalsit.kprq }}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -46,9 +46,13 @@
|
||||
<text class="classvie_itemone">项目名称:</text>
|
||||
<text class="classvie_itemtow">{{datalsit.article}}</text>
|
||||
</view>
|
||||
<view class="classvie_item flex-start">
|
||||
<view class="classvie_item flex-start" v-if="datalsit.createtime">
|
||||
<text class="classvie_itemone">创建时间:</text>
|
||||
<text class="classvie_itemtow">{{ datalsit.createtime }}</text>
|
||||
</view>
|
||||
<view class="classvie_item flex-start" v-if="datalsit.kprq">
|
||||
<text class="classvie_itemone">开票时间:</text>
|
||||
<text class="classvie_itemtow">{{datalsit.createtime}}</text>
|
||||
<text class="classvie_itemtow">{{ datalsit.kprq }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content_boxt_tow">
|
||||
@@ -116,9 +120,9 @@
|
||||
// 调用绘制方法将二维码图案绘制到canvas上
|
||||
qr.drawCanvas();
|
||||
} else {
|
||||
setTimeout(()=>{
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
},1000)
|
||||
}, 1000)
|
||||
}
|
||||
},
|
||||
savealbum(e) {
|
||||
|
||||
Reference in New Issue
Block a user