|
@ -26,9 +26,17 @@ |
|
|
</ContentWrap> |
|
|
</ContentWrap> |
|
|
|
|
|
|
|
|
<!-- 表单弹窗:添加/修改 --> |
|
|
<!-- 表单弹窗:添加/修改 --> |
|
|
<BasicForm ref="basicFormRef" @success="formsSuccess" :rules="MoldRepairRules" |
|
|
<BasicForm |
|
|
:formAllSchemas="MoldRepair.allSchemas" :apiUpdate="MoldRepairApi.updateMoldRepair" |
|
|
ref="basicFormRef" |
|
|
:apiCreate="MoldRepairApi.createMoldRepair" @searchTableSuccess="searchTableSuccess" :isBusiness="false" /> |
|
|
@success="formsSuccess" |
|
|
|
|
|
:rules="MoldRepairRules" |
|
|
|
|
|
:formAllSchemas="MoldRepair.allSchemas" |
|
|
|
|
|
:apiUpdate="MoldRepairApi.updateMoldRepair" |
|
|
|
|
|
:apiCreate="MoldRepairApi.createMoldRepair" |
|
|
|
|
|
@searchTableSuccess="searchTableSuccess" |
|
|
|
|
|
:isBusiness="false" |
|
|
|
|
|
@onChange="onChange" |
|
|
|
|
|
/> |
|
|
|
|
|
|
|
|
<!-- 详情 --> |
|
|
<!-- 详情 --> |
|
|
<Detail ref="detailRef" :isBasic="true" :allSchemas="MoldRepair.allSchemas" /> |
|
|
<Detail ref="detailRef" :isBasic="true" :allSchemas="MoldRepair.allSchemas" /> |
|
@ -43,11 +51,7 @@ import download from '@/utils/download' |
|
|
import { MoldRepair, MoldRepairRules } from './moldRepair.data' |
|
|
import { MoldRepair, MoldRepairRules } from './moldRepair.data' |
|
|
import * as MoldRepairApi from '@/api/eam/mold/moldRepair' |
|
|
import * as MoldRepairApi from '@/api/eam/mold/moldRepair' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import { selectAllFactoryArea } from '@/api/system/dept' |
|
|
import * as MoldAccountApi from '@/api/eam/mold/moldAccount' |
|
|
import { getRowIdentity } from 'element-plus/es/components/table/src/util' |
|
|
|
|
|
// import TableHead from '@/components/TableHead/src/TableHead.vue' |
|
|
|
|
|
// import ImportForm from '@/components/ImportForm/src/ImportForm.vue' |
|
|
|
|
|
// import Detail from '@/components/Detail/src/Detail.vue' |
|
|
|
|
|
|
|
|
|
|
|
defineOptions({ name: 'MoldRepair' }) |
|
|
defineOptions({ name: 'MoldRepair' }) |
|
|
|
|
|
|
|
@ -56,7 +60,6 @@ const { t } = useI18n() // 国际化 |
|
|
|
|
|
|
|
|
const route = useRoute() // 路由信息 |
|
|
const route = useRoute() // 路由信息 |
|
|
const routeName = ref() |
|
|
const routeName = ref() |
|
|
const factoryAreaList = ref([]) |
|
|
|
|
|
routeName.value = route.name |
|
|
routeName.value = route.name |
|
|
const tableColumns = ref(MoldRepair.allSchemas.tableColumns) |
|
|
const tableColumns = ref(MoldRepair.allSchemas.tableColumns) |
|
|
|
|
|
|
|
@ -252,4 +255,8 @@ onMounted(async () => { |
|
|
importTemplateData.templateUrl = await MoldRepairApi.importTemplate() |
|
|
importTemplateData.templateUrl = await MoldRepairApi.importTemplate() |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
const onChange = (field, cur, item) => { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
</script> |
|
|
</script> |
|
|