Browse Source

检验次数检验提示

master_hella_20240701
zhang_li 7 months ago
parent
commit
7b349e86dd
  1. 4
      src/views/qms/inspection/inspectionJob/addForm.vue

4
src/views/qms/inspection/inspectionJob/addForm.vue

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

Loading…
Cancel
Save