|
@ -359,7 +359,7 @@ const updateFormFields = (sampleType, formRef) => { |
|
|
SamplingProcessRules.sampleQty[0].required = sampleQtyRequired |
|
|
SamplingProcessRules.sampleQty[0].required = sampleQtyRequired |
|
|
SamplingProcessRules.sampleProgCode[0].required = sampleProgCodeRequired |
|
|
SamplingProcessRules.sampleProgCode[0].required = sampleProgCodeRequired |
|
|
|
|
|
|
|
|
formRef.value.setValues({ |
|
|
formRef?.value?.setValues({ |
|
|
sampleQty: '', |
|
|
sampleQty: '', |
|
|
sampleProgCode: '' |
|
|
sampleProgCode: '' |
|
|
}) |
|
|
}) |
|
@ -367,7 +367,7 @@ const updateFormFields = (sampleType, formRef) => { |
|
|
|
|
|
|
|
|
const openForm = async (type, row) => { |
|
|
const openForm = async (type, row) => { |
|
|
basicFormRef.value.open(type, row) |
|
|
basicFormRef.value.open(type, row) |
|
|
updateFormFields(row.sampleType, basicFormRef) |
|
|
updateFormFields(row?.sampleType, basicFormRef) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
const onChange = async (field, value, formRef) => { |
|
|
const onChange = async (field, value, formRef) => { |
|
|