暂时去掉数量控制

This commit is contained in:
mzr 2024-10-23 17:05:39 +08:00
parent 63d355129d
commit 76ccd21483
1 changed files with 9 additions and 9 deletions

View File

@ -2034,15 +2034,15 @@ export class ApplicationPage extends Component {
} }
}) })
let msg = '' let msg = ''
bodyList.forEach((row, i) => { // bodyList.forEach((row, i) => {
oldNum.forEach(old => { // oldNum.forEach(old => {
for (let key in old) { // for (let key in old) {
if (row.values[key].value * 1 > old[key].value * 1) { // if (row.values[key].value * 1 > old[key].value * 1) {
msg = '存在合格数量/不合格数量大于原数量,请检查' // msg = '不能大于原数量,请检查'
} // }
} // }
}) // })
}) // })
if (msg.length > 1) { if (msg.length > 1) {
toast({color: 'danger', content: msg}); toast({color: 'danger', content: msg});
return false return false