|
@ -1,7 +1,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<ContentWrap> |
|
|
<ContentWrap> |
|
|
<!-- 搜索工作栏 --> |
|
|
<!-- 搜索工作栏 --> |
|
|
<Search :schema="SupplierinvoiceRecordMain.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" /> |
|
|
<Search :schema="[...SupplierinvoiceRecordMain.allSchemas.searchSchema,...SupplierinvoiceRecordDetail.allSchemas.searchSchema]" @search="setSearchParams" @reset="setSearchParams" /> |
|
|
</ContentWrap> |
|
|
</ContentWrap> |
|
|
|
|
|
|
|
|
<!-- 列表头部 --> |
|
|
<!-- 列表头部 --> |
|
@ -12,6 +12,7 @@ |
|
|
@updataTableColumns="updataTableColumns" |
|
|
@updataTableColumns="updataTableColumns" |
|
|
@searchFormClick="searchFormClick" |
|
|
@searchFormClick="searchFormClick" |
|
|
:allSchemas="SupplierinvoiceRecordMain.allSchemas" |
|
|
:allSchemas="SupplierinvoiceRecordMain.allSchemas" |
|
|
|
|
|
:detailAllSchemas="SupplierinvoiceRecordDetail.allSchemas" |
|
|
/> |
|
|
/> |
|
|
|
|
|
|
|
|
<!-- 列表 --> |
|
|
<!-- 列表 --> |
|
@ -52,6 +53,19 @@ |
|
|
<!-- 详情 --> |
|
|
<!-- 详情 --> |
|
|
<Detail |
|
|
<Detail |
|
|
ref="detailRef" |
|
|
ref="detailRef" |
|
|
|
|
|
:annexTable="[{ |
|
|
|
|
|
label: '合同附件', |
|
|
|
|
|
prop: 'Annex', |
|
|
|
|
|
tableName:'contract' |
|
|
|
|
|
},{ |
|
|
|
|
|
label: '电子发票附件', |
|
|
|
|
|
prop: 'Annex', |
|
|
|
|
|
tableName:'invoice' |
|
|
|
|
|
},{ |
|
|
|
|
|
label: '货运单附件', |
|
|
|
|
|
prop: 'Annex', |
|
|
|
|
|
tableName:'waybill' |
|
|
|
|
|
}]" |
|
|
:isBasic="false" |
|
|
:isBasic="false" |
|
|
:allSchemas="SupplierinvoiceRecordMain.allSchemas" |
|
|
:allSchemas="SupplierinvoiceRecordMain.allSchemas" |
|
|
:detailAllSchemas="SupplierinvoiceRecordDetail.allSchemas" |
|
|
:detailAllSchemas="SupplierinvoiceRecordDetail.allSchemas" |
|
@ -76,8 +90,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(SupplierinvoiceRecordMain.allSchemas.tableColumns) |
|
|
const tableColumns = ref([...SupplierinvoiceRecordMain.allSchemas.tableColumns,...SupplierinvoiceRecordDetail.allSchemas.tableColumns]) |
|
|
|
|
|
|
|
|
// 字段设置 更新主列表字段 |
|
|
// 字段设置 更新主列表字段 |
|
|
const updataTableColumns = (val) => { |
|
|
const updataTableColumns = (val) => { |
|
|
tableColumns.value = val |
|
|
tableColumns.value = val |
|
|