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