解决条码重复判断的bug

This commit is contained in:
季圣华
2021-08-03 01:48:08 +08:00
parent 9bb54038e2
commit 9ce4bf9fe2

View File

@@ -583,7 +583,7 @@
validateBarCode(type, value, row, column, callback, target) {
let params = {
barCode: value,
id: row.id.length == 20?0: row.id
id: row.id.length >= 20?0: row.id
};
checkMaterialBarCode(params).then((res)=>{
if(res && res.code===200) {