Browse Source

检验记录---主子表合并

master_hella_20240701
yufei0306 5 months ago
parent
commit
c3d67e6435
  1. 5
      src/views/wms/purchasereceiptManage/inspect/inspectRecordMain/index.vue

5
src/views/wms/purchasereceiptManage/inspect/inspectRecordMain/index.vue

@ -1,7 +1,7 @@
<template> <template>
<ContentWrap> <ContentWrap>
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<Search :schema="InspectRecordMain.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" /> <Search :schema="[...InspectRecordMain.allSchemas.searchSchema,...InspectRecordDetail.allSchemas.searchSchema]" @search="setSearchParams" @reset="setSearchParams" />
</ContentWrap> </ContentWrap>
<!-- 列表头部 --> <!-- 列表头部 -->
@ -12,6 +12,7 @@
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick" @searchFormClick="searchFormClick"
:allSchemas="InspectRecordMain.allSchemas" :allSchemas="InspectRecordMain.allSchemas"
:detailAllSchemas="InspectRecordDetail.allSchemas"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -80,7 +81,7 @@ const { t } = useI18n() // 国际化
const route = useRoute() // const route = useRoute() //
const routeName = ref() const routeName = ref()
routeName.value = route.name routeName.value = route.name
const tableColumns = ref(InspectRecordMain.allSchemas.tableColumns) const tableColumns = ref([...InspectRecordMain.allSchemas.tableColumns,...InspectRecordDetail.allSchemas.tableMainColumns])
// //
const updataTableColumns = (val) => { const updataTableColumns = (val) => {

Loading…
Cancel
Save