This commit is contained in:
wwz
2025-01-03 13:26:37 +08:00
parent 264bb60e9c
commit 17a79eef0f
5 changed files with 49 additions and 30 deletions

View File

@@ -80,7 +80,7 @@
// // #endif
shownav: {
type: Boolean,
default: true
default: false
},
title: {
type: String,

View File

@@ -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() {

View File

@@ -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>

View File

@@ -46,10 +46,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 class="content_boxt_tow">
<view class="content_boxt_towtext">

View File

@@ -3,4 +3,4 @@
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') +
'" />')</script><link rel=stylesheet href=/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.02fb05d3.js></script><script src=/static/js/index.6c63b0d0.js></script></body></html>
'" />')</script><link rel=stylesheet href=/static/index.2da1efab.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.773df081.js></script><script src=/static/js/index.519ef1d2.js></script></body></html>