|
@@ -162,16 +162,14 @@ export default {
|
|
|
computed: {
|
|
|
...mapGetters(["tablebtnSize", "searchSize", "size"]),
|
|
|
powers() {
|
|
|
- const { btnList } = ths.$store.getters;
|
|
|
+ const { btnList } = this.$store.getters;
|
|
|
const tran = btnList.find(item => item.menu_route == "stockCount") || {};
|
|
|
const { action } = tran ?? {};
|
|
|
return action ?? [];
|
|
|
},
|
|
|
goodCostPremission() {
|
|
|
- const tran =
|
|
|
- this.$store.getters.btnList.find(
|
|
|
- item => item.menu_route == "goodsCost"
|
|
|
- ) || {};
|
|
|
+ const { btnList } = this.$store.getters;
|
|
|
+ const tran = btnList.find(item => item.menu_route == "goodsCost") || {};
|
|
|
const { action } = tran ?? {};
|
|
|
return action ?? [];
|
|
|
}
|