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