commit
This commit is contained in:
@@ -580,7 +580,7 @@ layout("/layouts/platform.html"){
|
||||
this.$refs["addForm"].validate(async (valid) => {
|
||||
if (valid) {
|
||||
if (this.balance < this.formData.money) {
|
||||
this.notifyWarning("余额不足,请联系校工会")
|
||||
this.$message.warning("余额不足,请联系校工会")
|
||||
return
|
||||
}
|
||||
const loading = this.$loading({
|
||||
@@ -597,10 +597,10 @@ layout("/layouts/platform.html"){
|
||||
sign: this.formData.sign
|
||||
})
|
||||
if (resp.code === 0) {
|
||||
this.notifySuccess(resp.msg)
|
||||
this.$message.success(resp.msg)
|
||||
window.location.href = '/activity/reimbursement/list'
|
||||
} else {
|
||||
this.notifyWarning(resp.msg)
|
||||
this.$message.warning(resp.msg)
|
||||
loading.close()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user