This commit is contained in:
2020-12-29 01:29:43 +00:00
parent 093f80e211
commit fc162af66b
11 changed files with 869 additions and 41 deletions

View File

@@ -97,7 +97,8 @@ export default {
Memo: 60,
Review: 61,
ServiceRate: 62,
TravelRate: 63
TravelRate: 63,
TaxCode: 64
};
/**
*

View File

@@ -19,6 +19,7 @@ export default {
Project: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
ServiceRate: { Change: 66, ReadFullRecord: 98701, Select: 131071 },
TravelRate: { Change: 66, ReadFullRecord: 98701, Select: 131071 },
TaxCode: { Change: 66, ReadFullRecord: 98701, Select: 131071 },
Quote: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
QuoteItem: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
QuoteTemplate: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },

View File

@@ -478,14 +478,14 @@ function initNavPanel() {
});
}
// if (window.$gz.role.canOpen(window.$gz.type.TaxCode)) {
// sub.push({
// title: "TaxCodeList",
// icon: "$ayiPercent",
// route: "/acc-accounting",
// key: key++
// });
// }
if (window.$gz.role.canOpen(window.$gz.type.TaxCode)) {
sub.push({
title: "TaxCodeList",
icon: "$ayiPercent",
route: "/acc-tax-codes",
key: key++
});
}
// ** ACCOUNTING (TOP)
if (sub.length > 0) {

View File

@@ -207,6 +207,12 @@ export default {
params: { recordid: tid.id }
});
break;
case ayatype.TaxCode:
vm.$router.push({
name: "tax-code-edit",
params: { recordid: tid.id }
});
break;
default:
window.$gz.eventBus.$emit(