提交 bb064466 authored 作者: pengxiaohui's avatar pengxiaohui

update

上级 05a283bd
......@@ -73,7 +73,7 @@
<script>
export default {
name: 'TableList',
name: 'AppList',
props: {
// 接口请求
remote: { type: Object, default: () => ({}) },
......@@ -164,7 +164,7 @@ export default {
this.fetchList()
},
// 刷新
c(isForce) {
refetch(isForce) {
isForce ? this.reset() : this.fetchList()
},
// 页数改变
......
......@@ -99,9 +99,11 @@ export default {
val.payment_id = this.payment_id
createInvoice(val).then(res => {
this.$message.success('开具发票成功')
// this.$refs.appList.refetch()
this.$refs.appList.refetch()
this.drawerVisible = false
}).catch(err => {
console.log(err)
this.$message.error((err.data && err.data.message) || '开具发票失败')
})
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论