|
@@ -24,9 +24,9 @@ import mixinPage from "@/mixins/elPaginationHandle";
|
|
|
import resToken from "@/mixins/resToken";
|
|
|
import { mapGetters } from "vuex";
|
|
|
//标签页组件引入
|
|
|
-const table1 = () => import("./components/table1")
|
|
|
-const table2 = () => import("./components/table2")
|
|
|
-const table3 = () => import("./components/table3")
|
|
|
+const table1 = () => import("./components/table1");
|
|
|
+const table2 = () => import("./components/table2");
|
|
|
+const table3 = () => import("./components/table3");
|
|
|
export default {
|
|
|
mixins: [mixinPage, resToken],
|
|
|
components: {
|
|
@@ -39,9 +39,8 @@ export default {
|
|
|
...mapGetters(["tablebtnSize", "searchSize", "size"]),
|
|
|
powers() {
|
|
|
let tran =
|
|
|
- this.$store.getters.btnList.find(
|
|
|
- (item) => item.menu_route == "purchaseReport"
|
|
|
- ) || {};
|
|
|
+ this.$store.getters.btnList.find((item) => item.menu_route == "productReport") ||
|
|
|
+ {};
|
|
|
if (tran && tran.action && tran.action.length > 0) {
|
|
|
return tran.action;
|
|
|
} else {
|
|
@@ -51,16 +50,15 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- activeName: 'table3'
|
|
|
- }
|
|
|
+ activeName: "table3",
|
|
|
+ };
|
|
|
},
|
|
|
methods: {
|
|
|
// handleClick(tab, event) {
|
|
|
// console.log(tab, event);
|
|
|
// }
|
|
|
- }
|
|
|
-}
|
|
|
+ },
|
|
|
+};
|
|
|
</script>
|
|
|
|
|
|
-<style lang="scss" scoped>
|
|
|
-</style>
|
|
|
+<style lang="scss" scoped></style>
|