Browse Source

备件收货申请--主子表合并

master_hella_20240701
yufei0306 8 months ago
parent
commit
9d111aac6f
  1. 5
      src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue

5
src/views/wms/purchasereceiptManage/sparereceipt/sparereceiptRequestMain/index.vue

@ -1,7 +1,7 @@
<template> <template>
<ContentWrap> <ContentWrap>
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<Search :schema="PurchasereceiptRequestMain.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" /> <Search :schema="[...PurchasereceiptRequestMain.allSchemas.searchSchema,...PurchasereceiptRequestDetail.allSchemas.searchSchema]" @search="setSearchParams" @reset="setSearchParams" />
</ContentWrap> </ContentWrap>
<!-- 列表头部 --> <!-- 列表头部 -->
@ -12,6 +12,7 @@
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick" @searchFormClick="searchFormClick"
:allSchemas="PurchasereceiptRequestMain.allSchemas" :allSchemas="PurchasereceiptRequestMain.allSchemas"
:detailAllSchemas="PurchasereceiptRequestDetail.allSchemas"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -124,7 +125,7 @@ const genLabelId = ref(); //主表ID
const route = useRoute() // const route = useRoute() //
const routeName = ref() const routeName = ref()
routeName.value = route.name routeName.value = route.name
const tableColumns = ref(PurchasereceiptRequestMain.allSchemas.tableColumns) const tableColumns = ref([...PurchasereceiptRequestMain.allSchemas.tableColumns,...PurchasereceiptRequestDetail.allSchemas.tableMainColumns])
const apiPage = ref(PurchasereceiptRequestDetailApi.getPurchasereceiptRequestDetailPage) const apiPage = ref(PurchasereceiptRequestDetailApi.getPurchasereceiptRequestDetailPage)
const detailAllSchemas = ref(PurchasereceiptRequestDetail.allSchemas) const detailAllSchemas = ref(PurchasereceiptRequestDetail.allSchemas)

Loading…
Cancel
Save