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: { table: {
width: 150 width: 150,
fixed: 'left'
} }
}, },
{ {
@ -276,34 +277,6 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 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: '计划开始时间', label: '计划开始时间',
field: 'planStartTime', field: 'planStartTime',

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

@ -37,7 +37,7 @@
</div> </div>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">44
import * as defaultButtons from '@/utils/disposition/defaultButtons' import * as defaultButtons from '@/utils/disposition/defaultButtons'
import { getCurrentInstance } from 'vue' import { getCurrentInstance } from 'vue'
import { DICT_TYPE, getStrDictOptions } from '@/utils/dict' 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() // 国际化 const { t } = useI18n() // 国际化
/** /**
* @returns {Array} * @returns {Array}
*/ */
export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
{ {
@ -16,7 +16,8 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true, isSearch: true,
isForm:false, isForm:false,
table: { 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[]>([ export const InspectionRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {

Loading…
Cancel
Save