Browse Source

备注修改。列表第一列定位

master_hella_20240701
zhang_li 7 months ago
parent
commit
66070fa178
  1. 31
      src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts
  2. 2
      src/views/qms/inspection/inspectionRecord/addForm.vue
  3. 7
      src/views/qms/inspection/inspectionRecord/inspectionRecordMain.data.ts

31
src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts

@ -30,7 +30,8 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
table: {
width: 150
width: 150,
fixed: 'left'
}
},
{
@ -276,34 +277,6 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
}
},
{
label: '检验任务包装列表',
field: 'inspectionTaskPackageCode',
sort: 'custom',
isSearch: false,
form:{
componentProps:{
disabled:true
}
},
table: {
width: 150
}
},
{
label: '检验任务工序列表',
field: 'inspectionTaskProcessCode',
sort: 'custom',
isSearch: false,
form:{
componentProps:{
disabled:true
}
},
table: {
width: 150
}
},
{
label: '计划开始时间',
field: 'planStartTime',

2
src/views/qms/inspection/inspectionRecord/addForm.vue

@ -37,7 +37,7 @@
</div>
</template>
<script setup lang="ts">
<script setup lang="ts">44
import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { getCurrentInstance } from 'vue'
import { DICT_TYPE, getStrDictOptions } from '@/utils/dict'

7
src/views/qms/inspection/inspectionRecord/inspectionRecordMain.data.ts

@ -6,7 +6,7 @@ import {validateTwoNum } from '@/utils/validator'
const { t } = useI18n() // 国际化
/**
* @returns {Array}
* @returns {Array}
*/
export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{
@ -16,7 +16,8 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
isForm:false,
table: {
width: 150
width: 150,
fixed: 'left'
}
},
{
@ -404,7 +405,7 @@ export const InspectionRecordMainRules = reactive({
})
/**
* @returns {Array}
* @returns {Array}
*/
export const InspectionRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{

Loading…
Cancel
Save