审批half
This commit is contained in:
@@ -27,6 +27,7 @@ import Breadcrumb from '@/components/Breadcrumb'
|
||||
import Hamburger from '@/components/Hamburger'
|
||||
import { searchTable1 } from '@/api/PurchasingCenter/PurchaseContractApproval'
|
||||
import { initApproval, initApprovalOffline } from '@/api/PurchasingCenter/FundApproval'
|
||||
import { searchTable1 as searchTableInvoice } from '@/api/PurchasingCenter/InvoiceSettlementApprove'
|
||||
export default {
|
||||
components: {
|
||||
Breadcrumb,
|
||||
@@ -36,7 +37,8 @@ export default {
|
||||
return {
|
||||
timer: '',
|
||||
noticeContract: null,
|
||||
noticeFund: null
|
||||
noticeFund: null,
|
||||
noticeInvoice: null
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -44,7 +46,8 @@ export default {
|
||||
'sidebar',
|
||||
'avatar',
|
||||
'name',
|
||||
'id'
|
||||
'id',
|
||||
'token'
|
||||
])
|
||||
},
|
||||
mounted() {
|
||||
@@ -95,6 +98,20 @@ export default {
|
||||
})
|
||||
}
|
||||
})
|
||||
searchTableInvoice(0, null, null, 1, 999, this.token).then(res => {
|
||||
if (res.data.total) {
|
||||
this.noticeInvoice = null
|
||||
this.noticeInvoice = this.$notify.info({
|
||||
title: '提示',
|
||||
message: '您有发票结算申请待审批,请及时处理,点击查看',
|
||||
onClick: () => {
|
||||
this.$router.push({ path: '/InvoiceSettlementApprove/index' })
|
||||
setTimeout(this.noticeInvoice.close(), 1000)
|
||||
},
|
||||
duration: 1000 * 60
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
toggleSideBar() {
|
||||
this.$store.dispatch('ToggleSideBar')
|
||||
|
||||
Reference in New Issue
Block a user