diff --git a/src/api/wms/supplierinvoiceInvoiced/index.ts b/src/api/wms/supplierinvoiceInvoiced/index.ts index 9be7c7d15..85baf8e41 100644 --- a/src/api/wms/supplierinvoiceInvoiced/index.ts +++ b/src/api/wms/supplierinvoiceInvoiced/index.ts @@ -58,7 +58,10 @@ export const deleteSupplierinvoiceInvoiced = async (id: number) => { export const exportSupplierinvoiceInvoiced = async (params) => { return await request.download({ url: `/wms/supplierinvoice-invoiced/export-excel`, params }) } - +// 导出待开票 Excel +export const exportSupplierinvoiceInvoicedWork = async (params) => { + return await request.download({ url: `/wms/supplierinvoice-invoiced/export-excel-work`, params }) +} // 下载用户导入模板 export const importTemplate = () => { return request.download({ url: '/wms/supplierinvoice-invoiced/get-import-template' }) diff --git a/src/components/SearchHigh/src/SearchHigh.vue b/src/components/SearchHigh/src/SearchHigh.vue index 7cbf987b0..6d18766ab 100644 --- a/src/components/SearchHigh/src/SearchHigh.vue +++ b/src/components/SearchHigh/src/SearchHigh.vue @@ -116,7 +116,8 @@ const props = defineProps({ const message = useMessage() // 消息弹窗 const route = useRoute() // 路由信息 const popoverVisible = ref(false) -const searchOption_high = ref(props.allSchemas?.tableColumns.filter(item => (item.field != "action"&&!item.hiddenSearchHigh))) +const searchOption_high = ref(props.allSchemas?.tableColumns.filter(item => (item.field != "action" && !item.hiddenSearchHigh))) +console.log(988,searchOption_high.value) const moreListData = ref({ filters:[] }) @@ -390,7 +391,14 @@ const remoteMethod = (query, array) => { options.value = userListAll.value } } - +watch( + () =>props.allSchemas, + () => { + searchOption_high.value = props.allSchemas?.tableColumns.filter(item => (item.field != "action" && !item.hiddenSearchHigh)) + },{ + deep: true + } +) defineExpose({ popoverVisible }) diff --git a/src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue b/src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue index 312b8cce1..d79a50b74 100644 --- a/src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue +++ b/src/views/wms/supplierManage/supplierinvoiceInvoiced/index.vue @@ -1,7 +1,7 @@