Browse Source

其他账务跳转 返回列表清路由

lichao 3 năm trước cách đây
mục cha
commit
e48faf261a

+ 8 - 0
src/views/finance/otherFinancial/index.vue

@@ -967,6 +967,11 @@ export default {
     })
     this.getList()
   },
+  activated() {
+    if (this.$route.query.id) {
+      this.handleUpdate({fId: this.$route.query.id});
+    }
+  },
   methods: {
     handleSizeChange(val) {
       console.log(`每页 ${val} 条`);
@@ -1026,6 +1031,9 @@ export default {
         cancelButtonText: '取消',
         type: 'warning'
       }).then(() => {
+        if (this.$route.query.id) {
+          this.$router.push({query: {}});
+        }
         this.jiGang = false
       }).catch(() => {
       })

+ 1 - 1
src/views/finance/query/index.vue

@@ -546,7 +546,7 @@ export default {
     },
     // 导出
     handleExport() {
-      this.$confirm("是否确认导出所有库存总账数据项?", "警告", {
+      this.$confirm("是否确认导出所有账单明细数据项?", "警告", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning",