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