|
@@ -595,6 +595,7 @@ export default {
|
|
// 转费用单
|
|
// 转费用单
|
|
async handleExpense (row) {
|
|
async handleExpense (row) {
|
|
const _this = this
|
|
const _this = this
|
|
|
|
+ _this.spinning = true
|
|
const hasExpense = await queryCreateBySalesBillSn({ salesBillSn: row.salesBillSn }).then(res => res.data || [])
|
|
const hasExpense = await queryCreateBySalesBillSn({ salesBillSn: row.salesBillSn }).then(res => res.data || [])
|
|
const showModalFlag = []
|
|
const showModalFlag = []
|
|
const optionsKey = [
|
|
const optionsKey = [
|
|
@@ -650,6 +651,7 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ _this.spinning = false
|
|
},
|
|
},
|
|
// 选择费用报销单类型
|
|
// 选择费用报销单类型
|
|
changeDaOpt (e) {
|
|
changeDaOpt (e) {
|
|
@@ -670,6 +672,7 @@ export default {
|
|
this.$refs.table.refresh()
|
|
this.$refs.table.refresh()
|
|
this.openBaseModal = false
|
|
this.openBaseModal = false
|
|
this.expenseOption = null
|
|
this.expenseOption = null
|
|
|
|
+ this.$refs.expenseModal.spinning = false
|
|
this.$router.push({ name: 'expenseReimbursementEdit', params: { sn: res.data.expenseAccountSn } })
|
|
this.$router.push({ name: 'expenseReimbursementEdit', params: { sn: res.data.expenseAccountSn } })
|
|
}
|
|
}
|
|
})
|
|
})
|