|
@@ -209,7 +209,7 @@ export default {
|
|
|
removeFinancialExpenditure({
|
|
|
ids: id
|
|
|
})
|
|
|
- this.getList()
|
|
|
+ .then(() => this.getList())
|
|
|
},
|
|
|
beforeUpload(file) {
|
|
|
load.startLoading()
|
|
@@ -315,11 +315,12 @@ export default {
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
|
}).then(() => {
|
|
|
- removeFinancialExpenditure({
|
|
|
+ return removeFinancialExpenditure({
|
|
|
ids: this.passed.join(',')
|
|
|
})
|
|
|
- this.getList()
|
|
|
- }).catch(() => { });
|
|
|
+ })
|
|
|
+ .then(() => this.getList())
|
|
|
+ .catch(() => { });
|
|
|
}
|
|
|
}
|
|
|
}
|