|
@@ -24,7 +24,7 @@ export default {
|
|
[
|
|
[
|
|
[
|
|
[
|
|
{
|
|
{
|
|
- isRole: !!~['auxiliaryMaterialsStorage'].indexOf(this?.$route?.name),
|
|
|
|
|
|
+ isRole: !!~['auxiliaryMaterialsStorage', 'partsStorage'].indexOf(this?.$route?.name),
|
|
name: '采购入库模板',
|
|
name: '采购入库模板',
|
|
click: () => {
|
|
click: () => {
|
|
commonTemplateDownload({ name: '采购入库模板.xlsx' }, `${this.$route.meta.title}`)
|
|
commonTemplateDownload({ name: '采购入库模板.xlsx' }, `${this.$route.meta.title}`)
|
|
@@ -42,7 +42,7 @@ export default {
|
|
],
|
|
],
|
|
[
|
|
[
|
|
{
|
|
{
|
|
- isRole: !!~['auxiliaryMaterialsStorage'].indexOf(this?.$route?.name),
|
|
|
|
|
|
+ isRole: !!~['auxiliaryMaterialsStorage', 'partsStorage'].indexOf(this?.$route?.name),
|
|
name: '导入模板',
|
|
name: '导入模板',
|
|
render: () => {
|
|
render: () => {
|
|
return this.importButton(websitPurchaseInImport, '导入模板', { goodsType: this.storageType })
|
|
return this.importButton(websitPurchaseInImport, '导入模板', { goodsType: this.storageType })
|
|
@@ -53,7 +53,7 @@ export default {
|
|
[
|
|
[
|
|
[
|
|
[
|
|
{
|
|
{
|
|
- isRole: !!~['partsStorage'].indexOf(this?.$route?.name),
|
|
|
|
|
|
+ isRole: !!~['returnAuxiliaryMaterials', 'partsReturn'].indexOf(this?.$route?.name),
|
|
name: '采购退货模板',
|
|
name: '采购退货模板',
|
|
click: () => {
|
|
click: () => {
|
|
commonTemplateDownload({ name: '采购退货模板.xlsx' }, `${this.$route.meta.title}`)
|
|
commonTemplateDownload({ name: '采购退货模板.xlsx' }, `${this.$route.meta.title}`)
|
|
@@ -71,7 +71,7 @@ export default {
|
|
],
|
|
],
|
|
[
|
|
[
|
|
{
|
|
{
|
|
- isRole: !!~['partsStorage'].indexOf(this?.$route?.name),
|
|
|
|
|
|
+ isRole: !!~['returnAuxiliaryMaterials', 'partsReturn'].indexOf(this?.$route?.name),
|
|
name: '导入模板',
|
|
name: '导入模板',
|
|
render: () => {
|
|
render: () => {
|
|
return this.importButton(websitPurchaseRetImport, '导入模板', { goodsType: this.storageType })
|
|
return this.importButton(websitPurchaseRetImport, '导入模板', { goodsType: this.storageType })
|