|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<ContentWrap> |
|
|
|
<!-- 搜索工作栏 --> |
|
|
|
<Search :schema="UnfinishedShipmentMain.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" /> |
|
|
|
<Search :schema="[...UnfinishedShipmentMain.allSchemas.searchSchema,...UnfinishedShipmentDetail.allSchemas.searchSchema]" @search="setSearchParams" @reset="setSearchParams" /> |
|
|
|
</ContentWrap> |
|
|
|
|
|
|
|
<!-- 列表头部 --> |
|
|
@ -12,6 +12,7 @@ |
|
|
|
@updataTableColumns="updataTableColumns" |
|
|
|
@searchFormClick="searchFormClick" |
|
|
|
:allSchemas="UnfinishedShipmentMain.allSchemas" |
|
|
|
:detailAllSchemas="UnfinishedShipmentDetail.allSchemas" |
|
|
|
/> |
|
|
|
|
|
|
|
<!-- 列表 --> |
|
|
@ -57,6 +58,7 @@ |
|
|
|
:allSchemas="UnfinishedShipmentMain.allSchemas" |
|
|
|
:detailAllSchemas="UnfinishedShipmentDetail.allSchemas" |
|
|
|
:detailAllSchemasRules="UnfinishedShipmentDetailRules" |
|
|
|
:apiPage="UnfinishedShipmentDetailApi.getUnfinishedShipmentDetailPage" |
|
|
|
/> |
|
|
|
|
|
|
|
<!-- 导入 --> |
|
|
@ -82,7 +84,7 @@ const { t } = useI18n() // 国际化 |
|
|
|
const route = useRoute() // 路由信息 |
|
|
|
const routeName = ref() |
|
|
|
routeName.value = route.name |
|
|
|
const tableColumns = ref(UnfinishedShipmentMain.allSchemas.tableColumns) |
|
|
|
const tableColumns = ref([...UnfinishedShipmentMain.allSchemas.tableColumns,...UnfinishedShipmentDetail.allSchemas.tableMainColumns]) |
|
|
|
|
|
|
|
// 查询页面返回 |
|
|
|
const searchTableSuccess = (formField, searchField, val, formRef) => { |
|
|
@ -99,7 +101,7 @@ const updataTableColumns = (val) => { |
|
|
|
} |
|
|
|
|
|
|
|
const { tableObject, tableMethods } = useTable({ |
|
|
|
getListApi: UnfinishedShipmentMainApi.getUnfinishedShipmentMainPage // 分页接口 |
|
|
|
getListApi: UnfinishedShipmentDetailApi.getUnfinishedShipmentDetailPage // 分页接口 |
|
|
|
}) |
|
|
|
|
|
|
|
// 获得表格的各种操作 |
|
|
|