Browse Source

生产收料任务,记录---主子表合并

master_hella_20240701
yufei0306 7 months ago
parent
commit
578e9c1126
  1. 5
      src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/index.vue
  2. 5
      src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/index.vue

5
src/views/wms/issueManage/productionreceipt/productionreceiptJobMain/index.vue

@ -1,7 +1,7 @@
<template> <template>
<ContentWrap> <ContentWrap>
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<Search :schema="ProductionreceiptJobMain.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" /> <Search :schema="[...ProductionreceiptJobMain.allSchemas.searchSchema,...ProductionreceiptJobDetail.allSchemas.searchSchema]" @search="setSearchParams" @reset="setSearchParams" />
</ContentWrap> </ContentWrap>
<!-- 列表头部 --> <!-- 列表头部 -->
@ -12,6 +12,7 @@
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick" @searchFormClick="searchFormClick"
:allSchemas="ProductionreceiptJobMain.allSchemas" :allSchemas="ProductionreceiptJobMain.allSchemas"
:detailAllSchemas="ProductionreceiptJobDetail.allSchemas"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -81,7 +82,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(ProductionreceiptJobMain.allSchemas.tableColumns) const tableColumns = ref([...ProductionreceiptJobMain.allSchemas.tableColumns,...ProductionreceiptJobDetail.allSchemas.tableMainColumns])
// //
const updataTableColumns = (val) => { const updataTableColumns = (val) => {

5
src/views/wms/issueManage/productionreceipt/productionreceiptRecordMain/index.vue

@ -1,7 +1,7 @@
<template> <template>
<ContentWrap> <ContentWrap>
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<Search :schema="ProductionreceiptRecordMain.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" /> <Search :schema="[...ProductionreceiptRecordMain.allSchemas.searchSchema,...ProductionreceiptRecordDetail.allSchemas.searchSchema]" @search="setSearchParams" @reset="setSearchParams" />
</ContentWrap> </ContentWrap>
<!-- 列表头部 --> <!-- 列表头部 -->
@ -12,6 +12,7 @@
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick" @searchFormClick="searchFormClick"
:allSchemas="ProductionreceiptRecordMain.allSchemas" :allSchemas="ProductionreceiptRecordMain.allSchemas"
:detailAllSchemas="ProductionreceiptRecordDetail.allSchemas"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -76,7 +77,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(ProductionreceiptRecordMain.allSchemas.tableColumns) const tableColumns = ref([...ProductionreceiptRecordMain.allSchemas.tableColumns,...ProductionreceiptRecordDetail.allSchemas.tableMainColumns])
// //
const updataTableColumns = (val) => { const updataTableColumns = (val) => {

Loading…
Cancel
Save