diff --git a/src/views/qms/inspectionQ1/index.vue b/src/views/qms/inspectionQ1/index.vue index 9a217a668..cacbbaacf 100644 --- a/src/views/qms/inspectionQ1/index.vue +++ b/src/views/qms/inspectionQ1/index.vue @@ -187,6 +187,8 @@ nextTick(() => { handleTime: new Date().getTime(), claimTime: new Date().getTime(), priority: '3', + qty: 1, + claimAmount: 1,     })   }) } diff --git a/src/views/qms/inspectionQ1/inspectionQ1.data.ts b/src/views/qms/inspectionQ1/inspectionQ1.data.ts index 8e8742141..70c187da5 100644 --- a/src/views/qms/inspectionQ1/inspectionQ1.data.ts +++ b/src/views/qms/inspectionQ1/inspectionQ1.data.ts @@ -143,7 +143,7 @@ export const Q1 = useCrudSchemas( form: { component: 'InputNumber', componentProps: { - min: 1, + min: 0.01, precision: 2 } } @@ -213,9 +213,14 @@ export const Q1 = useCrudSchemas( width: 150 }, form: { - component: 'InputNumber' + component: 'InputNumber', + componentProps: { + min: 0.01, + precision: 2 + } } }, + { label: '成本中心', field: 'costCode', diff --git a/src/views/qms/inspectionQ2/index.vue b/src/views/qms/inspectionQ2/index.vue index bd8e6e19e..59644abb8 100644 --- a/src/views/qms/inspectionQ2/index.vue +++ b/src/views/qms/inspectionQ2/index.vue @@ -195,6 +195,8 @@ nextTick(() => { handleTime: new Date().getTime(), claimTime: new Date().getTime(), priority: '3', + qty: 1, + claimAmount: 1,     })   }) } diff --git a/src/views/qms/inspectionQ2/inspectionQ2.data.ts b/src/views/qms/inspectionQ2/inspectionQ2.data.ts index 718b6667e..87f63071f 100644 --- a/src/views/qms/inspectionQ2/inspectionQ2.data.ts +++ b/src/views/qms/inspectionQ2/inspectionQ2.data.ts @@ -234,7 +234,7 @@ export const Q2 = useCrudSchemas( form: { component: 'InputNumber', componentProps: { - min: 1, + min: 0.01, precision: 2 } } @@ -287,7 +287,11 @@ export const Q2 = useCrudSchemas( width: 150 }, form: { - component: 'InputNumber' + component: 'InputNumber', + componentProps: { + min: 0.01, + precision: 2 + } } }, { diff --git a/src/views/qms/inspectionQ3/index.vue b/src/views/qms/inspectionQ3/index.vue index 509f88af2..712d58db7 100644 --- a/src/views/qms/inspectionQ3/index.vue +++ b/src/views/qms/inspectionQ3/index.vue @@ -188,6 +188,8 @@ nextTick(() => {     basicFormRef.value.formRef.setValues({ handleTime: new Date().getTime(), priority: '3', + qty: 1, + amount: 1,     })   }) } diff --git a/src/views/qms/inspectionQ3/inspectionQ3.data.ts b/src/views/qms/inspectionQ3/inspectionQ3.data.ts index c5743323a..d85d32ae5 100644 --- a/src/views/qms/inspectionQ3/inspectionQ3.data.ts +++ b/src/views/qms/inspectionQ3/inspectionQ3.data.ts @@ -148,7 +148,7 @@ export const Q3 = useCrudSchemas( form: { component: 'InputNumber', componentProps: { - min: 1, + min: 0.01, precision: 2 } } @@ -254,7 +254,11 @@ export const Q3 = useCrudSchemas( width: 150 }, form: { - component: 'InputNumber' + component: 'InputNumber', + componentProps: { + min: 0.01, + precision: 2 + } } }, {