Browse Source

BUG修改

hella_online_20240829
parent
commit
9b11af8a5a
  1. 18
      src/views/qms/inspectionQ1/inspectionQ1.data.ts
  2. 52
      src/views/qms/inspectionQ2/inspectionQ2.data.ts
  3. 13
      src/views/qms/inspectionQ3/inspectionQ3.data.ts

18
src/views/qms/inspectionQ1/inspectionQ1.data.ts

@ -63,8 +63,7 @@ export const Q1 = useCrudSchemas(
field: 'customerCode', field: 'customerCode',
sort: 'custom', sort: 'custom',
table: { table: {
width: 150, width: 150
fixed: 'left'
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -145,7 +144,7 @@ export const Q1 = useCrudSchemas(
label: '数量', label: '数量',
field: 'qty', field: 'qty',
sort: 'custom', sort: 'custom',
isTable: false, isTable: true,
isSearch: false, isSearch: false,
table: { table: {
width: 150 width: 150
@ -184,6 +183,9 @@ export const Q1 = useCrudSchemas(
dictClass: 'string', dictClass: 'string',
isSearch: false, isSearch: false,
isTable: true, isTable: true,
table: {
width: 180
},
tableForm: { tableForm: {
type: 'Select' type: 'Select'
} }
@ -195,7 +197,7 @@ export const Q1 = useCrudSchemas(
dictType: DICT_TYPE.QUALITY_NOTIFICATION_PRIORITY, dictType: DICT_TYPE.QUALITY_NOTIFICATION_PRIORITY,
dictClass: 'string', dictClass: 'string',
isSearch: false, isSearch: false,
isTable: true, isTable: false,
tableForm: { tableForm: {
type: 'Select' type: 'Select'
} }
@ -205,7 +207,7 @@ export const Q1 = useCrudSchemas(
field: 'responUser', field: 'responUser',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
isForm: true, isForm: false,
form: { form: {
componentProps: { componentProps: {
value: userStore.getUser.nickname, value: userStore.getUser.nickname,
@ -232,7 +234,7 @@ export const Q1 = useCrudSchemas(
}, },
{ {
label: '成本中心', label: '成本中心代码',
field: 'costCode', field: 'costCode',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
@ -274,7 +276,7 @@ export const Q1 = useCrudSchemas(
dictType: DICT_TYPE.CLAIM_REASON, dictType: DICT_TYPE.CLAIM_REASON,
dictClass: 'string', dictClass: 'string',
isSearch: false, isSearch: false,
isTable: true, isTable: false,
tableForm: { tableForm: {
type: 'Select' type: 'Select'
} }
@ -283,7 +285,7 @@ export const Q1 = useCrudSchemas(
label: '索赔日期', label: '索赔日期',
field: 'claimTime', field: 'claimTime',
isSearch: false, isSearch: false,
isTable: false, isTable: true,
table: { table: {
width: 180 width: 180
}, },

52
src/views/qms/inspectionQ2/inspectionQ2.data.ts

@ -112,7 +112,7 @@ export const Q2 = useCrudSchemas(
} }
}, },
{ {
label: '供应商码', label: '供应商码',
field: 'supplierCode', field: 'supplierCode',
sort: 'custom', sort: 'custom',
isSearch: true, isSearch: true,
@ -192,6 +192,23 @@ export const Q2 = useCrudSchemas(
} }
} }
}, },
{
label: '数量',
field: 'qty',
sort: 'custom',
isTable: true,
isSearch: false,
table: {
width: 150
},
form: {
component: 'InputNumber',
componentProps: {
min: 0,
precision: 2
}
}
},
{ {
label: '单位', label: '单位',
field: 'uom', field: 'uom',
@ -214,6 +231,7 @@ export const Q2 = useCrudSchemas(
label: '采购收货单号', label: '采购收货单号',
field: 'purchaseReceiptNumber', field: 'purchaseReceiptNumber',
sort: 'custom', sort: 'custom',
isTable: false,
table: { table: {
width: 180 width: 180
}, },
@ -263,23 +281,7 @@ export const Q2 = useCrudSchemas(
isTable: false, isTable: false,
isDetail: false isDetail: false
}, },
{
label: '数量',
field: 'qty',
sort: 'custom',
isTable: false,
isSearch: false,
table: {
width: 150
},
form: {
component: 'InputNumber',
componentProps: {
min: 0,
precision: 2
}
}
},
{ {
label: '编码', label: '编码',
field: 'code', field: 'code',
@ -288,6 +290,9 @@ export const Q2 = useCrudSchemas(
dictClass: 'string', dictClass: 'string',
isSearch: false, isSearch: false,
isTable: true, isTable: true,
table: {
width: 180
},
tableForm: { tableForm: {
type: 'Select' type: 'Select'
} }
@ -300,7 +305,7 @@ export const Q2 = useCrudSchemas(
dictType: DICT_TYPE.QUALITY_NOTIFICATION_PRIORITY, dictType: DICT_TYPE.QUALITY_NOTIFICATION_PRIORITY,
dictClass: 'string', dictClass: 'string',
isSearch: false, isSearch: false,
isTable: true, isTable: false,
tableForm: { tableForm: {
type: 'Select' type: 'Select'
} }
@ -311,6 +316,9 @@ export const Q2 = useCrudSchemas(
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
isForm: true, isForm: true,
table: {
width: 120
},
form: { form: {
componentProps: { componentProps: {
value: userStore.getUser.nickname, value: userStore.getUser.nickname,
@ -340,7 +348,7 @@ export const Q2 = useCrudSchemas(
field: 'costCode', field: 'costCode',
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
isTable: true, isTable: false,
isForm: true, isForm: true,
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -375,7 +383,7 @@ export const Q2 = useCrudSchemas(
{ {
label: '索赔日期', label: '索赔日期',
field: 'claimTime', field: 'claimTime',
isForm: false, isTable: true,
table: { table: {
width: 180 width: 180
}, },
@ -396,7 +404,7 @@ export const Q2 = useCrudSchemas(
{ {
label: '处理时间', label: '处理时间',
field: 'handleTime', field: 'handleTime',
isForm: false, isTable: false,
table: { table: {
width: 180 width: 180
}, },

13
src/views/qms/inspectionQ3/inspectionQ3.data.ts

@ -173,7 +173,7 @@ export const Q3 = useCrudSchemas(
label: '数量', label: '数量',
field: 'qty', field: 'qty',
sort: 'custom', sort: 'custom',
isTable: false, isTable: true,
isSearch: false, isSearch: false,
table: { table: {
width: 150 width: 150
@ -223,7 +223,7 @@ export const Q3 = useCrudSchemas(
dictType: DICT_TYPE.DEFECT_LOCATION, dictType: DICT_TYPE.DEFECT_LOCATION,
dictClass: 'string', dictClass: 'string',
isSearch: false, isSearch: false,
isTable: true, isTable: false,
tableForm: { tableForm: {
type: 'Select' type: 'Select'
} }
@ -235,7 +235,7 @@ export const Q3 = useCrudSchemas(
dictType: DICT_TYPE.DEFECT_TYPE, dictType: DICT_TYPE.DEFECT_TYPE,
dictClass: 'string', dictClass: 'string',
isSearch: false, isSearch: false,
isTable: true, isTable: false,
tableForm: { tableForm: {
type: 'Select' type: 'Select'
} }
@ -247,7 +247,7 @@ export const Q3 = useCrudSchemas(
dictType: DICT_TYPE.PROBLEM_REASON, dictType: DICT_TYPE.PROBLEM_REASON,
dictClass: 'string', dictClass: 'string',
isSearch: false, isSearch: false,
isTable: true, isTable: false,
tableForm: { tableForm: {
type: 'Select' type: 'Select'
} }
@ -259,7 +259,7 @@ export const Q3 = useCrudSchemas(
dictType: DICT_TYPE.QUALITY_NOTIFICATION_PRIORITY, dictType: DICT_TYPE.QUALITY_NOTIFICATION_PRIORITY,
dictClass: 'string', dictClass: 'string',
isSearch: false, isSearch: false,
isTable: true, isTable: false,
tableForm: { tableForm: {
type: 'Select' type: 'Select'
} }
@ -270,6 +270,9 @@ export const Q3 = useCrudSchemas(
sort: 'custom', sort: 'custom',
isSearch: false, isSearch: false,
isForm: true, isForm: true,
table: {
width: 120
},
form: { form: {
componentProps: { componentProps: {
value: userStore.getUser.nickname, value: userStore.getUser.nickname,

Loading…
Cancel
Save