|
@ -43,14 +43,14 @@ |
|
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
<script setup lang="ts"> |
|
|
import download from '@/utils/download' |
|
|
import download from '@/utils/download' |
|
|
import { InspectionMain, InspectionMainRules } from './inspectionMain.data' |
|
|
import { InspectionMain, InspectionMainRules,InspectionRequestPackage } from './inspectionMain.data' |
|
|
import * as InspectionMainApi from '@/api/qms/inspectionRequest' |
|
|
import * as InspectionMainApi from '@/api/qms/inspectionRequest' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import listTable from '@/components/listTable/src/listTable.vue' |
|
|
import listTable from '@/components/listTable/src/listTable.vue' |
|
|
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' |
|
|
import Detail from '@/components/Detail/src/Detail.vue' |
|
|
import Detail from '@/components/Detail/src/Detail.vue' |
|
|
import { InspectionJobPackage} from '../inspectionJob/inspectionJobMain.data' |
|
|
// import { InspectionJobPackage} from '../inspectionJob/inspectionJobMain.data' |
|
|
|
|
|
|
|
|
defineOptions({ name: 'InspectionMain' }) |
|
|
defineOptions({ name: 'InspectionMain' }) |
|
|
|
|
|
|
|
@ -157,7 +157,7 @@ const listTableRef = ref() |
|
|
openForm('update', row) |
|
|
openForm('update', row) |
|
|
}else if (val == 'mainPackage') { // 包装 |
|
|
}else if (val == 'mainPackage') { // 包装 |
|
|
const list = await InspectionMainApi.getInspectionRequestPackageList(row.id) |
|
|
const list = await InspectionMainApi.getInspectionRequestPackageList(row.id) |
|
|
listTableRef.value.openPackage(row,'包装信息',InspectionJobPackage.allSchemas.tableColumns,list) |
|
|
listTableRef.value.openPackage(row,'包装信息',InspectionRequestPackage.allSchemas.tableColumns,list) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|