|
|
@ -545,7 +545,7 @@ const submitForm = async () => { |
|
|
|
number += parseFloat(cur.sampleAmount) |
|
|
|
}) |
|
|
|
if(number != data.value.sampleTotalAmount){ |
|
|
|
message.error(`采样数量之和不等于采样总数量`) |
|
|
|
message.error(`采样数量之和必须等于采样总数量`) |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
@ -630,7 +630,7 @@ const submitForm = async () => { |
|
|
|
return; |
|
|
|
} |
|
|
|
if(isEmptyNumberList){ |
|
|
|
message.error('合格数量和不合格数量之和不等于检验数') |
|
|
|
message.error('合格数量和不合格数量之和必须等于检验次数') |
|
|
|
return; |
|
|
|
} |
|
|
|
if (formType.value == 'create') { |
|
|
|