|
|
@ -8,7 +8,6 @@ |
|
|
|
<TableHead |
|
|
|
:HeadButttondata="HeadButttondata" |
|
|
|
@button-base-click="buttonBaseClick" |
|
|
|
:tableColumns="tableColumns" |
|
|
|
:routeName="routeName" |
|
|
|
@updataTableColumns="updataTableColumns" |
|
|
|
/> |
|
|
@ -76,9 +75,7 @@ const { t } = useI18n() // 国际化 |
|
|
|
const route = useRoute() // 路由信息 |
|
|
|
const routeName = ref() |
|
|
|
routeName.value = route.name |
|
|
|
const tableColumns = ref() |
|
|
|
|
|
|
|
|
|
|
|
const tableColumns = ref(Itempackaging.allSchemas.tableColumns) |
|
|
|
|
|
|
|
// 字段设置 更新主列表字段 |
|
|
|
const updataTableColumns = (val) => { |
|
|
@ -218,12 +215,6 @@ const importSuccess = () => { |
|
|
|
|
|
|
|
/** 初始化 **/ |
|
|
|
onMounted(async () => { |
|
|
|
console.log('222222222222222222222') |
|
|
|
nextTick(() => { |
|
|
|
tableColumns.value = Itempackaging.allSchemas.tableColumns |
|
|
|
}) |
|
|
|
// console.log('111111111111111111111111111', tableColumns.value) |
|
|
|
// console.log('1111111111111111111111111112222222222', Itempackaging.allSchemas.tableColumns) |
|
|
|
getList() |
|
|
|
importTemplateData.templateUrl = await ItempackagingApi.importTemplate() |
|
|
|
}) |
|
|
|