Browse Source

测试别的bug的时候,发现的报错,兼容了一下

hella_online_20240821
wangyufei 3 months ago
parent
commit
971464ec72
  1. 4
      src/views/qms/samplingProcess/index.vue

4
src/views/qms/samplingProcess/index.vue

@ -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) => {

Loading…
Cancel
Save