Browse Source

表格宽度

master_hella_20240701
zhang_li 7 months ago
parent
commit
c73949a774
  1. 3
      src/views/qms/aql/aql.data.ts
  2. 39
      src/views/qms/basicDataManage/counter/counter.data.ts
  3. 17
      src/views/qms/basicDataManage/inspectionScheme/inspectionScheme.data.ts
  4. 3
      src/views/qms/basicDataManage/inspectionTemplate/inspectionTemplate.data.ts
  5. 16
      src/views/qms/inspection/inspectionJob/inspectionJobMain.data.ts
  6. 24
      src/views/qms/inspection/inspectionRecord/inspectionRecordMain.data.ts
  7. 16
      src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts
  8. 20
      src/views/qms/qualityNotice/qualityNoticeMain.data.ts
  9. 3
      src/views/qms/sampleCode/sampleCode.data.ts
  10. 22
      src/views/qms/samplingProcess/samplingProcess.data.ts

3
src/views/qms/aql/aql.data.ts

@ -549,6 +549,9 @@ export const Aql = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x',
}
},
table: {
width: 175
}
},
{
label: '是否可用',

39
src/views/qms/basicDataManage/counter/counter.data.ts

@ -19,31 +19,47 @@ export const Counter = useCrudSchemas(reactive<CrudSchema[]>([
field: 'itemCode',
sort: 'custom',
isSearch: true,
fixed: 'left'
fixed: 'left',
table: {
fixed: 'left',
width: 175
}
},
{
label: '检验类型编码',
field: 'inspectionType',
sort: 'custom',
isSearch: true
isSearch: true,
table: {
width: 175
}
},
{
label: '供应商编码',
field: 'supplierCode',
sort: 'custom',
isSearch: true
isSearch: true,
table: {
width: 175
}
},
{
label: '连续合格次数',
field: 'qualifiedTimes',
sort: 'custom',
isSearch: false,
table: {
width: 140
}
},
{
label: '最后合格批次',
field: 'lastQualifiedBatch',
sort: 'custom',
isSearch: false
isSearch: false,
table: {
width: 140
}
},
{
label: '最后合格时间',
@ -65,6 +81,9 @@ export const Counter = useCrudSchemas(reactive<CrudSchema[]>([
type: 'datetime',
valueFormat: 'x'
}
},
table: {
width: 175
}
},
{
@ -75,6 +94,9 @@ export const Counter = useCrudSchemas(reactive<CrudSchema[]>([
form: {
component: 'InputNumber',
value: 0
},
table: {
width: 140
}
},
{
@ -85,6 +107,9 @@ export const Counter = useCrudSchemas(reactive<CrudSchema[]>([
form: {
component: 'InputNumber',
value: 0
},
table: {
width: 175
}
},
{
@ -107,6 +132,9 @@ export const Counter = useCrudSchemas(reactive<CrudSchema[]>([
type: 'datetime',
valueFormat: 'x'
}
},
table: {
width: 175
}
},
{
@ -114,6 +142,9 @@ export const Counter = useCrudSchemas(reactive<CrudSchema[]>([
field: 'nextStage',
sort: 'custom',
isSearch: false,
table: {
width: 140
}
},
// {
// label: '操作',

17
src/views/qms/basicDataManage/inspectionScheme/inspectionScheme.data.ts

@ -90,7 +90,7 @@ export const InspectionSchemeMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'itemName',
sort: 'custom',
table: {
width: 150
width: 200
},
isSearch: true,
},
@ -106,6 +106,9 @@ export const InspectionSchemeMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '描述',
field: 'description',
sort: 'custom',
table: {
width: 150
},
}, {
label: '版本',
field: 'version',
@ -120,14 +123,14 @@ export const InspectionSchemeMain = useCrudSchemas(reactive<CrudSchema[]>([
dictClass: 'string',
sort: 'custom',
table: {
width: 150
width: 175
}
}, {
label: '检验模板编码',
field: 'programmeTemplateCode',
sort: 'custom',
table: {
width: 150
width: 175
}
}, {
label: '拆分规则',
@ -136,7 +139,7 @@ export const InspectionSchemeMain = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.SPLIT_RULES,
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
table: {
width: 150
width: 175
},
}, {
label: 'aql',
@ -176,6 +179,9 @@ export const InspectionSchemeMain = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x',
}
},
table: {
width: 175
},
},
{
label: '失效时间',
@ -195,6 +201,9 @@ export const InspectionSchemeMain = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x',
}
},
table: {
width: 175
},
},
{
label: '是否可用',

3
src/views/qms/basicDataManage/inspectionTemplate/inspectionTemplate.data.ts

@ -89,8 +89,7 @@ export const InspectionTemplateMain = useCrudSchemas(reactive<CrudSchema[]>([
label: '动态修改规则',
field: 'dynamicUpdateName',
sort: 'custom',
},
,{
},{
label: '版本',
field: 'version',
sort: 'custom',

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

@ -30,7 +30,7 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
table: {
width: 165,
width: 200,
fixed: 'left'
}
},
@ -45,7 +45,7 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
table: {
width: 150
width: 200
}
},
{
@ -59,7 +59,7 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
table: {
width: 150
width: 175
}
},{
label: '供应商名称',
@ -67,7 +67,7 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: false,
table: {
width: 150
width: 175
},
form: {
componentProps:{
@ -95,7 +95,7 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: false,
table: {
width: 150
width: 175
},
form: {
componentProps:{
@ -188,7 +188,7 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
table: {
width: 150
width: 200
}
},
{
@ -324,7 +324,7 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -353,7 +353,7 @@ export const InspectionJobMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{

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

@ -16,7 +16,7 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
isForm:false,
table: {
width: 165,
width: 200,
fixed: 'left'
}
},
@ -27,7 +27,7 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
isForm:false,
table: {
width: 150
width: 200
}
},
{
@ -37,7 +37,7 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false,
isForm:false,
table: {
width: 150
width: 200
}
},
{
@ -47,7 +47,7 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false,
isForm:false,
table: {
width: 150
width: 200
}
},{
label: '供应商名称',
@ -56,7 +56,7 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false,
isForm:false,
table: {
width: 150
width: 200
},
form: {
componentProps:{
@ -86,7 +86,7 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false,
isForm:false,
table: {
width: 150
width: 200
},
form: {
componentProps:{
@ -111,7 +111,7 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false,
isForm:false,
table: {
width: 150
width: 200
}
},
{
@ -258,7 +258,7 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -287,7 +287,7 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -316,7 +316,7 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -345,7 +345,7 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -400,7 +400,7 @@ export const InspectionRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 170
width: 175
}
},

16
src/views/qms/inspection/inspectionRequest/inspectionMain.data.ts

@ -58,7 +58,7 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
table: {
width: 150
width: 175
}
},
{
@ -87,7 +87,7 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -115,7 +115,7 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -143,7 +143,7 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -171,7 +171,7 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -180,7 +180,7 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: false,
table: {
width: 150
width: 175
},
form:{
componentProps: {
@ -199,7 +199,7 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: false,
table: {
width: 150
width: 175
},
form:{
componentProps: {
@ -323,7 +323,7 @@ export const InspectionMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
table: {
width: 150
width: 175
}
},
// {

20
src/views/qms/qualityNotice/qualityNoticeMain.data.ts

@ -16,7 +16,7 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
isForm: false,
table: {
width: 150,
width: 200,
fixed: 'left'
}
},
@ -38,7 +38,7 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false,
isForm: false,
table: {
width: 150
width: 200
}
},
{
@ -48,7 +48,7 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: false,
isForm: false,
table: {
width: 150
width: 200
}
}, {
label: '优先级',
@ -121,7 +121,7 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -150,7 +150,7 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -179,7 +179,7 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -219,7 +219,7 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -248,7 +248,7 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -297,7 +297,7 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 150
width: 175
}
},
{
@ -312,7 +312,7 @@ export const QualityNoticeMain = useCrudSchemas(reactive<CrudSchema[]>([
value: 0
},
table: {
width: 150
width: 175
}
},
{

3
src/views/qms/sampleCode/sampleCode.data.ts

@ -106,6 +106,9 @@ export const SampleCode = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x',
}
},
table: {
width: 175
}
},
{
label: '是否可用',

22
src/views/qms/samplingProcess/samplingProcess.data.ts

@ -21,6 +21,7 @@ export const SamplingProcess = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true,
isForm: false,
table: {
width: 175,
fixed: 'left'
}
},
@ -29,6 +30,9 @@ export const SamplingProcess = useCrudSchemas(reactive<CrudSchema[]>([
field: 'description',
sort: 'custom',
isSearch: true,
table: {
width: 175
}
},
{
label: '取样类型',
@ -40,6 +44,9 @@ export const SamplingProcess = useCrudSchemas(reactive<CrudSchema[]>([
form: {
component: 'Select'
},
table: {
width: 140
}
},
{
label: '评估模式',
@ -50,16 +57,25 @@ export const SamplingProcess = useCrudSchemas(reactive<CrudSchema[]>([
form: {
component: 'Select'
},
table: {
width: 140
}
},
{
label: '样品量',
field: 'sampleSize',
sort: 'custom',
table: {
width: 140
}
},
{
label: '检验次数',
field: 'inspectionQty',
sort: 'custom',
table: {
width: 140
}
},
{
label: '采样方案编码',
@ -75,6 +91,9 @@ export const SamplingProcess = useCrudSchemas(reactive<CrudSchema[]>([
},
}
},
table: {
width: 175
}
},
{
label: '创建时间',
@ -94,6 +113,9 @@ export const SamplingProcess = useCrudSchemas(reactive<CrudSchema[]>([
valueFormat: 'x',
}
},
table: {
width: 175
}
},
{
label: '是否可用',

Loading…
Cancel
Save