合同请款提示屏蔽

This commit is contained in:
Vergil
2020-03-26 16:46:38 +08:00
parent 8410fb950b
commit 6254e490ba

View File

@@ -127,20 +127,20 @@ export default {
}) })
if (this.token.toString() === '2') { if (this.token.toString() === '2') {
searchRequestFund(1, 9999, 0, 0, 0, 0, 0).then(res => { searchRequestFund(1, 9999, 0, 0, 0, 0, 0).then(res => {
if (res.data.length) { // if (res.data.length) {
this.noticeContract2 = null // this.noticeContract2 = null
this.noticeContract2 = this.$notify.success({ // this.noticeContract2 = this.$notify.success({
title: '提示', // title: '提示',
message: '有合同请款申请审批结果,点击查看', // message: '有合同请款申请审批结果,点击查看',
onClick: () => { // onClick: () => {
setChakan().then(res => { // setChakan().then(res => {
this.$router.push({ path: '/PurchasingCenter/PurchaseContractRequestFund' }) // this.$router.push({ path: '/PurchasingCenter/PurchaseContractRequestFund' })
setTimeout(this.noticeContract2.close(), 1000) // setTimeout(this.noticeContract2.close(), 1000)
}) // })
}, // },
duration: 1000 * 60 // duration: 1000 * 60
}) // })
} // }
}) })
initApproval(1, 999, 1).then(res => { initApproval(1, 999, 1).then(res => {
if (res.data.rows.length) { if (res.data.rows.length) {