diff --git a/src/views/qms/inspectionQ1/inspectionQ1.data.ts b/src/views/qms/inspectionQ1/inspectionQ1.data.ts index e4e396c42..39fc07837 100644 --- a/src/views/qms/inspectionQ1/inspectionQ1.data.ts +++ b/src/views/qms/inspectionQ1/inspectionQ1.data.ts @@ -63,8 +63,7 @@ export const Q1 = useCrudSchemas( field: 'customerCode', sort: 'custom', table: { - width: 150, - fixed: 'left' + width: 150 }, form: { // labelMessage: '信息提示说明!!!', @@ -145,7 +144,7 @@ export const Q1 = useCrudSchemas( label: '数量', field: 'qty', sort: 'custom', - isTable: false, + isTable: true, isSearch: false, table: { width: 150 @@ -184,6 +183,9 @@ export const Q1 = useCrudSchemas( dictClass: 'string', isSearch: false, isTable: true, + table: { + width: 180 + }, tableForm: { type: 'Select' } @@ -195,7 +197,7 @@ export const Q1 = useCrudSchemas( dictType: DICT_TYPE.QUALITY_NOTIFICATION_PRIORITY, dictClass: 'string', isSearch: false, - isTable: true, + isTable: false, tableForm: { type: 'Select' } @@ -205,7 +207,7 @@ export const Q1 = useCrudSchemas( field: 'responUser', sort: 'custom', isSearch: false, - isForm: true, + isForm: false, form: { componentProps: { value: userStore.getUser.nickname, @@ -232,7 +234,7 @@ export const Q1 = useCrudSchemas( }, { - label: '成本中心', + label: '成本中心代码', field: 'costCode', sort: 'custom', isSearch: false, @@ -274,7 +276,7 @@ export const Q1 = useCrudSchemas( dictType: DICT_TYPE.CLAIM_REASON, dictClass: 'string', isSearch: false, - isTable: true, + isTable: false, tableForm: { type: 'Select' } @@ -283,7 +285,7 @@ export const Q1 = useCrudSchemas( label: '索赔日期', field: 'claimTime', isSearch: false, - isTable: false, + isTable: true, table: { width: 180 }, diff --git a/src/views/qms/inspectionQ2/inspectionQ2.data.ts b/src/views/qms/inspectionQ2/inspectionQ2.data.ts index 84f67557c..55df4ad9f 100644 --- a/src/views/qms/inspectionQ2/inspectionQ2.data.ts +++ b/src/views/qms/inspectionQ2/inspectionQ2.data.ts @@ -112,7 +112,7 @@ export const Q2 = useCrudSchemas( } }, { - label: '供应商编码', + label: '供应商代码', field: 'supplierCode', sort: 'custom', 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: '单位', field: 'uom', @@ -214,6 +231,7 @@ export const Q2 = useCrudSchemas( label: '采购收货单号', field: 'purchaseReceiptNumber', sort: 'custom', + isTable: false, table: { width: 180 }, @@ -263,23 +281,7 @@ export const Q2 = useCrudSchemas( isTable: false, isDetail: false }, - { - label: '数量', - field: 'qty', - sort: 'custom', - isTable: false, - isSearch: false, - table: { - width: 150 - }, - form: { - component: 'InputNumber', - componentProps: { - min: 0, - precision: 2 - } - } - }, + { label: '编码', field: 'code', @@ -288,6 +290,9 @@ export const Q2 = useCrudSchemas( dictClass: 'string', isSearch: false, isTable: true, + table: { + width: 180 + }, tableForm: { type: 'Select' } @@ -300,7 +305,7 @@ export const Q2 = useCrudSchemas( dictType: DICT_TYPE.QUALITY_NOTIFICATION_PRIORITY, dictClass: 'string', isSearch: false, - isTable: true, + isTable: false, tableForm: { type: 'Select' } @@ -311,6 +316,9 @@ export const Q2 = useCrudSchemas( sort: 'custom', isSearch: false, isForm: true, + table: { + width: 120 + }, form: { componentProps: { value: userStore.getUser.nickname, @@ -340,7 +348,7 @@ export const Q2 = useCrudSchemas( field: 'costCode', sort: 'custom', isSearch: false, - isTable: true, + isTable: false, isForm: true, form: { // labelMessage: '信息提示说明!!!', @@ -375,7 +383,7 @@ export const Q2 = useCrudSchemas( { label: '索赔日期', field: 'claimTime', - isForm: false, + isTable: true, table: { width: 180 }, @@ -396,7 +404,7 @@ export const Q2 = useCrudSchemas( { label: '处理时间', field: 'handleTime', - isForm: false, + isTable: false, table: { width: 180 }, diff --git a/src/views/qms/inspectionQ3/inspectionQ3.data.ts b/src/views/qms/inspectionQ3/inspectionQ3.data.ts index b53a2c90b..ad671293b 100644 --- a/src/views/qms/inspectionQ3/inspectionQ3.data.ts +++ b/src/views/qms/inspectionQ3/inspectionQ3.data.ts @@ -173,7 +173,7 @@ export const Q3 = useCrudSchemas( label: '数量', field: 'qty', sort: 'custom', - isTable: false, + isTable: true, isSearch: false, table: { width: 150 @@ -223,7 +223,7 @@ export const Q3 = useCrudSchemas( dictType: DICT_TYPE.DEFECT_LOCATION, dictClass: 'string', isSearch: false, - isTable: true, + isTable: false, tableForm: { type: 'Select' } @@ -235,7 +235,7 @@ export const Q3 = useCrudSchemas( dictType: DICT_TYPE.DEFECT_TYPE, dictClass: 'string', isSearch: false, - isTable: true, + isTable: false, tableForm: { type: 'Select' } @@ -247,7 +247,7 @@ export const Q3 = useCrudSchemas( dictType: DICT_TYPE.PROBLEM_REASON, dictClass: 'string', isSearch: false, - isTable: true, + isTable: false, tableForm: { type: 'Select' } @@ -259,7 +259,7 @@ export const Q3 = useCrudSchemas( dictType: DICT_TYPE.QUALITY_NOTIFICATION_PRIORITY, dictClass: 'string', isSearch: false, - isTable: true, + isTable: false, tableForm: { type: 'Select' } @@ -270,6 +270,9 @@ export const Q3 = useCrudSchemas( sort: 'custom', isSearch: false, isForm: true, + table: { + width: 120 + }, form: { componentProps: { value: userStore.getUser.nickname,