|
@ -60,7 +60,7 @@ |
|
|
<!-- 导入 --> |
|
|
<!-- 导入 --> |
|
|
<ImportForm |
|
|
<ImportForm |
|
|
ref="importFormRef" |
|
|
ref="importFormRef" |
|
|
url="/wms/itempackaging/import" |
|
|
url="/wms/itempackage/import" |
|
|
:importTemplateData="importTemplateData" |
|
|
:importTemplateData="importTemplateData" |
|
|
@success="importSuccess" |
|
|
@success="importSuccess" |
|
|
/> |
|
|
/> |
|
@ -68,9 +68,9 @@ |
|
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
<script setup lang="ts"> |
|
|
import download from '@/utils/download' |
|
|
import download from '@/utils/download' |
|
|
import * as ItempackagingApi from '@/api/wms/itempackaging' |
|
|
import * as ItempackagingApi from '@/api/wms/itempackage' |
|
|
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' |
|
|
import BasicForm from '@/components/BasicForm/src/BasicForm.vue' |
|
|
import { Itempackaging, ItempackagingRules } from './itempackaging.data' |
|
|
import { Itempackaging, ItempackagingRules } from './itempackage.data' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import TableHead from '@/components/TableHead/src/TableHead.vue' |
|
|
import TableHead from '@/components/TableHead/src/TableHead.vue' |
|
|
import ImportForm from '@/components/ImportForm/src/ImportForm.vue' |
|
|
import ImportForm from '@/components/ImportForm/src/ImportForm.vue' |
|
@ -100,9 +100,9 @@ const { getList, setSearchParams } = tableMethods |
|
|
|
|
|
|
|
|
// 列表头部按钮 |
|
|
// 列表头部按钮 |
|
|
const HeadButttondata = [ |
|
|
const HeadButttondata = [ |
|
|
defaultButtons.defaultAddBtn({ hasPermi: 'wms:itempackaging:create' }), // 新增 |
|
|
defaultButtons.defaultAddBtn({ hasPermi: 'wms:itempackage:create' }), // 新增 |
|
|
defaultButtons.defaultImportBtn({ hasPermi: 'wms:itempackaging:import' }), // 导入 |
|
|
defaultButtons.defaultImportBtn({ hasPermi: 'wms:itempackage:import' }), // 导入 |
|
|
defaultButtons.defaultExportBtn({ hasPermi: 'wms:itempackaging:export' }), // 导出 |
|
|
defaultButtons.defaultExportBtn({ hasPermi: 'wms:itempackage:export' }), // 导出 |
|
|
defaultButtons.defaultFreshBtn(null), // 刷新 |
|
|
defaultButtons.defaultFreshBtn(null), // 刷新 |
|
|
defaultButtons.defaultFilterBtn(null), // 筛选 |
|
|
defaultButtons.defaultFilterBtn(null), // 筛选 |
|
|
defaultButtons.defaultSetBtn(null) // 设置 |
|
|
defaultButtons.defaultSetBtn(null) // 设置 |
|
@ -147,8 +147,8 @@ const buttonBaseClick = (val, item) => { |
|
|
|
|
|
|
|
|
// 列表-操作按钮 |
|
|
// 列表-操作按钮 |
|
|
const butttondata = [ |
|
|
const butttondata = [ |
|
|
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itempackaging:update' }), // 编辑 |
|
|
defaultButtons.mainListEditBtn({ hasPermi: 'wms:itempackage:update' }), // 编辑 |
|
|
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itempackaging:delete' }) // 删除 |
|
|
defaultButtons.mainListDeleteBtn({ hasPermi: 'wms:itempackage:delete' }) // 删除 |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
// 列表-操作按钮事件 |
|
|
// 列表-操作按钮事件 |
|
|