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 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- {{ row.customercode }}
+
+
+ {{ row.customerCode }}
@@ -68,14 +73,24 @@ defineOptions({ name: 'Saleprice' })
const message = useMessage() // 消息弹窗
const { t } = useI18n() // 国际化
+const route = useRoute() //路由信息
+const routeName = ref()
+routeName.value = route.name
+const tableColumns = ref(Saleprice.allSchemas.tableColumns)
+
+//字段设置 更新主列表字段
+const updataTableColumns = (val) => {
+ tableColumns.value = val
+}
+
// 查询列表参数设置
const searchTableParams = ref([{
- formField: 'customercode',
+ formField: 'customerCode',
searchTableTitle: '客户信息',
searchTableAllSchemas: Customer.allSchemas,
searchTablePage: CustomerApi.getCustomerPage
},{
- formField: 'itemcode',
+ formField: 'itemCode',
searchTableTitle: '物料信息',
searchTableAllSchemas: Itembasic.allSchemas,
searchTablePage: ItembasicApi.getItembasicPage
@@ -94,6 +109,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:saleprice:import'}), // 导入
defaultButtons.defaultExportBtn({hasPermi:'wms:saleprice:export'}), // 导出
defaultButtons.defaultFreshBtn(null),//刷新
+ defaultButtons.defaultSetBtn(null), // 设置
// {
// label: '自定义扩展按钮',
// name: 'zdy',
diff --git a/src/views/wms/shift/index.vue b/src/views/wms/shift/index.vue
index 82484a1b4..74baccf41 100644
--- a/src/views/wms/shift/index.vue
+++ b/src/views/wms/shift/index.vue
@@ -5,12 +5,17 @@
-
+
+
+
+
+
+
+
+
+