diff --git a/src/views/wms/accountcalendar/index.vue b/src/views/wms/accountcalendar/index.vue index b930a661b..018333709 100644 --- a/src/views/wms/accountcalendar/index.vue +++ b/src/views/wms/accountcalendar/index.vue @@ -5,12 +5,17 @@ - + +
+
+
+
+
+
+
+
+
+
+
+
+
import download from '@/utils/download' import * as JobsettingApi from '@/api/wms/jobsetting' -import * as ItembasicApi from '@/api/wms/itembasic' import BasicForm from '@/components/BasicForm/src/BasicForm.vue' -import { Jobsetting, JobsettingRules, Itembasic } from '@/utils/disposition/tableColumns' +import { Jobsetting, JobsettingRules } from '@/utils/disposition/tableColumns' import * as defaultButtons from '@/utils/disposition/defaultButtons' import TableHead from '@/components/TableHead/src/TableHead.vue' import ImportForm from '@/components/ImportForm/src/ImportForm.vue' @@ -68,8 +69,18 @@ defineOptions({ name: 'Jobsetting' }) const message = useMessage() // 消息弹窗 const { t } = useI18n() // 国际化 +const route = useRoute() //路由信息 +const routeName = ref() +routeName.value = route.name +const tableColumns = ref(Jobsetting.allSchemas.tableColumns) + +//字段设置 更新主列表字段 +const updataTableColumns = (val) => { + tableColumns.value = val +} + const { tableObject, tableMethods } = useTable({ - getListApi: JobsettingApi.getJobsettingPage // 分页接口 + getListApi: JobsettingApi.getJobsettingPage // 分页接口 }) // 获得表格的各种操作 @@ -78,9 +89,10 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ defaultButtons.defaultAddBtn({hasPermi:'wms:jobsetting:create'}), // 新增 - defaultButtons.defaultImportBtn({hasPermi:'wms:jobsetting:import'}), // 导入 - defaultButtons.defaultExportBtn({hasPermi:'wms:jobsetting:export'}), // 导出 + // defaultButtons.defaultImportBtn({hasPermi:'wms:jobsetting:import'}), // 导入 + // defaultButtons.defaultExportBtn({hasPermi:'wms:jobsetting:export'}), // 导出 defaultButtons.defaultFreshBtn(null),//刷新 + defaultButtons.defaultSetBtn(null), // 设置 // { // label: '自定义扩展按钮', // name: 'zdy', @@ -172,7 +184,7 @@ const handleImport = () => { // 导入附件弹窗所需的参数 const importTemplateData = reactive({ templateUrl: '', - templateTitle: '任务单置导入模版.xls' + templateTitle: '任务单设置导入模版.xls' }) // 导入成功之后 const importSuccess = () => { diff --git a/src/views/wms/location/index.vue b/src/views/wms/location/index.vue index b4e4ceb5e..af6eff718 100644 --- a/src/views/wms/location/index.vue +++ b/src/views/wms/location/index.vue @@ -5,12 +5,17 @@ - +
+
+
+
+
+
+
+
+
+
+
+
-