Browse Source

送货日历

intex_online20250311
张立 4 weeks ago
parent
commit
2f43424ef4
  1. 12
      src/views/wms/basicDataManage/supplierManage/deliveryCalendar/index.vue
  2. 1
      src/views/wms/supplierManage/supplierDeliMain/index.vue

12
src/views/wms/basicDataManage/supplierManage/deliveryCalendar/index.vue

@ -1,7 +1,7 @@
<template> <template>
<ContentWrap> <ContentWrap>
<!-- 搜索工作栏 --> <!-- 搜索工作栏 -->
<Search :schema="DeliveryCalendar.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" /> <Search :schema="DeliveryCalendar.allSchemas.searchSchema" @search="searchParams" @reset="searchParams" />
</ContentWrap> </ContentWrap>
<!-- 列表头部 --> <!-- 列表头部 -->
@ -73,6 +73,7 @@ import TableHead from '@/components/TableHead/src/TableHead.vue'
import ImportForm from '@/components/ImportForm/src/ImportForm.vue' import ImportForm from '@/components/ImportForm/src/ImportForm.vue'
import Detail from '@/components/Detail/src/Detail.vue' import Detail from '@/components/Detail/src/Detail.vue'
import * as SupplierDeliMainApi from '@/api/wms/supplierDeliMain' import * as SupplierDeliMainApi from '@/api/wms/supplierDeliMain'
import { formatDate } from '@/utils/formatTime'
defineOptions({ name: 'DeliveryCalendar' }) defineOptions({ name: 'DeliveryCalendar' })
@ -109,11 +110,16 @@ const { tableObject, tableMethods } = useTable({
// //
const { getList, setSearchParams } = tableMethods const { getList, setSearchParams } = tableMethods
const getListExecute = () => { const getListExecute = () => {
tableObject.params.yearAndMonth=formatDate(new Date(),'YYYY-MM') tableObject.params.yearAndMonth = formatDate(new Date(), 'YYYY-MM')
getList() getList()
tableObject.tableList.forEach(item=>item.isOpen = false) tableObject.tableList.forEach(item=>item.isOpen = false)
} }
const searchParams = (mold) => {
setSearchParamsHead(mold)
setSearchParams(mold)
}
const selectionRowsData = ref([])// const selectionRowsData = ref([])//
// //
const HeadButttondata = [ const HeadButttondata = [
@ -320,7 +326,7 @@ const getSelectionRows = (currentPage,currentPageSelectionRows) => {
/** 初始化 **/ /** 初始化 **/
onMounted(async () => { onMounted(async () => {
getListHead() getListHead()
getList() getListExecute()
importTemplateData.templateUrl = await DeliveryCalendarApi.importTemplate() importTemplateData.templateUrl = await DeliveryCalendarApi.importTemplate()
}) })

1
src/views/wms/supplierManage/supplierDeliMain/index.vue

@ -153,6 +153,7 @@ const searchTableSuccess = (formField: string | number, searchField: string | nu
// //
// const updataTableColumns = (val) => { // const updataTableColumns = (val) => {
// tableColumns.value = val // tableColumns.value = val
// } // }

Loading…
Cancel
Save