|
@@ -121,7 +121,10 @@ export default {
|
|
...mapActions(['GetSettleAccountState']),
|
|
...mapActions(['GetSettleAccountState']),
|
|
// 选择结算方式
|
|
// 选择结算方式
|
|
settleStyleChange (v, name) {
|
|
settleStyleChange (v, name) {
|
|
- this.form.settleStyleName = name.dispName
|
|
|
|
|
|
+ console.log(name)
|
|
|
|
+ if (name) {
|
|
|
|
+ this.form.settleStyleName = name.dispName
|
|
|
|
+ }
|
|
},
|
|
},
|
|
// 递归函数
|
|
// 递归函数
|
|
recursionFun (data) {
|
|
recursionFun (data) {
|
|
@@ -154,6 +157,7 @@ export default {
|
|
},
|
|
},
|
|
// 详情
|
|
// 详情
|
|
getDetail () {
|
|
getDetail () {
|
|
|
|
+ this.spinning = true
|
|
findExpenseDetail({ id: this.$route.params.id }).then(res => {
|
|
findExpenseDetail({ id: this.$route.params.id }).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
this.form = Object.assign({}, this.form, res.data)
|
|
this.form = Object.assign({}, this.form, res.data)
|
|
@@ -161,6 +165,9 @@ export default {
|
|
} else {
|
|
} else {
|
|
this.$refs.ruleForm.resetFields()
|
|
this.$refs.ruleForm.resetFields()
|
|
}
|
|
}
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.spinning = false
|
|
|
|
+ }, 1000)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
// 保存
|
|
// 保存
|