|
|
@ -107,9 +107,14 @@ const route = useRoute() // 路由信息 |
|
|
|
const routeName = ref() |
|
|
|
routeName.value = route.name |
|
|
|
const tableColumns = ref([...PurchasereceiptJobMain.allSchemas.tableColumns,...PurchasereceiptJobDetail.allSchemas.tableMainColumns]) |
|
|
|
|
|
|
|
if(routeName.value.includes('SCP')){ |
|
|
|
tableColumns.value = tableColumns.value.filter(item=>item.label!='操作') |
|
|
|
} |
|
|
|
// 字段设置 更新主列表字段 |
|
|
|
const updataTableColumns = (val) => { |
|
|
|
if(routeName.value.includes('SCP')){ |
|
|
|
val = val.filter(item=>item.label!='操作') |
|
|
|
} |
|
|
|
tableColumns.value = val |
|
|
|
} |
|
|
|
|
|
|
|