feat(wms报表): 添加列设置功能并重构表格组件
引入可配置的列设置功能,允许用户自定义表格显示列 创建CoilTable通用组件替换原有表格实现 添加列设置对话框和默认列配置初始化逻辑
This commit is contained in:
@@ -48,6 +48,10 @@ import KLPTable from '@/components/KLPUI/KLPTable/index.vue'
|
||||
import MemoInput from '@/components/MemoInput/index.vue'
|
||||
import CurrentCoilNo from '@/components/KLPService/Renderer/CurrentCoilNo.vue'
|
||||
|
||||
// 初始化所有列
|
||||
import { initAllColumns } from '@/views/wms/report/js/column.js'
|
||||
|
||||
|
||||
|
||||
// 全局方法挂载
|
||||
Vue.prototype.getDicts = getDicts
|
||||
@@ -83,6 +87,9 @@ Vue.use(VueKonva);
|
||||
Vue.use(dashboardBigPlugin)
|
||||
DictData.install()
|
||||
|
||||
// 初始化所有列
|
||||
initAllColumns()
|
||||
|
||||
/**
|
||||
* If you don't want to use mock-server
|
||||
* you want to use MockJs for mock api
|
||||
|
||||
Reference in New Issue
Block a user