|
|
@ -4,15 +4,15 @@ |
|
|
|
<Search :schema="MesOrderMonthMain.allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams" /> |
|
|
|
</ContentWrap> |
|
|
|
|
|
|
|
<!-- 列表头部 --> |
|
|
|
<TableHead |
|
|
|
:HeadButttondata="HeadButttondata" |
|
|
|
@button-base-click="buttonBaseClick" |
|
|
|
:routeName="routeName" |
|
|
|
@updataTableColumns="updataTableColumns" |
|
|
|
@searchFormClick="searchFormClick" |
|
|
|
:allSchemas="MesOrderMonthMain.allSchemas" |
|
|
|
/> |
|
|
|
<!-- 列表头部 --> |
|
|
|
<TableHead |
|
|
|
:HeadButttondata="HeadButttondata" |
|
|
|
@button-base-click="buttonBaseClick" |
|
|
|
:routeName="routeName" |
|
|
|
@updataTableColumns="updataTableColumns" |
|
|
|
@searchFormClick="searchFormClick" |
|
|
|
:allSchemas="MesOrderMonthMain.allSchemas" |
|
|
|
/> |
|
|
|
|
|
|
|
<!-- 列表 --> |
|
|
|
<ContentWrap> |
|
|
@ -51,15 +51,19 @@ |
|
|
|
/> |
|
|
|
|
|
|
|
<!-- 详情 --> |
|
|
|
<Detail ref="detailRef" :isBasic="true" :allSchemas="MesOrderMonthMain.allSchemas" /> |
|
|
|
|
|
|
|
<Detail ref="detailRef" |
|
|
|
:isBasic="false" |
|
|
|
:detailAllSchemasRules="MesOrderMonthMainRules" |
|
|
|
:allSchemas="MesOrderMonthMain.allSchemas" |
|
|
|
/> |
|
|
|
<!-- 导入 --> |
|
|
|
<ImportForm ref="importFormRef" url="/plan/mes-order-month-main/import" :importTemplateData="importTemplateData" @success="importSuccess" /> |
|
|
|
<ImportForm ref="importFormRef" url="/plan/mes-order-month-main/import" |
|
|
|
:importTemplateData="importTemplateData" @success="importSuccess"/> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
import download from '@/utils/download' |
|
|
|
import { MesOrderMonthMain,MesOrderMonthMainRules } from './mesOrderMonthMain.data' |
|
|
|
import {MesOrderMonthMain, MesOrderMonthMainRules} from './mesOrderMonthMain.data' |
|
|
|
import * as MesOrderMonthMainApi from '@/api/mes/ordermonthplan' |
|
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
|
import TableHead from '@/components/TableHead/src/TableHead.vue' |
|
|
@ -99,9 +103,9 @@ const { getList, setSearchParams } = tableMethods |
|
|
|
|
|
|
|
// 列表头部按钮 |
|
|
|
const HeadButttondata = [ |
|
|
|
defaultButtons.defaultAddBtn({hasPermi:'wms:mesOrderMonthMain:create'}), // 新增 |
|
|
|
defaultButtons.defaultImportBtn({hasPermi:'wms:mesOrderMonthMain:import'}), // 导入 |
|
|
|
defaultButtons.defaultExportBtn({hasPermi:'wms:mesOrderMonthMain:export'}), // 导出 |
|
|
|
defaultButtons.defaultAddBtn({hasPermi: 'mes:ordermonthplan:create'}), // 新增 |
|
|
|
defaultButtons.defaultImportBtn({hasPermi: 'mes:ordermonthplan:import'}), // 导入 |
|
|
|
// defaultButtons.defaultExportBtn({hasPermi:'mes:ordermonthplan:export'}), // 导出 |
|
|
|
defaultButtons.defaultFreshBtn(null), // 刷新 |
|
|
|
defaultButtons.defaultFilterBtn(null), // 筛选 |
|
|
|
defaultButtons.defaultSetBtn(null), // 设置 |
|
|
@ -133,8 +137,8 @@ const buttonBaseClick = (val, item) => { |
|
|
|
|
|
|
|
// 列表-操作按钮 |
|
|
|
const butttondata = [ |
|
|
|
defaultButtons.mainListEditBtn({hasPermi:'wms:mesOrderMonthMain:update'}), // 编辑 |
|
|
|
defaultButtons.mainListDeleteBtn({hasPermi:'wms:mesOrderMonthMain:delete'}), // 删除 |
|
|
|
defaultButtons.mainListEditBtn({hasPermi: 'mes:ordermonthplan:update'}), // 编辑 |
|
|
|
defaultButtons.mainListDeleteBtn({hasPermi: 'mes:ordermonthplan:delete'}), // 删除 |
|
|
|
] |
|
|
|
|
|
|
|
// 列表-操作按钮事件 |
|
|
|